Possible Bug on Result Class (abstract-coder.ts) #3787
Labels
fixed/complete
This Bug is fixed or Enhancement is complete and published.
investigate
Under investigation and may be a bug.
v6
Issues regarding v6
Ethers Version
6.0.3
Search Terms
No response
Describe the Problem
.slice(-1)
and.toArray()
are not working as expected..slice(-1)
: - should return the last item in the array, instead it's return the whole array plus undefined element on index 0.toArray()
: should return an array of the input items, instead it's returning nested array[[]]
Code Snippet
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: