Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions crates/optimism/exex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ reth-node-api.workspace = true
reth-provider.workspace = true
reth-chainspec.workspace = true

# for ethereum types, `serde-bincode-compat` is added by `reth-storage-api`, however this does not work with `op` until
# `reth-storage-api` is updated to support `op`, so we add it here.
reth-optimism-primitives = { workspace = true, features = ["reth-codec", "serde-bincode-compat", "serde"] }

# ethereum
alloy-primitives.workspace = true

# op-reth
reth-optimism-trie.workspace = true
# serde-bincode-compat is needed since exex is a dep of stages and stages uses bincode dep
reth-optimism-primitives = { workspace = true, features = ["reth-codec", "serde-bincode-compat"] }
# proofs exex handles `TrieUpdates` in notifications
reth-optimism-trie = { workspace = true, features = ["serde-bincode-compat"] }

# misc
eyre.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crates/optimism/trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ test-case.workspace = true
reth-db = { workspace = true, features = ["test-utils"] }
reth-trie = { workspace = true, features = ["test-utils"] }
tempfile.workspace = true

[features]
serde-bincode-compat = [
"reth-primitives-traits/serde-bincode-compat",
"reth-trie/serde-bincode-compat",
]
7 changes: 7 additions & 0 deletions crates/trie/trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ test-utils = [
"reth-trie-sparse/test-utils",
"reth-stages-types/test-utils",
]
serde-bincode-compat = [
"alloy-consensus/serde-bincode-compat",
"alloy-eips/serde-bincode-compat",
"reth-ethereum-primitives/serde-bincode-compat",
"reth-primitives-traits/serde-bincode-compat",
"reth-trie-common/serde-bincode-compat",
]

[[bench]]
name = "hash_post_state"
Expand Down
Loading