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
We need this for common, where we are using the 2.0.0-experimental build
While we are doing this, it would also be a good idea to have a more restrictive type on createGraphQLQuery() that limits the kind of argument you can pass - we did not catch this at first in our code because we could add the block argument without any type error or runtime error (it just skips the argument silently)
The text was updated successfully, but these errors were encountered:
jellegerbrandy
changed the title
where clause should allow for "block" property
where clause should allow for "blockNumber" property
Oct 27, 2020
The graph supports s
block
argument https://thegraph.com/docs/graphql-api#queries that we can use to get the state of the blockchain at a specific block.this can be supported easily by adding a few lines for
options.block
inarc.js/src/utils.ts
Line 109 in d80b0c3
We need this for common, where we are using the 2.0.0-experimental build
While we are doing this, it would also be a good idea to have a more restrictive type on createGraphQLQuery() that limits the kind of argument you can pass - we did not catch this at first in our code because we could add the block argument without any type error or runtime error (it just skips the argument silently)
The text was updated successfully, but these errors were encountered: