We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6dd27e7 + d0eeb3e commit 0cc9409Copy full SHA for 0cc9409
cmd/abigen/main.go
@@ -94,7 +94,9 @@ func main() {
94
abi, _ := json.Marshal(contract.Info.AbiDefinition) // Flatten the compiler parse
95
abis = append(abis, string(abi))
96
bins = append(bins, contract.Code)
97
- types = append(types, name)
+
98
+ nameParts := strings.Split(name, ":")
99
+ types = append(types, nameParts[len(nameParts)-1])
100
}
101
} else {
102
// Otherwise load up the ABI, optional bytecode and type name from the parameters
0 commit comments