This commit is contained in:
cui 2026-07-17 21:52:56 -07:00 committed by GitHub
commit 851da6305b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,6 +222,7 @@ func NewType(t string, internalType string, components []ArgumentMarshaling) (ty
if strings.HasPrefix(internalType, "contract ") {
typ.Size = 20
typ.T = AddressTy
typ.stringKind = "address"
} else {
return Type{}, fmt.Errorf("unsupported arg type: %s", t)
}