This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
[BUG] Archive node should only return state query up to indexed height #81
Labels
E&V Team
Execution / Verification / Edge Team
Current Behavior
Let's say latest block is 1000, register A is updated at height 500 and 700:with the following value:
When archive node is catching up, and indexed up to height 600, and we run a state query against it to get state for block 800, then it would thought it has indexed all (which is wrong, because it only indexed up to block 600), and would return register A's value as 3 for block 800, which is wrong
Expected Behavior
If archive node has indexed up height 600, it should return not found for state query against any block above 600, such as 800
Steps To Reproduce
use mainnet staging and flow-archive-access validator
Environment
What are you currently working on that this is blocking?
No response
The text was updated successfully, but these errors were encountered: