Skip to content
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

abi file with solidity function overloading not supported #22

Open
xmxanuel opened this issue Jul 16, 2019 · 0 comments
Open

abi file with solidity function overloading not supported #22

xmxanuel opened this issue Jul 16, 2019 · 0 comments

Comments

@xmxanuel
Copy link

I recognize if an abi file for a contract contains two functions with the same name (function overloading) the first function can't be called.

eth-js throws an error because it is using only the second function definition in the abi file. (Therefore a types/values mismatch error is thrown if the first function with the same name is called.)

Reordering the functions in the abi file results in the opposite behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant