Skip to content

Commit 37ab649

Browse files
committed
fix
1 parent 5f5dd91 commit 37ab649

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/state/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ mod tests {
509509

510510
#[test]
511511
fn test_account_with_storage() {
512-
let mut storage = HashMap::default();
512+
let mut storage = HashMap::<StorageKey, EvmStorageSlot>::default();
513513
let key1 = StorageKey::from(1);
514514
let key2 = StorageKey::from(2);
515515
let slot1 = EvmStorageSlot::new(StorageValue::from(10), 0);
@@ -621,7 +621,7 @@ mod tests {
621621

622622
let slot_key = StorageKey::from(42);
623623
let slot_value = EvmStorageSlot::new(StorageValue::from(123), 0);
624-
let mut storage = HashMap::default();
624+
let mut storage = HashMap::<StorageKey, EvmStorageSlot>::default();
625625
storage.insert(slot_key, slot_value.clone());
626626

627627
// Chain multiple builder methods together

0 commit comments

Comments
 (0)