revm_context_interface/
context.rs

1
2
3
4
5
6
7
8
9
10
11
12
/// 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.
pub trait PerformantContextAccess {
    type Error;

    /// Load access list
    fn load_access_list(&mut self) -> Result<(), Self::Error>;
}