Skip to content

Commit 18fbb3c

Browse files
jmank88chainchadBwest981
authored
enable solana LOOPP mode by default (smartcontractkit#16685)
* enable solana LOOPP mode by default * Add solana build arg for goreleaser * Fix typo in Dockerfile comment --------- Co-authored-by: chainchad <96362174+chainchad@users.noreply.github.com> Co-authored-by: Brandon West <3317895+Bwest981@users.noreply.github.com>
1 parent d191cd9 commit 18fbb3c

4 files changed

+16
-1
lines changed

.changeset/serious-scissors-live.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink": minor
3+
---
4+
5+
enable Solana LOOPP mode by default

.goreleaser.develop.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ dockers:
4949
- --pull
5050
- --build-arg=CHAINLINK_USER=chainlink
5151
- --build-arg=COMMIT_SHA={{ .FullCommit }}
52+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
5253
- --label=org.opencontainers.image.created={{ .Date }}
5354
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"
5455
- --label=org.opencontainers.image.licenses=MIT
@@ -100,6 +101,7 @@ dockers:
100101
- --pull
101102
- --build-arg=CHAINLINK_USER=chainlink
102103
- --build-arg=COMMIT_SHA={{ .FullCommit }}
104+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
103105
- --label=org.opencontainers.image.created={{ .Date }}
104106
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"
105107
- --label=org.opencontainers.image.licenses=MIT
@@ -152,6 +154,7 @@ dockers:
152154
- --pull
153155
- --build-arg=CHAINLINK_USER=chainlink
154156
- --build-arg=COMMIT_SHA={{ .FullCommit }}
157+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
155158
- --build-arg=CL_CHAIN_DEFAULTS=/ccip-config
156159
- --label=org.opencontainers.image.created={{ .Date }}
157160
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"
@@ -207,6 +210,7 @@ dockers:
207210
- --pull
208211
- --build-arg=CHAINLINK_USER=chainlink
209212
- --build-arg=COMMIT_SHA={{ .FullCommit }}
213+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
210214
- --build-arg=CL_CHAIN_DEFAULTS=/ccip-config
211215
- --label=org.opencontainers.image.created={{ .Date }}
212216
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"

.goreleaser.production.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ dockers:
5050
- --pull
5151
- --build-arg=CHAINLINK_USER=chainlink
5252
- --build-arg=COMMIT_SHA={{ .FullCommit }}
53+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
5354
- --label=org.opencontainers.image.created={{ .Date }}
5455
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"
5556
- --label=org.opencontainers.image.licenses=MIT
@@ -103,6 +104,7 @@ dockers:
103104
- --pull
104105
- --build-arg=CHAINLINK_USER=chainlink
105106
- --build-arg=COMMIT_SHA={{ .FullCommit }}
107+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
106108
- --label=org.opencontainers.image.created={{ .Date }}
107109
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"
108110
- --label=org.opencontainers.image.licenses=MIT
@@ -157,6 +159,7 @@ dockers:
157159
- --pull
158160
- --build-arg=CHAINLINK_USER=chainlink
159161
- --build-arg=COMMIT_SHA={{ .FullCommit }}
162+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
160163
- --build-arg=CL_CHAIN_DEFAULTS=/ccip-config
161164
- --label=org.opencontainers.image.created={{ .Date }}
162165
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"
@@ -214,6 +217,7 @@ dockers:
214217
- --pull
215218
- --build-arg=CHAINLINK_USER=chainlink
216219
- --build-arg=COMMIT_SHA={{ .FullCommit }}
220+
- --build-arg=CL_SOLANA_CMD=chainlink-solana
217221
- --build-arg=CL_CHAIN_DEFAULTS=/ccip-config
218222
- --label=org.opencontainers.image.created={{ .Date }}
219223
- --label=org.opencontainers.image.description="node of the decentralized oracle network, bridging on and off-chain computation"

core/chainlink.Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@ RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
5858

5959
COPY --from=buildgo /go/bin/chainlink /usr/local/bin/
6060

61-
# Install (but don't enable) LOOP Plugins
61+
# Install (but don't enable) feeds LOOP Plugin
6262
COPY --from=buildplugins /go/bin/chainlink-feeds /usr/local/bin/
63+
# Install and enable Solana LOOP Plugin
6364
COPY --from=buildplugins /go/bin/chainlink-solana /usr/local/bin/
65+
ENV CL_SOLANA_CMD=chainlink-solana
6466

6567
# CCIP specific
6668
COPY ./cci[p]/confi[g] /ccip-config

0 commit comments

Comments
 (0)