pub type ContextUpdateFor<F> = ContextUpdate<<F as FoundryEvmFactory>::Chain>;Available on crate feature
monad only.Expand description
Transaction-context update required after a fork operation, for a given FoundryEvmFactory.
Only Monad’s family-owned chain context needs to observe fork operations; every other network
has no use for this signal, so it collapses to () without the monad feature.
Aliased Type§
pub enum ContextUpdateFor<F> {
Unchanged,
Replace(<F as FoundryEvmFactory>::Chain),
Rebase,
}Variants§
Unchanged
The operation did not change the active chain cursor or outer journal state.
Replace(<F as FoundryEvmFactory>::Chain)
The active fork cursor changed and provides replacement chain context.
Rebase
The outer journal changed while the active chain context remained unchanged.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.