Closed samparsky closed 4 years ago
Tuples are represented as tuples of their field types, e.g. (uint256,bytes32)
, so (assuming it's supposed to be uint param
, not unit param
), the manifest should look as follows:
callHandlers:
- function: test((uint256))
handler: handleTest
I already tried using it but yarn build
errors anytime I try it
callHandlers:
- function: test((uint256))
handler: handleTest
The error from yarn build
Call function with signature 'test((uint256))' not present in ABI 'Test'.
Available call functions:
- test(tuple)
Duplicate of #1800. (I've renamed that one to include both event and call handlers).
Do you want to request a feature or report a bug? Bug
What is the current behavior? CallHanlders doesn't work with tuple arguments. A call handler for a function with tuple arguments doesn't get invoked
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
subgraph.yaml
The
handleTest
handler doesn't ever get invokedWhat is the expected behavior?
The handleTest handler should get invoked