refactor(cluster): separate genesis and node deployment configuration#553
Merged
Lchangliang merged 10 commits intomainfrom Feb 9, 2026
Merged
refactor(cluster): separate genesis and node deployment configuration#553Lchangliang merged 10 commits intomainfrom
Lchangliang merged 10 commits intomainfrom
Conversation
Contributor
Lchangliang
commented
Feb 6, 2026
- Split configuration into genesis.toml (genesis/validator params) and cluster.toml (node deployment)
- Add new genesis.sh script for genesis generation (extracted from init.sh)
- Simplify init.sh to only handle node key generation
- Add genesis_source config in cluster.toml for external genesis support
- Create gravity_node hardlink in deploy.sh for self-contained deployment
- Add validation rules in aggregate_genesis.py
- Fix macOS compatibility: use ps for process checks, sed -i '' for in-place edits
- Add Python 3.10 compatibility: tomllib fallback to toml package
- Update runner.py workflow: init.sh -> genesis.sh -> deploy.sh
- Add genesis.toml to all test cases
b36f1d3 to
76b27ad
Compare
ByteYue
approved these changes
Feb 8, 2026
69c1e13 to
933d248
Compare
- Split configuration into genesis.toml (genesis/validator params) and cluster.toml (node deployment) - Add new genesis.sh script for genesis generation (extracted from init.sh) - Simplify init.sh to only handle node key generation - Add genesis_source config in cluster.toml for external genesis support - Create gravity_node hardlink in deploy.sh for self-contained deployment - Add validation rules in aggregate_genesis.py - Fix macOS compatibility: use ps for process checks, sed -i '' for in-place edits - Add Python 3.10 compatibility: tomllib fallback to toml package - Update runner.py workflow: init.sh -> genesis.sh -> deploy.sh - Add genesis.toml to all test cases
933d248 to
973d90f
Compare
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.