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
I had a struct layout like this: ((address,bytes),string,bytes32) for my encoded function call, so just trimming those 4 bytes didn't work for me. This is because we need to add a tuple offset for tuples with dynamic data.
I ended up having to
trim the first 4 function bytes
prepend '0000000000000000000000000000000000000000000000000000000000000020' to the encoded bytes' hexstring.
to solve the problem mentionned here #180
possible new implementation for
Function::decode_input
The text was updated successfully, but these errors were encountered: