Restore devnet installer support#182
Merged
Merged
Conversation
f6949bf to
b10bada
Compare
There was a problem hiding this comment.
Pull request overview
Restores devnet as a supported network option in the node installer by adding devnet-specific config/genesis files and wiring the installer/docs to accept --network devnet.
Changes:
- Adds
devnetas a valid--networkoption (with matching Rusk / wallet versions to testnet). - Introduces
conf/devnet.tomlandconf/devnet.genesisand updates network selection logic to install them. - Updates README to document devnet support and explicitly note that fast sync is not available for devnet.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| README.md | Documents devnet as an installable network and clarifies fast-sync availability. |
| node-installer.sh | Accepts devnet, adds devnet versions, and configures devnet genesis/rusk configs. |
| conf/devnet.toml | Adds devnet Rusk configuration (kadcast ID, bootstrap nodes, etc.). |
| conf/devnet.genesis | Adds devnet genesis allocations and staking entries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+122
to
+127
| @@ -121,18 +123,31 @@ configure_network() { | |||
| mv /opt/dusk/conf/mainnet.toml /opt/dusk/conf/rusk.toml | |||
| rm /opt/dusk/conf/testnet.genesis | |||
| rm /opt/dusk/conf/testnet.toml | |||
| rm /opt/dusk/conf/devnet.genesis | |||
| rm /opt/dusk/conf/devnet.toml | |||
Comment on lines
+131
to
+136
| mv /opt/dusk/conf/testnet.genesis /opt/dusk/conf/genesis.toml | ||
| mv /opt/dusk/conf/testnet.toml /opt/dusk/conf/rusk.toml | ||
| rm /opt/dusk/conf/mainnet.genesis | ||
| rm /opt/dusk/conf/mainnet.toml | ||
| rm /opt/dusk/conf/devnet.genesis | ||
| rm /opt/dusk/conf/devnet.toml |
| rm /opt/dusk/conf/mainnet.genesis | ||
| rm /opt/dusk/conf/mainnet.toml | ||
| rm /opt/dusk/conf/testnet.genesis | ||
| rm /opt/dusk/conf/testnet.toml |
Comment on lines
+145
to
+148
| rm /opt/dusk/conf/mainnet.genesis | ||
| rm /opt/dusk/conf/mainnet.toml | ||
| rm /opt/dusk/conf/testnet.genesis | ||
| rm /opt/dusk/conf/testnet.toml |
b10bada to
bf956c1
Compare
| ln -sf /opt/dusk/bin/ruskquery /usr/bin/ruskquery | ||
| ln -sf /opt/dusk/bin/ruskreset /usr/bin/ruskreset | ||
| ln -sf /opt/dusk/bin/rusk-wallet /usr/bin/rusk-wallet | ||
| rm -f /usr/bin/download_state |
bf956c1 to
c60b4b8
Compare
HDauven
approved these changes
May 27, 2026
Comment on lines
259
to
264
| if [[ "$NETWORK" == "devnet" && -L /usr/bin/download_state && "$(readlink /usr/bin/download_state)" == "/opt/dusk/bin/download_state.sh" ]]; then | ||
| rm -f /usr/bin/download_state | ||
| fi | ||
| if [[ "$NETWORK" == "mainnet" || "$NETWORK" == "testnet" ]]; then | ||
| ln -sf /opt/dusk/bin/download_state.sh /usr/bin/download_state | ||
| fi |
HDauven
approved these changes
May 27, 2026
1ffabd4 to
5b375c5
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.
Summary
Validation