Skip to content

cmd/abigen: respect --v2=false#34943

Merged
jwasinger merged 1 commit into
ethereum:masterfrom
RekCuy63:fix-abigen-v2-false
May 12, 2026
Merged

cmd/abigen: respect --v2=false#34943
jwasinger merged 1 commit into
ethereum:masterfrom
RekCuy63:fix-abigen-v2-false

Conversation

@RekCuy63
Copy link
Copy Markdown
Contributor

Passing --v2=false currently still selects the v2 binding generator because the command checks whether the flag was set.

This switches generation to use the boolean flag value, so explicit false continues to generate legacy bindings while --v2 keeps selecting v2.

@jwasinger jwasinger merged commit 21c5a28 into ethereum:master May 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants