File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " chainlink-deployments-framework " : minor
3+ ---
4+
5+ Specified Solana image to enable arm64 runtime architecture
Original file line number Diff line number Diff line change @@ -210,8 +210,14 @@ func (p *CTFChainProvider) startContainer(
210210 ports := freeport .GetN (p .t , 2 )
211211
212212 image := ""
213+ // workaround on linux to load a separate image
213214 if runtime .GOOS == "linux" {
214- image = "solanalabs/solana:v1.18.26" // workaround on linux to load a separate image
215+ switch runtime .GOARCH {
216+ case "amd64" :
217+ image = "solanalabs/solana:v1.18.26"
218+ case "arm64" :
219+ image = "public.ecr.aws/w0i8p0z9/solana-validator:main-1dcdbc4"
220+ }
215221 }
216222
217223 input := & blockchain.Input {
Original file line number Diff line number Diff line change @@ -84,8 +84,14 @@ func startSolanaContainer(
8484 ports := freeport .GetN (t , 2 )
8585
8686 image := ""
87+ // TODO: workaround on linux
8788 if runtime .GOOS == "linux" {
88- image = "solanalabs/solana:v1.18.26" // TODO: workaround on linux
89+ switch runtime .GOARCH {
90+ case "amd64" :
91+ image = "solanalabs/solana:v1.18.26"
92+ case "arm64" :
93+ image = "public.ecr.aws/w0i8p0z9/solana-validator:main-1dcdbc4"
94+ }
8995 }
9096
9197 bcInput := & blockchain.Input {
You can’t perform that action at this time.
0 commit comments