Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reth-trie no_std case hashmap #13442

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/trie/db/src/prefix_set.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use alloy_primitives::{BlockNumber, B256};
use alloy_primitives::{BlockNumber, B256, map::{HashMap, HashSet}};
use derive_more::Deref;
use reth_db::tables;
use reth_db_api::{
Expand All @@ -13,7 +13,6 @@ use reth_trie::{
KeyHasher, Nibbles,
};
use std::{
collections::{HashMap, HashSet},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can also be core now

marker::PhantomData,
ops::RangeInclusive,
};
Expand Down
4 changes: 1 addition & 3 deletions crates/trie/db/src/storage.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use std::collections::hash_map;

use crate::{DatabaseHashedCursorFactory, DatabaseTrieCursorFactory};
use alloy_primitives::{keccak256, Address, BlockNumber, B256};
use alloy_primitives::{keccak256, Address, BlockNumber, B256, map::hash_map};
use reth_db::{cursor::DbCursorRO, models::BlockNumberAddress, tables, DatabaseError};
use reth_db_api::transaction::DbTx;
use reth_execution_errors::StorageRootError;
Expand Down
Loading