feat: add guardnet and ddosnet chain configs#841
Merged
Conversation
Add res/guardnet/ and res/ddosnet/ directories with chain-spec, partner chains config, cNight genesis, federated authority config, system parameters, and cNight addresses. Add genesis block and state .mn files to res/genesis/.
Contributor
gilescope
approved these changes
Mar 2, 2026
skylar-simoncelli
added a commit
that referenced
this pull request
Mar 5, 2026
Add res/cfg/guardnet.toml and res/cfg/ddosnet.toml so the binary recognizes the guardnet and ddosnet CFG_PRESET values. The chain-spec data files were added in #841 but the cfg presets were omitted, causing nodes to crash with "Failed to load config guardnet/ddosnet". Omits ics-config, reserve-config, permissioned-candidates-config, and registered-candidates-addresses as those files do not exist for these networks yet.
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Mar 5, 2026
* feat(cfg): add guardnet and ddosnet cfg presets Add res/cfg/guardnet.toml and res/cfg/ddosnet.toml so the binary recognizes the guardnet and ddosnet CFG_PRESET values. The chain-spec data files were added in #841 but the cfg presets were omitted, causing nodes to crash with "Failed to load config guardnet/ddosnet". Omits ics-config, reserve-config, permissioned-candidates-config, and registered-candidates-addresses as those files do not exist for these networks yet. * chore: add changelog entry for PR #868 * chore: add Jira ticket to changelog entry
gilescope
pushed a commit
that referenced
this pull request
Apr 8, 2026
m2ux
added a commit
that referenced
this pull request
Apr 23, 2026
Signed-off-by: Mike Clay <mike.clay@shielded.io>
m2ux
added a commit
that referenced
this pull request
Apr 23, 2026
Signed-off-by: Mike Clay <mike.clay@shielded.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Summary
res/guardnet/— chain-spec, pc-chain-config, cnight-genesis, cnight-addresses, federated-authority-config, system-parameters-config, pc-resources-configres/ddosnet/— same set of files.mnfiles tores/genesis/for both networksSource
Generated from
midnight-chain-guardnet-165andmidnight-chain-ddosnet-166chain generation runs.#841