From a235d281925b1d1254cb4cb46201047a93635a92 Mon Sep 17 00:00:00 2001 From: cui Date: Wed, 5 Aug 2026 14:58:41 +0800 Subject: [PATCH] accounts/abi: set stringKind for contract-typed arguments (#35345) --- accounts/abi/type.go | 1 + 1 file changed, 1 insertion(+) diff --git a/accounts/abi/type.go b/accounts/abi/type.go index 2fd11ac123..e000f57bed 100644 --- a/accounts/abi/type.go +++ b/accounts/abi/type.go @@ -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) }