Repository navigation
chore(scripts): add mainnet support to redeploy script - #1219
collinsezedike merged 1 commit into
Conversation
|
@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. |
collinsezedike
left a comment
There was a problem hiding this comment.
@ibochielizabeth-spec the default addresses match packages/shared/src/constants.ts, but this duplicates #1204 (same issue #1144, same three files), so one of the two needs to close. Commit Messages also fails with a 91 character header. See inline.
| USDC_ID="${USDC_ID:-CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU}" | ||
|
|
||
| echo "Building blend-adapter..." | ||
| if [ "$NETWORK" = "mainnet" ]; then |
There was a problem hiding this comment.
deploy-mainnet.sh requires the operator to type MAINNET before it will touch the network. This path now switches to mainnet on the environment variable alone; consider requiring the same typed confirmation here.
|
@ibochielizabeth-spec this stays as the single path for #1144, and #1204 is being closed because it makes the same change. Two items remain before this can merge. Amend the commit header, currently 91 characters, to 72 or fewer. Add a typed |
692f38f to
e6c13e2
Compare
collinsezedike
left a comment
There was a problem hiding this comment.
@ibochielizabeth-spec Thank you for your contribution. If you are interested, there are more open issues to pick up.
|
@ibochielizabeth-spec Thank you for your contribution. If you found Meridian useful, please star the repository: https://github.com/drydocs/meridian. |
Closes #1144
Summary of Changes
scripts/redeploy-blend-adapter.shto allow overridingNETWORK(defaulting totestnet), validating that it only targetstestnetormainnet.MAINNETconfirmation used bydeploy-mainnet.shbefore any mainnet build, upload, or deploy action.BLEND_POOL_IDandUSDC_ID:CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75) and Blend mainnet USDC pool Fixed V2 (CAJJZSGMMM3PD7N33TAPHGBUGTB43OC73HVIK2L2G6BNGGGYOSSYBXBD).CCEBVDYM32YNYCVNRXQKDFFPISJJCV557CDZEIRBEE4NCV4KHPQ44HGF) and testnet USDC SAC (CAQCFVLOBK5GIULPNZRGATJJMIZL5BSP7X5YJVMGCPTUEPFM4AVSRCJU).apps/docs/operations/mainnet-deployment.mdrollback instructions to document invokingscripts/redeploy-blend-adapter.shwithNETWORK=mainnet.apps/docs/operations/environment-variables.mddeployment variables reference to includeNETWORK.