Skip to content
Draft
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
1 change: 1 addition & 0 deletions rust/Cargo.lock

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

1 change: 1 addition & 0 deletions rust/op-reth/crates/trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ reth-evm-ethereum.workspace = true
reth-storage-errors.workspace = true
secp256k1 = { workspace = true, features = ["rand", "std"] }
mockall.workspace = true
rstest.workspace = true
eyre.workspace = true

# misc
Expand Down
2 changes: 1 addition & 1 deletion rust/op-reth/crates/trie/src/engine/buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
#[cfg(feature = "metrics")]
mod metrics;
pub(super) mod overlay;
pub(super) mod state;
pub(crate) mod state;
2 changes: 1 addition & 1 deletion rust/op-reth/crates/trie/src/engine/buffer/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl TrieBufferState {
}

/// Insert a block into the buffer.
pub(in crate::engine) fn insert(&self, block: BlockWithParent, diff: BlockStateDiff) {
pub(crate) fn insert(&self, block: BlockWithParent, diff: BlockStateDiff) {
self.inner.insert(block, diff);
}

Expand Down
2 changes: 1 addition & 1 deletion rust/op-reth/crates/trie/src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! handle, in-flight tracking) and processes engine action messages one at
//! a time, which structurally enforces the serial-call invariant.

mod buffer;
pub(crate) mod buffer;
pub mod persistence;
mod tasks;

Expand Down
3 changes: 3 additions & 0 deletions rust/op-reth/crates/trie/src/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,3 +432,6 @@ where
.compute(target)
}
}

#[cfg(test)]
mod tests;
Loading
Loading