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
Currently the web3-eth-abi package have to functions encodeParameters and decodeParameters. Both of these works fine but don't have a consistent output.
We can't use the output of one function to pass to other
Decoding result in different format of data used to encode
The reason behind the difference is the implementation of the output format. Which is not based on array index rather object index. Same behaviour exists in 1.x and 4.x
Feature Examples/References
No response
Are you willing to implement this feature?
Yes
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.
Is there an existing issue for this?
Feature Request
Currently the
web3-eth-abi
package have to functionsencodeParameters
anddecodeParameters
. Both of these works fine but don't have a consistent output.Use Cases
The following code snippet should work fine.
Implementation Ideas
The reason behind the difference is the implementation of the output format. Which is not based on array index rather object index. Same behaviour exists in 1.x and 4.x
Feature Examples/References
No response
Are you willing to implement this feature?
The text was updated successfully, but these errors were encountered: