pub trait OptimismContextTrait {
// Required methods
fn l1_block_info(&self) -> Option<&L1BlockInfo>;
fn l1_block_info_mut(&mut self) -> &mut Option<L1BlockInfo>;
}
Required Methods§
Sourcefn l1_block_info(&self) -> Option<&L1BlockInfo>
fn l1_block_info(&self) -> Option<&L1BlockInfo>
A reference to the cached L1 block info.
Sourcefn l1_block_info_mut(&mut self) -> &mut Option<L1BlockInfo>
fn l1_block_info_mut(&mut self) -> &mut Option<L1BlockInfo>
A mutable reference to the cached L1 block info.