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.
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.