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
Because encodeSignature requires its argument to have both a name and a type, just checking that all inputs have those works for now. However, it might make sense to tell the user that their ABI is invalid, if they pass an ABI with an entry that is of type function but lacks a name. It seems only constructor and fallback types are allowed to miss name.
The text was updated successfully, but these errors were encountered:
Because
encodeSignature
requires its argument to have both aname
and atype
, just checking that all inputs have those works for now. However, it might make sense to tell the user that their ABI is invalid, if they pass an ABI with an entry that is of typefunction
but lacks a name. It seems onlyconstructor
andfallback
types are allowed to missname
.The text was updated successfully, but these errors were encountered: