Skip to content

Commit

Permalink
Slim down alloy in build
Browse files Browse the repository at this point in the history
  • Loading branch information
scrogson committed Aug 14, 2024
1 parent 6ef3d74 commit 7466e6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 103 deletions.
102 changes: 1 addition & 101 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1", features = ["test-util", "macros", "process"] }

[build-dependencies]
alloy = "0.2"
alloy-primitives = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ fn extract_bytecode(input_file: &str, output_file: &str) {
.unwrap()
.strip_prefix("0x")
.unwrap();
let bytecode = alloy::hex::decode(bytecode).unwrap();
let bytecode = alloy_primitives::hex::decode(bytecode).unwrap();
std::fs::write(output_file, bytecode).unwrap();
}

0 comments on commit 7466e6b

Please sign in to comment.