Skip to content

chore: route both testnet and mainnet via gh secrets#10

Merged
AquiGorka merged 1 commit into
mainfrom
chore/silent-mainnet-flip-deploy-yml
May 5, 2026
Merged

chore: route both testnet and mainnet via gh secrets#10
AquiGorka merged 1 commit into
mainfrom
chore/silent-mainnet-flip-deploy-yml

Conversation

@AquiGorka

Copy link
Copy Markdown
Contributor

Summary

  • Both deploy jobs now read stellarNetwork and rpcUrl from gh secrets instead of hardcoded URLs:
    • testnet: STELLAR_NETWORK + RPC_URL
    • mainnet: MAINNET_STELLAR_NETWORK + MAINNET_RPC_URL
  • Removes the gateway.fm hardcoding from the mainnet job and the soroban-testnet hardcoding from the testnet job.
  • deno.json patch bump 0.2.5 -> 0.2.6.

Repo gh secrets set in the same change:

Note for PM thread

Phase 0 finding #3 said network-dashboard derives Stellar config at runtime from council-platform and makes no direct RPC calls. Verified during D4: dashboard DOES make direct RPC calls — src/lib/stellar.ts:139 (new s.rpc.Server(RPC_URL)) is used by getChannelSupply and other contract reads. ClickUp 86c9n8cby (proxy refactor) scope should be extended to include network-dashboard.

The Quasar token IS embedded in the dashboard's mainnet public/config.js as the accepted exposure for the silent release.

Part of the silent mainnet flip (ClickUp 86c9c86b6).

Test plan

  • deno fmt clean
  • deno lint clean
  • deno task test — 28 passed
  • Tag-triggered mainnet deploy generates a public/config.js with stellarNetwork: "mainnet" and Quasar rpcUrl
  • Tag-triggered testnet deploy generates a public/config.js with stellarNetwork: "testnet" and soroban-testnet rpcUrl
  • UI smoke on https://dashboard.moonlightprotocol.io

…RL gh secrets

Both deploy jobs now read stellarNetwork and rpcUrl from gh secrets
(STELLAR_NETWORK/RPC_URL on testnet; MAINNET_STELLAR_NETWORK/
MAINNET_RPC_URL on mainnet). Removes the gateway.fm hardcoding from
the mainnet job and the soroban-testnet hardcoding from the testnet
job.
@AquiGorka AquiGorka merged commit 4a744ed into main May 5, 2026
4 checks passed
@AquiGorka AquiGorka deleted the chore/silent-mainnet-flip-deploy-yml branch May 5, 2026 17:25
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.

1 participant