revm_context_interface::context

Trait PerformantContextAccess

Source
pub trait PerformantContextAccess {
    type Error;

    // Required method
    fn load_access_list(&mut self) -> Result<(), Self::Error>;
}
Expand description

Some actions on top of context with just Getter traits would require borrowing the context with a both mutable and immutable reference.

To allow doing this action more efficiently, we introduce a new trait that does this directly.

Used for loading access list and applying EIP-7702 authorization list.

Required Associated Types§

Required Methods§

Source

fn load_access_list(&mut self) -> Result<(), Self::Error>

Load access list

Implementors§