mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(payload): replace reth_primitives with alloy_primitives (#11030)
Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
This commit is contained in:
@ -24,6 +24,7 @@ reth-tasks.workspace = true
|
||||
|
||||
# ethereum
|
||||
alloy-rlp.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
revm.workspace = true
|
||||
|
||||
# async
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user