Skip to content

feat(scripts): add --dry-run, --yes flags and WASM hash pre-flight to deploy_mainnet.sh#192

Merged
PrincessnJoy merged 2 commits into
PrincessnJoy:mainfrom
devAgatha:feat/87-mainnet-dry-run
Jun 3, 2026
Merged

feat(scripts): add --dry-run, --yes flags and WASM hash pre-flight to deploy_mainnet.sh#192
PrincessnJoy merged 2 commits into
PrincessnJoy:mainfrom
devAgatha:feat/87-mainnet-dry-run

Conversation

@devAgatha
Copy link
Copy Markdown
Contributor

Summary

Adds safety flags to deploy_mainnet.sh so mistakes can be caught before hitting mainnet.

Changes

  • --dry-run: prints all commands without executing any transactions
  • --yes: skips the interactive confirmation prompt (for CI use)
  • --expected-token-hash / --expected-gov-hash: pre-flight SHA-256 verification of WASM binaries before deployment
  • Confirmation prompt still required by default when neither --yes nor --dry-run is set

Closes

Closes #87

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 1, 2026

@devAgatha Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@PrincessnJoy PrincessnJoy merged commit 40eea41 into PrincessnJoy:main Jun 3, 2026
0 of 5 checks passed
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.

deploy_mainnet.sh has no dry-run mode

2 participants