Skip to content

Commit

Permalink
change set to pub for cache field in CachedState struct
Browse files Browse the repository at this point in the history
  • Loading branch information
raefko committed Oct 16, 2023
1 parent 03bfc09 commit 085abc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/cached_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub const UNINITIALIZED_CLASS_HASH: &ClassHash = b"\x00\x00\x00\x00\x00\x00\x00\
#[derive(Default, Clone, Debug, Eq, Getters, MutGetters, PartialEq)]
pub struct CachedState<T: StateReader> {
pub state_reader: Arc<T>,
#[getset(get = "pub", get_mut = "pub")]
#[getset(set = "pub", get = "pub", get_mut = "pub")]
pub(crate) cache: StateCache,
#[get = "pub"]
pub(crate) contract_classes: Option<ContractClassCache>,
Expand Down

0 comments on commit 085abc2

Please sign in to comment.