feat: alloy-evm and new revm integration (#14021)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: rakita <rakita@users.noreply.github.com>
This commit is contained in:
Arsenii Kulikov
2025-02-17 23:59:23 +04:00
committed by GitHub
parent bb6dec7ceb
commit 336c3d1fac
142 changed files with 1841 additions and 1929 deletions

View File

@ -21,8 +21,9 @@ reth-zstd-compressors = { workspace = true, optional = true }
alloy-primitives.workspace = true
alloy-consensus.workspace = true
alloy-rlp.workspace = true
alloy-eips.workspace = true
revm-primitives = { workspace = true, optional = true }
alloy-eips = { workspace = true, features = ["k256"] }
revm-context.workspace = true
revm-optimism.workspace = true
secp256k1 = { workspace = true, optional = true }
# op
@ -64,13 +65,14 @@ std = [
"serde?/std",
"bytes?/std",
"derive_more/std",
"revm-primitives?/std",
"secp256k1?/std",
"alloy-rlp/std",
"reth-zstd-compressors?/std",
"op-alloy-consensus/std",
"revm-optimism/std",
"alloy-rpc-types-eth?/std",
"alloy-serde?/std",
"revm-context/std",
]
alloy-compat = ["dep:alloy-network", "dep:alloy-serde", "dep:alloy-rpc-types-eth"]
reth-codec = [
@ -93,9 +95,10 @@ serde = [
"reth-codecs?/serde",
"op-alloy-consensus/serde",
"rand?/serde",
"revm-primitives?/serde",
"secp256k1?/serde",
"revm-optimism/serde",
"alloy-rpc-types-eth?/serde",
"revm-context/serde",
]
serde-bincode-compat = [
"alloy-consensus/serde-bincode-compat",
@ -114,12 +117,8 @@ arbitrary = [
"alloy-consensus/arbitrary",
"alloy-eips/arbitrary",
"alloy-primitives/arbitrary",
"revm-primitives?/arbitrary",
"rand",
"alloy-rpc-types-eth?/arbitrary",
"alloy-serde?/arbitrary",
]
optimism = [
"dep:revm-primitives",
"revm-primitives/optimism",
]
optimism = []