mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Add Withdrawals struct (#6267)
This commit is contained in:
@ -8,8 +8,8 @@ use reth_db::{
|
||||
};
|
||||
use reth_primitives::{
|
||||
keccak256, Account as RethAccount, Address, Bloom, Bytecode, Bytes, ChainSpec,
|
||||
ChainSpecBuilder, Header as RethHeader, JsonU256, SealedHeader, StorageEntry, Withdrawal, B256,
|
||||
B64, U256,
|
||||
ChainSpecBuilder, Header as RethHeader, JsonU256, SealedHeader, StorageEntry, Withdrawals,
|
||||
B256, B64, U256,
|
||||
};
|
||||
use serde::{self, Deserialize};
|
||||
use std::{collections::BTreeMap, ops::Deref};
|
||||
@ -131,7 +131,7 @@ pub struct Block {
|
||||
/// Transaction Sequence
|
||||
pub transaction_sequence: Option<Vec<TransactionSequence>>,
|
||||
/// Withdrawals
|
||||
pub withdrawals: Option<Vec<Withdrawal>>,
|
||||
pub withdrawals: Option<Withdrawals>,
|
||||
}
|
||||
|
||||
/// Transaction sequence in block
|
||||
|
||||
Reference in New Issue
Block a user