Skip to content

docs: allow redeploy-blend-adapter.sh to target mainnet and align runbook - #1204

Closed
ibochielizabeth-spec wants to merge 1 commit into
drydocs:mainfrom
ibochielizabeth-spec:fix/redeploy-blend-adapter-network-1144
Closed

ibochielizabeth-spec wants to merge 1 commit into
drydocs:mainfrom
ibochielizabeth-spec:fix/redeploy-blend-adapter-network-1144

Conversation

@ibochielizabeth-spec

Copy link
Copy Markdown
Contributor

Summary

Updates scripts/redeploy-blend-adapter.sh to support targeting Stellar mainnet via an overridable NETWORK environment variable with mainnet contract defaults (BLEND_POOL_ID and USDC_ID), and aligns the documentation in mainnet-deployment.md and environment-variables.md.

  • Supports NETWORK=${NETWORK:-testnet} with validation for testnet or mainnet.
  • Automatically selects mainnet default contract addresses from packages/shared/src/constants.ts when NETWORK=mainnet.
  • Aligns apps/docs/operations/mainnet-deployment.md to point operators to NETWORK=mainnet bash scripts/redeploy-blend-adapter.sh.
  • Documents NETWORK in apps/docs/operations/environment-variables.md.
  • Code and documentation verified with pnpm prettier --check and pnpm typecheck.

closes #1144

@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

@ibochielizabeth-spec is attempting to deploy a commit to the Collins' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@ibochielizabeth-spec 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! 🚀

Learn more about application limits

@collinsezedike collinsezedike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ibochielizabeth-spec the NETWORK handling and the mainnet defaults match packages/shared/src/constants.ts, and the runbook alignment is right. The commit subject is 73 characters, so the required Commit Messages check fails. Amend it to 72 characters or fewer, for example docs: allow redeploy script to target mainnet.

@collinsezedike

Copy link
Copy Markdown
Collaborator

@ibochielizabeth-spec closing in favour of #1219, which is the same change for #1144 on a current base. The 73-character header finding is carried into the #1219 instructions.

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.

[Docs] redeploy-blend-adapter.sh is testnet-only but mainnet-deployment.md points to it

2 participants