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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more