graph-node
graph-node copied to clipboard
CallHandler: Doesn't work for function with tuple[][] arguments
Do you want to request a feature or report a bug? bug What is the current behavior? Failed to generate types for contract ABIs: Failed to generate types for contract ABI: Conversion from 'ethereum' to 'AssemblyScript' for source type 'tuple[][]' is not supported If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
{
"inputs": [
{
"internalType": "bytes32[]",
"name": "accounts",
"type": "bytes32[]"
},
{
"components": [
{
"internalType": "enum ResourceData.ResourceType",
"name": "resourceType",
"type": "uint8"
},
{
"internalType": "uint256[]",
"name": "amounts",
"type": "uint256[]"
}
],
"internalType": "struct ResourceData.AmountPayload[][]",
"name": "payloads",
"type": "tuple[][]"
}
],
"name": "registerAndDripMult",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
run graph codegen with this abi
What is the expected behavior?
should support tuple[][]