mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm reth-interfaces from payload basic (#8450)
This commit is contained in:
@ -19,7 +19,6 @@ reth-transaction-pool.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-payload-builder.workspace = true
|
||||
reth-tasks.workspace = true
|
||||
reth-interfaces.workspace = true
|
||||
reth-engine-primitives.workspace = true
|
||||
|
||||
# ethereum
|
||||
|
||||
@ -12,7 +12,6 @@ use crate::metrics::PayloadBuilderMetrics;
|
||||
use futures_core::ready;
|
||||
use futures_util::FutureExt;
|
||||
use reth_engine_primitives::{BuiltPayload, PayloadBuilderAttributes};
|
||||
use reth_interfaces::RethResult;
|
||||
use reth_payload_builder::{
|
||||
database::CachedReads, error::PayloadBuilderError, KeepPayloadJobAlive, PayloadId, PayloadJob,
|
||||
PayloadJobGenerator,
|
||||
@ -823,7 +822,7 @@ pub fn commit_withdrawals<DB: Database<Error = ProviderError>>(
|
||||
chain_spec: &ChainSpec,
|
||||
timestamp: u64,
|
||||
withdrawals: Withdrawals,
|
||||
) -> RethResult<WithdrawalsOutcome> {
|
||||
) -> Result<WithdrawalsOutcome, DB::Error> {
|
||||
if !chain_spec.is_shanghai_active_at_timestamp(timestamp) {
|
||||
return Ok(WithdrawalsOutcome::pre_shanghai())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user