diff --git a/core/store/src/trie/insert_delete.rs b/core/store/src/trie/insert_delete.rs
index 64ec0c45712..a80ad46dfca 100644
--- a/core/store/src/trie/insert_delete.rs
+++ b/core/store/src/trie/insert_delete.rs
@@ -1,4 +1,5 @@
use super::TrieRefcountDeltaMap;
+use crate::trie::mem::updating::GenericTrieUpdate;
use crate::trie::nibble_slice::NibbleSlice;
use crate::trie::{
Children, NodeHandle, RawTrieNode, RawTrieNodeWithSize, StorageHandle, StorageValueHandle,
@@ -11,7 +12,7 @@ use near_primitives::state::{ValueRef, ValueUpdate};
pub(crate) struct NodesStorage<'a> {
nodes: Vec