We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epoch endBlock should be one block before startBlock of next Epoch to avoid overlapping.
This can be fixed by calculating endBlock = startBlock + epochLength - 1
endBlock = startBlock + epochLength - 1
By querying the endpoint https://gateway.testnet.thegraph.com/network you get these results.
query MyQuery { epoches(orderBy:"startBlock", orderDirection: "desc") { id endBlock startBlock } }
{ "data": { "epoches": [ { "endBlock": 8366425, "id": "719", "startBlock": 8366148 }, { "endBlock": 8366148, "id": "718", "startBlock": 8365871 }, }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
Epoch endBlock should be one block before startBlock of next Epoch to avoid overlapping.
Solution
This can be fixed by calculating
endBlock = startBlock + epochLength - 1
Current Behaviour
By querying the endpoint https://gateway.testnet.thegraph.com/network you get these results.
Query
Result
The text was updated successfully, but these errors were encountered: