Skip to content

Commit

Permalink
add implementation for StateRootProvider for StateProviderTest (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger authored Oct 19, 2023
1 parent 7ca3db8 commit 38e0d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/revm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ revm.workspace = true

# common
tracing.workspace = true

2 changes: 1 addition & 1 deletion crates/revm/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ mod tests {

impl StateRootProvider for StateProviderTest {
fn state_root(&self, _bundle_state: &BundleStateWithReceipts) -> RethResult<B256> {
todo!()
unimplemented!("state root computation is not supported")
}
}

Expand Down

0 comments on commit 38e0d5a

Please sign in to comment.