graphql: fix issue with unmarshalling int32 into Long type #22153

This commit is contained in:
rene 2021-01-11 14:55:42 +01:00 committed by GitHub
parent 49c2816d54
commit 39b3b8ffb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,7 +300,7 @@ const schema string = `
block(number: Long, hash: Bytes32): Block block(number: Long, hash: Bytes32): Block
# Blocks returns all the blocks between two numbers, inclusive. If # Blocks returns all the blocks between two numbers, inclusive. If
# to is not supplied, it defaults to the most recent known block. # to is not supplied, it defaults to the most recent known block.
blocks(from: Long!, to: Long): [Block!]! blocks(from: Long, to: Long): [Block!]!
# Pending returns the current pending state. # Pending returns the current pending state.
pending: Pending! pending: Pending!
# Transaction returns a transaction specified by its hash. # Transaction returns a transaction specified by its hash.