pub trait HashedPostStateProvider {
// Required method
fn hashed_post_state(
&self,
bundle_state: &BundleState,
) -> ProviderResult<HashedPostState>;
}Expand description
Trait that provides the hashed state from various sources.
Required Methods§
Sourcefn hashed_post_state(
&self,
bundle_state: &BundleState,
) -> ProviderResult<HashedPostState>
fn hashed_post_state( &self, bundle_state: &BundleState, ) -> ProviderResult<HashedPostState>
Returns the [HashedPostState] of the provided [BundleState], materializing zero-valued
updates for parent storage of accounts that were destroyed but remain in the post-state.
Providers backed by an exact parent-state view also materialize terminally destroyed accounts with explicit zero-valued storage updates.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".