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
it would be nice to have the same syntax supported for abi.encodeCall
Specification
The compiler already know how to encode the call when doing target.fn({ arg1: 1, arg2: 2 });. The idea is to reuse the same argument encoding logic, and return the encoded data without performing the call
Backwards Compatibility
No issue.
The text was updated successfully, but these errors were encountered:
Abstract
Add support for the following syntax:
Motivation
It is currently possible to call a function, or throw a custom error, using this syntax:
it would be nice to have the same syntax supported for
abi.encodeCall
Specification
The compiler already know how to encode the call when doing
target.fn({ arg1: 1, arg2: 2 });
. The idea is to reuse the same argument encoding logic, and return the encoded data without performing the callBackwards Compatibility
No issue.
The text was updated successfully, but these errors were encountered: