We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a function that takes in fixed length array input.
function payToTree(uint32[3] ratio) public;
contractInstance.payToTree([5, 5]); // Error: too many arguments: coder array _rewardRatio (count=3, expectedCount=2, code=UNEXPECTED_ARGUMENT, version=abi/5.0.1) contractInstance.payToTree([5, 5, 5, 5]); // Error: missing argument: coder array _rewardRatio (count=3, expectedCount=4, code=MISSING_ARGUMENT, version=abi/5.0.1)
I believe the error should be the other way around. May be the expectedCount and count values need to be flipped.
expectedCount
count
This is definitely not urgent, but just something I noticed.
The text was updated successfully, but these errors were encountered:
You are absolutely correct. Looking into this now.
Sorry, something went wrong.
Fix emitted error for ABI code array count mismatch (#1004).
b0c082d
This should be fixed in 5.0.9.
Try it out and let me know. :)
Closing this now, if you still have issues though, please re-open.
Thanks! :)
No branches or pull requests
I have a function that takes in fixed length array input.
I believe the error should be the other way around. May be the
expectedCount
andcount
values need to be flipped.This is definitely not urgent, but just something I noticed.
The text was updated successfully, but these errors were encountered: