stellar: add deployment tooling#85
Open
cupicmarko wants to merge 2 commits into
Open
Conversation
Adds Stellar deployment and operations tooling, including network configuration, devnet Kubernetes manifest, and testnet shell fixtures. These scripts provide the operational path for deploying and validating the Wormhole Core contract outside Rust unit tests. Changes: - Add stellar/scripts/deploy.sh with constructor-based deployment flow and testnet/mainnet config files. - Add stellar/stellar.yaml for the Stellar quickstart devnet resource. - Add testnet shell integration runner and governance VAA fixtures under stellar/contracts/wormhole-contract/src/tests/.
Aligns the deployment and localnet test scripts with the contract's __constructor-based initialization and the localnet testing constraints. Changes: - deploy.sh: deploy and initialize in one step using `stellar contract deploy -- --initial_guardians ... --governance_emitter ...`, removing the obsolete --skip-init path and the separate initialize invoke. Verification now calls get_current_guardian_set_index. - deploy.sh: --help works directly without requiring a network argument. - run-tests.sh: exports STELLAR_RPC_URL and STELLAR_NETWORK_PASSPHRASE from .env.localnet so the Stellar CLI uses localnet config from the script. - run-tests.sh: runs only localnet-compatible ignored tests by default; native-token fee tests are opt-in via RUN_LOCALNET_FEE_TESTS=1. - Removed trailing blank EOF lines from scripts/config/mainnet.yaml and scripts/config/testnet.yaml.
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
Adds Stellar deployment and operations tooling, including network configuration, devnet Kubernetes manifest, and testnet shell fixtures. These scripts provide the operational path for deploying and validating the Wormhole Core contract outside Rust unit tests.
#Changes
stellar/scripts/deploy.shwith constructor-based deployment flow and testnet/mainnet config files.stellar/stellar.yamlfor the Stellar quickstart devnet resource.stellar/contracts/wormhole-contract/src/tests/.#Breaking Changes