Compare commits

...

1 Commits

Author SHA1 Message Date
Dan Cline
b4cba1f17b fix(consistent): actually use range in storage range query 2026-02-10 17:20:08 -05:00

View File

@@ -1409,6 +1409,10 @@ impl<N: ProviderNodeTypes> StorageChangeSetReader for ConsistentProvider<N> {
let chain = head_block.chain().collect::<Vec<_>>();
for state in chain {
if !range.contains(&state.number()) {
continue;
}
let block_changesets = state
.block_ref()
.execution_output
@@ -1588,6 +1592,10 @@ impl<N: ProviderNodeTypes> ChangeSetReader for ConsistentProvider<N> {
let chain = head_block.chain().collect::<Vec<_>>();
for state in chain {
if !range.contains(&state.number()) {
continue;
}
// found block in memory, collect its changesets
let block_changesets = state
.block_ref()