When querying for the block timestamp, I've noticed it intermittently comes as null. It makes it harder to keep UIs in sync with contracts that rely on block timestamps.
I managed to reproduce the issue in multiple subgraphs on the hosted service, but not on network graphs, so the issue seems to be with the hosted service
Query:
_meta {
block {
number
timestamp
}
}
Result:
It doesn't happen in every block. Some blocks consistently return the timestamp (block 17300022 in the example above).
I can see it's not null only when the block is recently fetched, but when querying several times in a row it's intermittently null (block 17300023 in the example above).
When querying for the block timestamp, I've noticed it intermittently comes as
null
. It makes it harder to keep UIs in sync with contracts that rely on block timestamps.I managed to reproduce the issue in multiple subgraphs on the hosted service, but not on network graphs, so the issue seems to be with the hosted service
Query:
Result: It doesn't happen in every block. Some blocks consistently return the timestamp (block
17300022
in the example above). I can see it's not null only when the block is recently fetched, but when querying several times in a row it's intermittently null (block17300023
in the example above).