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
The problem is in how tuple is encoded. Current implementation tries to encode it as tuple[] and when I manually changed it to decode as tuple(tuple(address,bytes,address,bytes)[],address,uint256)[] it worked.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
📝 Description
BE doesn’t properly parse tuple param with nested tuples in it. For example
https://explorer.zksync.io/tx/0xc014b81191eb39e669e5f7356615957a935091979af8e78b48dd8b1b6661602c shows
Unable to decode input data (data_decode_failed) even though the contract is verified and has an ABI.
The following function was called:and internally the next error is thrown:
which lead to an error message on UI.
The problem is in how tuple is encoded. Current implementation tries to encode it as tuple[] and when I manually changed it to decode as tuple(tuple(address,bytes,address,bytes)[],address,uint256)[] it worked.
The text was updated successfully, but these errors were encountered: