chore(payload): replace reth_primitives with alloy_primitives (#11030)

Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
This commit is contained in:
Abhishek kochar
2024-09-19 19:23:38 +08:00
committed by GitHub
parent 03e89b1af6
commit f9abc8a35c
11 changed files with 25 additions and 13 deletions

View File

@ -24,6 +24,7 @@ reth-tasks.workspace = true
# ethereum
alloy-rlp.workspace = true
alloy-primitives.workspace = true
revm.workspace = true
# async

View File

@ -9,6 +9,7 @@
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
use crate::metrics::PayloadBuilderMetrics;
use alloy_primitives::{Bytes, B256, U256};
use futures_core::ready;
use futures_util::FutureExt;
use reth_chainspec::{ChainSpec, EthereumHardforks};
@ -19,7 +20,7 @@ use reth_payload_builder::{
use reth_payload_primitives::{BuiltPayload, PayloadBuilderAttributes};
use reth_primitives::{
constants::{EMPTY_WITHDRAWALS, RETH_CLIENT_VERSION, SLOT_DURATION},
proofs, BlockNumberOrTag, Bytes, SealedBlock, Withdrawals, B256, U256,
proofs, BlockNumberOrTag, SealedBlock, Withdrawals,
};
use reth_provider::{
BlockReaderIdExt, BlockSource, CanonStateNotification, ProviderError, StateProviderFactory,