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.
1 parent 9eddba4 commit ab6643bCopy full SHA for ab6643b
cmd/abigen/main.go
@@ -97,6 +97,9 @@ func generate(c *cli.Context) error {
97
if c.String(pkgFlag.Name) == "" {
98
utils.Fatalf("No destination package specified (--pkg)")
99
}
100
+ if c.String(abiFlag.Name) == "" && c.String(jsonFlag.Name) == "" {
101
+ utils.Fatalf("Either contract ABI source (--abi) or combined-json (--combined-json) are required")
102
+ }
103
// If the entire solidity code was specified, build and bind based on that
104
var (
105
abis []string
0 commit comments