Closed maoueh closed 1 year ago
Problem happens when we use a stop-block that is below the cursor's block
the -t +10
flag in the cli does 'startBlock +10' instead of {either bailing out because you shouldn't use relative stop-blocks with a cursor, or doing a naïve but better 'cursor block + 11'}
of course, the server should validate that the stop-block is ABOVE the resolved start-block instead of panicking in the orchestrator's plan
solution:
code in the PR https://github.com/streamingfast/substreams/pull/289
Reproducible with: