You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select the testFunction and enter any value that is a valid array of integers ([], [1, 2, 3], and so on).
Submit the form.
Expected behaviour
The transaction goes through successfully.
Actual behaviour
The saga throws an error and silently fails. This is because ethers' encodeFunctionData is expecting a first-class array but it is passed the string representation instead.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Reproducing this is kinda cumbersome, with the easiest way being deploying our own test contract.
Follow steps 1-5 from #3966, but replace the contents of
TestContract.sol
with the following:Once the contract is deployed, add a transaction with its address and the following JSON ABI:
Select the
testFunction
and enter any value that is a valid array of integers ([]
,[1, 2, 3]
, and so on).Submit the form.
Expected behaviour
The transaction goes through successfully.
Actual behaviour
The saga throws an error and silently fails. This is because ethers'
encodeFunctionData
is expecting a first-class array but it is passed the string representation instead.The text was updated successfully, but these errors were encountered: