Add stellar-cli sandbox lifecycle test#567
Conversation
|
@Killerjunior 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! 🚀 |
|
the sandbox lifecycle script itself is reasonable (set -euo pipefail, a network health-wait loop, an exit trap to stop the container, isolated XDG_CONFIG_HOME). the fmt/clippy/test reds are from a stale base that doesn't compile (missing token/uses_milestones on CreateCampaignParams, duplicate set_emergency_pause_signers), none of that is in your diff. rebase onto current main and it should go green. minor: the new job runs |
📌 Description
Adds a CI integration job that runs the deployed contract against a real
stellar-clilocal sandbox. The new script starts a local Stellar container, deploys the contract WASM and native asset contract, then exercises the happy-path lifecycle: initialize, create campaign, verify campaign, contribute, withdraw funds, and assert final on-chain state.🔗 Related Issues
Closes #501
🧪 Changes Made
✅ Checklist
None.
📸 Screenshots (if applicable)
Not applicable.
🧩 Additional Notes
The sandbox test is implemented in
scripts/stellar_cli_happy_path.shand wired into.github/workflows/ci.ymlas thestellar-cli-sandboxjob. I could not execute the sandbox locally because this Windows environment does not have Bash orstellarinstalled; CI will run it on Ubuntu.