mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(primitives): add Receipts to encapsulate Vec<Vec<Option<Receipt>> (#4626)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -6,7 +6,9 @@ use reth_db::{
|
||||
transaction::{DbTx, DbTxMut},
|
||||
};
|
||||
use reth_interfaces::{db::DatabaseError, RethError};
|
||||
use reth_primitives::{stage::StageId, Account, Bytecode, ChainSpec, StorageEntry, H256, U256};
|
||||
use reth_primitives::{
|
||||
stage::StageId, Account, Bytecode, ChainSpec, Receipts, StorageEntry, H256, U256,
|
||||
};
|
||||
use reth_provider::{
|
||||
bundle_state::{BundleStateInit, RevertsInit},
|
||||
BundleStateWithReceipts, DatabaseProviderRW, HashingWriter, HistoryWriter, OriginalValuesKnown,
|
||||
@ -145,7 +147,7 @@ pub fn insert_genesis_state<DB: Database>(
|
||||
state_init,
|
||||
all_reverts_init,
|
||||
contracts.into_iter().collect(),
|
||||
vec![],
|
||||
Receipts::new(),
|
||||
0,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user