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 validateAndPayForPaymasterTransaction will be called first by core blockchain during the transaction processing, in order to determine if this transaction can be sponsored gas or not. It's output is a tuple (bytes4 magic, bytes memory context), and there isn't any method to properly unpack this bytes slice result. It throws unsupported arg type: tuple error.
Currently the outdated ABI library of tomochain only supports these types. We need an official and unified method to handle tuple packing/unpacking.
The text was updated successfully, but these errors were encountered:
The future universal
IPaymaster
contract interface will be decribed as below:The
validateAndPayForPaymasterTransaction
will be called first by core blockchain during the transaction processing, in order to determine if this transaction can be sponsored gas or not. It's output is a tuple(bytes4 magic, bytes memory context)
, and there isn't any method to properly unpack this bytes slice result. It throwsunsupported arg type: tuple
error.Currently the outdated ABI library of tomochain only supports these types. We need an official and unified method to handle tuple packing/unpacking.
The text was updated successfully, but these errors were encountered: