mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: local engine (#10803)
This commit is contained in:
@ -20,6 +20,7 @@ reth-errors.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-payload-primitives.workspace = true
|
||||
reth-ethereum-engine-primitives.workspace = true
|
||||
reth-chain-state = { workspace = true, optional = true }
|
||||
|
||||
# alloy
|
||||
alloy-primitives.workspace = true
|
||||
@ -42,4 +43,4 @@ tracing.workspace = true
|
||||
revm.workspace = true
|
||||
|
||||
[features]
|
||||
test-utils = []
|
||||
test-utils = ["reth-chain-state"]
|
||||
|
||||
@ -6,6 +6,7 @@ use crate::{
|
||||
PayloadJobGenerator,
|
||||
};
|
||||
use alloy_primitives::U256;
|
||||
use reth_chain_state::ExecutedBlock;
|
||||
use reth_payload_primitives::PayloadTypes;
|
||||
use reth_primitives::Block;
|
||||
use reth_provider::CanonStateNotification;
|
||||
@ -87,7 +88,7 @@ impl PayloadJob for TestPayloadJob {
|
||||
self.attr.payload_id(),
|
||||
Block::default().seal_slow(),
|
||||
U256::ZERO,
|
||||
None,
|
||||
Some(ExecutedBlock::default()),
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user