mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: Rename BlockLocked to SealedBlock (#573)
* chore: Rename BlockLocked to SealedBlock * chore: fmt Co-authored-by: Genysys <112424909+samtvlabs@users.noreply.github.com> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
use async_trait::async_trait;
|
||||
use reth_primitives::{BlockHash, BlockLocked, BlockNumber, SealedHeader, H256};
|
||||
use reth_primitives::{BlockHash, BlockNumber, SealedBlock, SealedHeader, H256};
|
||||
use tokio::sync::watch::Receiver;
|
||||
|
||||
/// Re-export forkchoice state
|
||||
@ -24,7 +24,7 @@ pub trait Consensus: Send + Sync {
|
||||
/// 11.1 "Ommer Validation".
|
||||
///
|
||||
/// **This should not be called for the genesis block**.
|
||||
fn pre_validate_block(&self, block: &BlockLocked) -> Result<(), Error>;
|
||||
fn pre_validate_block(&self, block: &SealedBlock) -> Result<(), Error>;
|
||||
|
||||
/// After the Merge (aka Paris) block rewards became obsolete.
|
||||
/// This flag is needed as reth change set is indexed of transaction granularity
|
||||
|
||||
Reference in New Issue
Block a user