Skip to content

Commit f3c96f1

Browse files
authored
refactor(anvil): promote anvil's envelope type to foundry-primitives crate (#12691)
1 parent a063402 commit f3c96f1

File tree

15 files changed

+552
-496
lines changed

15 files changed

+552
-496
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ members = [
2121
"crates/evm/traces/",
2222
"crates/fmt/",
2323
"crates/forge/",
24-
"crates/script-sequence/",
24+
"crates/lint/",
2525
"crates/macros/",
26+
"crates/primitives/",
27+
"crates/script-sequence/",
2628
"crates/test-utils/",
27-
"crates/lint/",
2829
]
2930
resolver = "2"
3031

@@ -220,6 +221,7 @@ foundry-macros = { path = "crates/macros" }
220221
foundry-test-utils = { path = "crates/test-utils" }
221222
foundry-wallets = { path = "crates/wallets" }
222223
foundry-linking = { path = "crates/linking" }
224+
foundry-primitives = { path = "crates/primitives" }
223225

224226
# solc & compilation utilities
225227
foundry-block-explorers = { version = "0.22.0", default-features = false }

crates/anvil/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ foundry-common.workspace = true
2828
foundry-config.workspace = true
2929
foundry-evm.workspace = true
3030
foundry-evm-networks.workspace = true
31+
foundry-primitives.workspace = true
3132

3233
# alloy
3334
alloy-evm = { workspace = true, features = ["call-util"] }

crates/anvil/core/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ workspace = true
1515
[dependencies]
1616
foundry-common.workspace = true
1717
foundry-evm.workspace = true
18+
foundry-primitives.workspace = true
1819
revm = { workspace = true, default-features = false, features = [
1920
"std",
2021
"serde",
2122
"memory_limit",
2223
"c-kzg",
2324
] }
24-
op-revm.workspace = true
2525

2626
alloy-primitives = { workspace = true, features = ["serde", "rlp"] }
2727
alloy-rpc-types = { workspace = true, features = ["anvil", "trace"] }
@@ -33,7 +33,6 @@ alloy-consensus = { workspace = true, features = ["k256", "kzg"] }
3333
alloy-dyn-abi = { workspace = true, features = ["std", "eip712"] }
3434
op-alloy-consensus = { workspace = true, features = ["serde"] }
3535
alloy-network.workspace = true
36-
alloy-evm.workspace = true
3736
serde.workspace = true
3837
serde_json.workspace = true
3938
bytes.workspace = true

0 commit comments

Comments
 (0)