Skip to content

Commit bfacb2a

Browse files
committed
chore(solana): simplify deployment to same address
1 parent b93e1e8 commit bfacb2a

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

solana/mainnet/2025-10-27-deploy-mcm/.env

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ANCHOR_VERSION=0.29.0
44
# Variables for cloning the MCM repo
55
MCM_REPO=https://github.com/base/chainlink-ccip/
66
MCM_COMMIT=efe0405f3e2fa6789a57ec510e101828040a384b
7-
ID_PATCH=patches/id.patch
87

98
# Variables for deploying and sending transactions
109
CLUSTER=mainnet
@@ -19,8 +18,8 @@ MCM_PROGRAM_ID=Ea5qsVs2kwQXi7LMAh3Qg5YKpuPQbW7oqvYaPXUwBwoX # Same as devnet
1918
MCM_MULTISIG_ID_0=0x0000000000000000000000000000000000000000000000000000000000000000
2019
MCM_MULTISIG_ID_1=0x0000000000000000000000000000000000000000000000000000000000000001
2120
MCM_CHAIN_ID=1
22-
MCM_AUTHORITY_0=
23-
MCM_AUTHORITY_1=
21+
MCM_AUTHORITY_0=D5XP8THXxEhwJ9ajZDHVtRjMZ9u2YxYCUQ65reoQBobr
22+
MCM_AUTHORITY_1=2RQyJmfANnkq39hpbKP4pCMQVjaxrUVmfezdAc4WJLpV
2423
MCM_MULTISIG_INIT_ARTIFACT_0=artifacts/mcm-multisig-init-0.json
2524
MCM_MULTISIG_INIT_ARTIFACT_1=artifacts/mcm-multisig-init-1.json
2625

solana/mainnet/2025-10-27-deploy-mcm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ step1-clone-and-patch:
3333
rm -rf chainlink-ccip
3434
git clone --filter=blob:none $(MCM_REPO) chainlink-ccip
3535
cd chainlink-ccip && \
36-
git checkout $(MCM_COMMIT) && \
37-
git apply ../$(ID_PATCH)
36+
git checkout $(MCM_COMMIT)
3837

3938
# Step 2: Build and deploy the MCM program
4039
.PHONY: step2-build-and-deploy
@@ -43,6 +42,7 @@ step2-build-and-deploy:
4342
mkdir -p chainlink-ccip/chains/solana/contracts/target/deploy/ && \
4443
cp $(MCM_KEYPAIR) chainlink-ccip/chains/solana/contracts/target/deploy/mcm-keypair.json
4544
cd chainlink-ccip/chains/solana/contracts && \
45+
anchor keys sync && \
4646
anchor build -p mcm && \
4747
anchor deploy --provider.cluster $(CLUSTER) --provider.wallet $(AUTHORITY) -p mcm
4848

solana/mainnet/2025-10-27-deploy-mcm/patches/id.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)