Repository navigation
Add network flexibility, admin verification, JSON deployment records,and auto-restart - #113
Merged
Busiii-adetiba merged 1 commit intoOct 18, 2026
Conversation
… and auto-restart Implements four enhancements to deployment and rollback scripts: - Add futurenet and local network support to deploy-contracts.cjs (SynapsVault#25) * Add Networks.FUTURENET passphrase and RPC URL to configuration * Update help text and error messages to document all supported networks * Allow SOROBAN_RPC_URL to override for local/custom Stellar nodes - Verify stored admin in init during contract verification (SynapsVault#26) * Enhance verifyContract() to check that init() set the expected admin * Warn if unable to read admin from contract state, but don't fail * Confirms admin passed to init() actually persisted on-chain - Write machine-readable JSON deployment record (SynapsVault#27) * New writeDeploymentRecord() function creates timestamped JSON file * Record includes: network, deployer, admin, contract IDs, git ref * Enables audit trail and automation for deployment tracking - Auto-restart backend deployment after ConfigMap update (SynapsVault#28) * rollback-contracts.cjs now runs kubectl rollout restart automatically * Eliminates manual step and reduces chance of operator error * Provides clear status messages as restart proceeds Closes SynapsVault#25, SynapsVault#26, SynapsVault#27, SynapsVault#28
|
@icentedward76-sketch 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! 🚀 |
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.
Implements four enhancements to deployment and rollback scripts:
Add futurenet and local network support to deploy-contracts.cjs (deploy-contracts.cjs: add futurenet and local network support #25)
Verify stored admin in init during contract verification (deploy-contracts.cjs: verify the stored admin after init #26)
Write machine-readable JSON deployment record (deploy-contracts.cjs: write a machine-readable deployment record (JSON) #27)
Auto-restart backend deployment after ConfigMap update (rollback-contracts.cjs: add an option to restart the backend deployment #28)
Closes #25
Closes #26
Closes #27
Closes #28