Skip to content

Add flags for 3.0 testing#117

Merged
cmmarslender merged 1 commit into
mainfrom
network-generate-args
Feb 3, 2026
Merged

Add flags for 3.0 testing#117
cmmarslender merged 1 commit into
mainfrom
network-generate-args

Conversation

@cmmarslender

@cmmarslender cmmarslender commented Feb 3, 2026

Copy link
Copy Markdown
Member

Note

Low Risk
Limited to CLI/network-constants generation and gated behind optional flags; main risk is producing incorrect testnet configs if values are mis-specified.

Overview
network generate now supports additional optional inputs to populate 3.0/hard fork 2-related fields in the generated NetworkConstants (hard fork 2 height, plot filter v2 zero-bit requirement, plot v1 phase-out epoch bits, and up to three plot filter v2 adjustment heights).

The command adds corresponding Cobra flags and Viper bindings, and only sets these constants when the flags are explicitly provided (preserving prior output by default).

Written by Cursor Bugbot for commit 34db0e6. This will update automatically on new commits. Configure here.

@cmmarslender
cmmarslender merged commit 26539f4 into main Feb 3, 2026
16 checks passed
@cmmarslender
cmmarslender deleted the network-generate-args branch February 3, 2026 20:10
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