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
Opening this to remind myself to ensure it's fixed.
Running cmd/abigen/abigen --pkg my_package example.json (erroneously omitting the --abi flag) generates an empty binding. If abigen is run without specifying --combined-json or --abi, it should fail explicitly.
The text was updated successfully, but these errors were encountered:
jwasinger
changed the title
cmd/abigen: --abi flag should be required.
cmd/abigen: eiether --combined-json or --abi should be required. they should be mutually-exclusive.
Jan 19, 2025
jwasinger
changed the title
cmd/abigen: eiether --combined-json or --abi should be required. they should be mutually-exclusive.
cmd/abigen: either --combined-json or --abi should be required. they should be mutually-exclusive.
Jan 19, 2025
jwasinger
changed the title
cmd/abigen: either --combined-json or --abi should be required. they should be mutually-exclusive.
cmd/abigen: either --combined-json or --abi should be required.
Jan 19, 2025
jwasinger
changed the title
cmd/abigen: either --combined-json or --abi should be required.
cmd/abigen: either --abi or --combined-json should be required.
Jan 19, 2025
This PR addresses issue #30768 , which highlights that running
cmd/abigen/abigen --pkg my_package example.json (erroneously omitting
the --abi flag) generates an empty binding, when it should fail
explicitly.
---------
Co-authored-by: jwasinger <[email protected]>
Opening this to remind myself to ensure it's fixed.
Running
cmd/abigen/abigen --pkg my_package example.json
(erroneously omitting the--abi
flag) generates an empty binding. Ifabigen
is run without specifying--combined-json
or--abi
, it should fail explicitly.The text was updated successfully, but these errors were encountered: