Closed SyedAsadKazmi closed 5 months ago
It's not working in case of array arguments though, like in my example:
m.call(overloadSum, "sum(uint256[])", [[1, 2]], { id: "MyUniqueId2" });
Fixing the validation of []
should be straightforward. We need to consider how we approach the writing out of []
in to files in the deployment folder, as by default the id is generated from the function name.
Fixing the validation of
[]
should be straightforward. We need to consider how we approach the writing out of[]
in to files in the deployment folder, as by default the id is generated from the function name.
Thanks for responding, @kanej. So, is this something that we can achieve on our end or it requires some fixes/updates in ignition ?
Fixing the validation of
[]
should be straightforward. We need to consider how we approach the writing out of[]
in to files in the deployment folder, as by default the id is generated from the function name.Thanks for responding, @kanej. So, is this something that we can achieve on our end or it requires some fixes/updates in ignition ?
Other than using one of the other overloads for the function, I think this is something we have to fix on our end.
Here's the minimal example:
contracts/OverloadSum.sol
ignition/modules/OverloadSum.js
When I'm executing this command:
Getting this error: