mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove executed_block from EthBuiltPayload (#14017)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -67,7 +67,7 @@
|
||||
//! },
|
||||
//! ..Default::default()
|
||||
//! };
|
||||
//! let payload = EthBuiltPayload::new(self.attributes.id, Arc::new(SealedBlock::seal_slow(block)), U256::ZERO, None, None);
|
||||
//! let payload = EthBuiltPayload::new(self.attributes.id, Arc::new(SealedBlock::seal_slow(block)), U256::ZERO, None);
|
||||
//! Ok(payload)
|
||||
//! }
|
||||
//!
|
||||
|
||||
@ -6,7 +6,7 @@ use crate::{
|
||||
};
|
||||
|
||||
use alloy_primitives::U256;
|
||||
use reth_chain_state::{CanonStateNotification, ExecutedBlockWithTrieUpdates};
|
||||
use reth_chain_state::CanonStateNotification;
|
||||
use reth_payload_builder_primitives::PayloadBuilderError;
|
||||
use reth_payload_primitives::{PayloadKind, PayloadTypes};
|
||||
use reth_primitives::Block;
|
||||
@ -90,7 +90,6 @@ impl PayloadJob for TestPayloadJob {
|
||||
self.attr.payload_id(),
|
||||
Arc::new(Block::default().seal_slow()),
|
||||
U256::ZERO,
|
||||
Some(ExecutedBlockWithTrieUpdates::default()),
|
||||
Some(Default::default()),
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user