Skip to content

Commit 35839b0

Browse files
fix: extract contract deployed bytecode (#55)
* fix: extract contract deployed bytecode * chore: format code * chore: format code * fix: update CI Run Clippy * chore: update flake.lock * fix: update bytecode * chore: update version * fix: debugging bytecode linking * fix: updating bytecode linking * fix: clean up test formatting and remove unnecessary conversions * feat: add dev dependencies for testing * fix: use creation bytecode for deployment * feat: add tests directory * chore: format code --------- Co-authored-by: Shady Khalifa <[email protected]>
1 parent 4332d51 commit 35839b0

32 files changed

+250
-126
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ jobs:
6262
sudo apt-get install -y protobuf-compiler libprotobuf-dev libgmp-dev
6363
6464
- name: Run Clippy
65-
run: cargo clippy --tests --examples -- -D warnings
65+
run: cargo clippy --tests --examples --features build-script -- -D warnings

Cargo.lock

Lines changed: 38 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "eigenlayer-contract-deployer"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "A library that contains Rust bindings for contracts and tools for deploying contracts"
55
authors = ["Tangle Network"]
66
edition = "2024"
@@ -52,3 +52,8 @@ tracing = { version = "0.1.41" }
5252
[features]
5353
default = []
5454
build-script = []
55+
56+
[dev-dependencies]
57+
# Spawn and control a local anvil node in tests (requires `anvil` binary at runtime)
58+
alloy = { version = "1.0", features = ["node-bindings"] }
59+
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

flake.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
};
1212
};
1313
foundry = {
14-
url = "github:shazow/foundry.nix/main";
14+
url = "github:shazow/foundry.nix/stable";
1515
inputs = {
1616
nixpkgs.follows = "nixpkgs";
1717
flake-utils.follows = "flake-utils";

src/bindings/core/allocation_manager.rs

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

src/bindings/core/avs_directory.rs

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

src/bindings/core/bls_apk_registry.rs

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

src/bindings/core/delegation_manager.rs

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

src/bindings/core/eigen_pod.rs

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)