Skip to content

stellar: add deployment tooling#85

Open
cupicmarko wants to merge 2 commits into
feature/stellar/integration-testsfrom
feature/stellar/deployment
Open

stellar: add deployment tooling#85
cupicmarko wants to merge 2 commits into
feature/stellar/integration-testsfrom
feature/stellar/deployment

Conversation

@cupicmarko

Copy link
Copy Markdown

#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

  • 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/.
  • Align localnet/testnet scripts with the final constructor-based contract interface.

#Breaking Changes

  • None.

Oghma and others added 2 commits June 23, 2026 15:10
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.
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.

2 participants