Skip to content

Commit

Permalink
chore: re-export stateroot fns (#1753)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Dec 5, 2024
1 parent fb94efe commit 7cf3646
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/consensus/src/proofs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ use alloy_primitives::{keccak256, B256};
use alloy_rlp::Encodable;
use alloy_trie::root::{ordered_trie_root, ordered_trie_root_with_encoder};

#[doc(inline)]
pub use alloy_trie::root::{
state_root, state_root_ref_unhashed, state_root_unhashed, state_root_unsorted,
};

/// Calculate a transaction root.
///
/// `(rlp(index), encoded(tx))` pairs.
Expand Down

0 comments on commit 7cf3646

Please sign in to comment.