-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uning array of complex types #44
Comments
What I ended up doing is add the array inside an array, indeed the second parameter is an array of arguments. |
@steffenix can you show your working solution? I'm having same issue. |
Are you sure you are using the library properly? |
@steffenix I'm assuming I'm not, because it is not working. Here is example code:
Params are an array. I receive the same error as you did above, since the first param coming into |
Can't help with more code but I would look at the address format check the examples they need to be decoded |
I am trying to use the ABI with the https://github.com/makerdao/multicall contract.
aggregate(Call[] memory calls)
So I am using the encode function with
aggregate((address,bytes)[])
I am getting the following error:
I have also tried to do:
The issue is the binary isn't passing the Kernel.is_tupple condition.
The second parameter passed to the function is:
The text was updated successfully, but these errors were encountered: