Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandromazza98 committed Oct 9, 2023
1 parent 21a151e commit 39f1d69
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,12 @@ impl BundleStateWithReceipts {
/// # Example
///
/// ```
/// use reth_primitives::{Account, U256, Receipts};
/// use reth_primitives::{Account, U256, Receipts, revm_primitives::HashMap};
/// use reth_provider::BundleStateWithReceipts;
/// use reth_db::{test_utils::create_test_rw_db, database::Database};
/// use reth_revm_primitives::{db::states::bundle_state::BundleBuilder, into_revm_acc, primitives::HashMap};
/// use reth_revm_primitives::into_revm_acc;
/// use revm::db::states::BundleBuilder;
///
///
/// // Initialize the database
/// let db = create_test_rw_db();
Expand All @@ -133,7 +135,7 @@ impl BundleStateWithReceipts {
///
/// let bundle = BundleStateWithReceipts::new(
/// bundle_builder.build(),
/// vec![],
/// Receipts::default(),
/// 0,
/// );
///
Expand Down

0 comments on commit 39f1d69

Please sign in to comment.