From 5663ca83448609523bdaf984fdf3560d4ff451e6 Mon Sep 17 00:00:00 2001 From: alessandromazza Date: Wed, 11 Oct 2023 11:17:38 +0200 Subject: [PATCH] getter for field of --- crates/revm/src/db/states/bundle_state.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/revm/src/db/states/bundle_state.rs b/crates/revm/src/db/states/bundle_state.rs index 4c2afd55d9..b2f9873e42 100644 --- a/crates/revm/src/db/states/bundle_state.rs +++ b/crates/revm/src/db/states/bundle_state.rs @@ -223,6 +223,11 @@ impl BundleBuilder { reverts_size, } } + + /// Getter for `states` field + pub fn get_states(&self) -> &HashSet
{ + &self.states + } } /// Bundle retention policy for applying substate to the bundle.