Finish Ethereum ScannerFeed

This commit is contained in:
Luke Parker
2024-09-19 02:41:07 -04:00
parent 1367e41510
commit 855e53164e
7 changed files with 126 additions and 247 deletions

View File

@@ -20,8 +20,6 @@ pub(crate) struct Epoch {
pub(crate) start: u64,
// The hash of the last block within this Epoch.
pub(crate) end_hash: [u8; 32],
// The monotonic time for this Epoch.
pub(crate) time: u64,
}
impl Epoch {
@@ -42,9 +40,9 @@ impl primitives::BlockHeader for Epoch {
#[derive(Clone, PartialEq, Eq, Debug)]
pub(crate) struct FullEpoch {
epoch: Epoch,
instructions: Vec<EthereumInInstruction>,
executed: Vec<Executed>,
pub(crate) epoch: Epoch,
pub(crate) instructions: Vec<EthereumInInstruction>,
pub(crate) executed: Vec<Executed>,
}
impl primitives::Block for FullEpoch {