diff --git a/crates/storage/rpc-provider/src/lib.rs b/crates/storage/rpc-provider/src/lib.rs index 6b441d8dc6..81b3a04243 100644 --- a/crates/storage/rpc-provider/src/lib.rs +++ b/crates/storage/rpc-provider/src/lib.rs @@ -1166,7 +1166,7 @@ where Node: NodeTypes, { fn state_root(&self, hashed_state: HashedPostState) -> Result { - self.state_root_from_nodes(TrieInput::from_state(hashed_state)) + self.state_root_with_updates(hashed_state).map(|(root, _)| root) } fn state_root_from_nodes(&self, _input: TrieInput) -> Result {