pub enum BalProbe {
Verified {
block: u64,
accounts: usize,
hash: B256,
},
NoHashInHeader {
block: u64,
accounts: usize,
},
Mismatch {
block: u64,
computed: B256,
expected: B256,
},
Missing(u64),
Error(String),
}Expand description
Outcome of fetching one block’s BAL and checking it against its header.
Variants§
Verified
BAL served and keccak(rlp(bal)) == header.blockAccessListHash.
NoHashInHeader
BAL served but the header has no hash field (pre-fork block or client gap).
Mismatch
BAL served, hash differs: codec/spec drift. Nothing should be built on this.
Fields
Missing(u64)
eth_getBlockAccessList returned null.
Error(String)
Transport or decoding failure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BalProbe
impl RefUnwindSafe for BalProbe
impl Send for BalProbe
impl Sync for BalProbe
impl Unpin for BalProbe
impl UnsafeUnpin for BalProbe
impl UnwindSafe for BalProbe
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more