You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A predicate spec has an optional field blocks: Vec<u64> where the user provides a specific list of blocks to scan. If some of those blocks are past chain tip, we have to go to streaming mode. However, streaming mode only checks for an end_block so that predicate will be evaluated against every block, not just those in the blocks array.
To Reproduce
Steps to reproduce the behavior:
Create a predicate with blocks field containing blocks that are past chain tip
Observe the scan completing and the predicate entering streaming mode
Observe the predicate being evaluated against every block instead of just those provided in the blocks list.
The text was updated successfully, but these errors were encountered:
Describe the bug
A predicate spec has an optional field
blocks: Vec<u64>
where the user provides a specific list of blocks to scan. If some of those blocks are past chain tip, we have to go to streaming mode. However, streaming mode only checks for anend_block
so that predicate will be evaluated against every block, not just those in the blocks array.To Reproduce
Steps to reproduce the behavior:
blocks
field containing blocks that are past chain tipblocks
list.The text was updated successfully, but these errors were encountered: