-
Notifications
You must be signed in to change notification settings - Fork 20
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
Encoding a pure uint256[] function parameter #48
Comments
Solved by using Tuple.singleton() in this case .. realized just after posting :) |
Alternatively you can also do an explicit cast to Object:
so that bigints doesn't accidentally match |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I have a question on how to encode a uint256[] parameter. Creating a tuple for the following works just fine:
but if the function argument is a pure uint256[] such as
the encoding fails with the following trace:
Any suggestions on how to pass the pure uint256[] correctly in this case?
Thank you
The text was updated successfully, but these errors were encountered: