Skip to content

Commit

Permalink
chore(state): make State::apply_transition pub (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk authored Oct 24, 2023
1 parent 47b38af commit 0daae7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/revm/src/db/states/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl<DB: Database> State<DB> {
}

/// Apply evm transitions to transition state.
fn apply_transition(&mut self, transitions: Vec<(Address, TransitionAccount)>) {
pub fn apply_transition(&mut self, transitions: Vec<(Address, TransitionAccount)>) {
// add transition to transition state.
if let Some(s) = self.transition_state.as_mut() {
s.add_transitions(transitions)
Expand Down

0 comments on commit 0daae7e

Please sign in to comment.