primitives: replace primitive Withdrawals with alloy (#12119)

Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-11-09 08:55:06 +01:00
committed by GitHub
parent b5fce61738
commit d2f494bd88
7 changed files with 41 additions and 92 deletions

View File

@ -1,3 +1,4 @@
use alloy_eips::eip4895::Withdrawals;
use alloy_primitives::{hex, private::getrandom::getrandom, PrimitiveSignature, TxKind};
use arbitrary::Arbitrary;
use eyre::{Context, Result};
@ -22,7 +23,7 @@ use reth_db::{
use reth_fs_util as fs;
use reth_primitives::{
Account, Log, LogData, Receipt, ReceiptWithBloom, StorageEntry, Transaction,
TransactionSignedNoHash, TxType, Withdrawals,
TransactionSignedNoHash, TxType,
};
use reth_prune_types::{PruneCheckpoint, PruneMode};
use reth_stages_types::{
@ -75,7 +76,6 @@ compact_types!(
// reth-primitives
Account,
Receipt,
Withdrawals,
ReceiptWithBloom,
// reth_codecs::alloy
Authorization,
@ -83,6 +83,7 @@ compact_types!(
Header,
HeaderExt,
Withdrawal,
Withdrawals,
TxEip2930,
TxEip1559,
TxEip4844,