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
Some abi encoder encode empty bytes as 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 (length = 0 and an 0-bytes body)
bivrost is expecting 0x0000000000000000000000000000000000000000000000000000000000000000
we make use of this assumption when decoding tuples. Therefore we will have unexpected results if we try to decode tuples that contain the "padded" encoding.
The solution would be to parse the position of each dynamic type and jump to that position for decoding.
The text was updated successfully, but these errors were encountered:
Some abi encoder encode empty bytes as
0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
(length = 0 and an 0-bytes body)bivrost is expecting
0x0000000000000000000000000000000000000000000000000000000000000000
we make use of this assumption when decoding tuples. Therefore we will have unexpected results if we try to decode tuples that contain the "padded" encoding.
The solution would be to parse the position of each dynamic type and jump to that position for decoding.
The text was updated successfully, but these errors were encountered: