chore: rm reth-interfaces from payload basic (#8450)

This commit is contained in:
Matthias Seitz
2024-05-29 00:34:22 +02:00
committed by GitHub
parent 76b32c8b5f
commit 7843ce9949
3 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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())
}