-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Description
Describe the bug
When using TransactionUtils and passing start/end block, their types are defined as number, but return type for block property is bigint, so they are not compatible. If you do types casting block as unknown as number - then bigint is passed and can't be serialised in subgraph query
To Reproduce
Steps to reproduce the behavior:
- Get some tx using
TransactionUtils.getTransactions - Use
tx.blockasstartBlockfilter in consequentTransactionUtils.getTransactionscall - See TS error
Expected behavior
Types are correct for filters and bigint can be used (i.e. block numbers have correct types and serialized correctly before passing to subgraph query)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo
