Implement Compact for Withdrawal (#7604)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
jn
2024-04-23 02:15:53 -07:00
committed by GitHub
parent a2027c817f
commit b9db4cb61b
3 changed files with 69 additions and 3 deletions

View File

@ -11,18 +11,21 @@ repository.workspace = true
workspace = true
[dependencies]
# reth
reth-codecs-derive = { path = "./derive", default-features = false }
# eth
alloy-eips = { workspace = true, optional = true }
alloy-primitives.workspace = true
# misc
bytes.workspace = true
modular-bitfield = { workspace = true, optional = true }
serde.workspace = true
[dev-dependencies]
alloy-eips = { workspace = true, default-features = false, features = ["arbitrary", "serde"] }
alloy-primitives = { workspace = true, features = ["arbitrary", "serde"] }
serde.workspace = true
modular-bitfield.workspace = true
test-fuzz.workspace = true
serde_json.workspace = true
@ -33,5 +36,5 @@ proptest-derive.workspace = true
[features]
default = ["std", "alloy"]
std = ["alloy-primitives/std", "bytes/std"]
alloy = ["alloy-eips"]
alloy = ["dep:alloy-eips", "dep:modular-bitfield"]
optimism = ["reth-codecs-derive/optimism"]