Skip to content

Restore devnet installer support#182

Merged
herr-seppia merged 1 commit into
mainfrom
restore-devnet-mode
May 27, 2026
Merged

Restore devnet installer support#182
herr-seppia merged 1 commit into
mainfrom
restore-devnet-mode

Conversation

@herr-seppia

@herr-seppia herr-seppia commented May 27, 2026

Copy link
Copy Markdown
Member

Summary

  • restore devnet as a valid installer network with explicit Rusk and wallet versions for this devnet release
  • add devnet genesis and rusk config from the active devnet setup
  • document devnet as an available network option and note that fast sync is not currently available for devnet

Validation

@herr-seppia herr-seppia force-pushed the restore-devnet-mode branch from f6949bf to b10bada Compare May 27, 2026 14:41
@herr-seppia herr-seppia marked this pull request as ready for review May 27, 2026 15:23
@herr-seppia herr-seppia requested review from HDauven and Copilot May 27, 2026 15:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 devnet as a valid --network option (with matching Rusk / wallet versions to testnet).
  • Introduces conf/devnet.toml and conf/devnet.genesis and 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 thread node-installer.sh Outdated
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 thread node-installer.sh Outdated
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
Comment thread node-installer.sh Outdated
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 thread node-installer.sh Outdated
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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread node-installer.sh Outdated
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
@herr-seppia herr-seppia force-pushed the restore-devnet-mode branch from bf956c1 to c60b4b8 Compare May 27, 2026 15:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread node-installer.sh Outdated
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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread node-installer.sh

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@herr-seppia herr-seppia force-pushed the restore-devnet-mode branch from 1ffabd4 to 5b375c5 Compare May 27, 2026 16:04
@herr-seppia herr-seppia requested a review from Copilot May 27, 2026 16:04
@herr-seppia herr-seppia merged commit cdeee19 into main May 27, 2026
1 check failed
@herr-seppia herr-seppia deleted the restore-devnet-mode branch May 27, 2026 16:06
@herr-seppia herr-seppia review requested due to automatic review settings May 27, 2026 16:26
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.

3 participants