Skip to content

Commit

Permalink
getter for field of (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandromazza98 authored Oct 11, 2023
1 parent b5aa4c9 commit dcd0d13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/revm/src/db/states/bundle_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ impl BundleBuilder {
reverts_size,
}
}

/// Getter for `states` field
pub fn get_states(&self) -> &HashSet<Address> {
&self.states
}
}

/// Bundle retention policy for applying substate to the bundle.
Expand Down

0 comments on commit dcd0d13

Please sign in to comment.