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
web3.eth.abi.decodeParameters returns an Object when decoding multiple parameters and an Array when decoding one parameter. In version beta.37 both cases returned Result object
Is it intentional that decoding one parameter returns an array, and multiple -- an object? Would be nice to have decodeParameters return the same in both cases.
Gists
Versions
web3.js: 1.0.0-beta.55
nodejs: v10.15.3
browser: node console
ethereum node:
The text was updated successfully, but these errors were encountered:
Description
web3.eth.abi.decodeParameters
returns an Object when decoding multiple parameters and an Array when decoding one parameter. In version beta.37 both cases returnedResult
objectExpected behavior
Like it was in version beta.37:
Actual behavior
Is it intentional that decoding one parameter returns an array, and multiple -- an object? Would be nice to have
decodeParameters
return the same in both cases.Gists
Versions
The text was updated successfully, but these errors were encountered: