From 63751d35e20c5535a7dacb93539a33891d71223a Mon Sep 17 00:00:00 2001 From: Graham Goh Date: Fri, 10 Jan 2025 12:50:36 +1100 Subject: [PATCH] fix(solana): fix broken smoke test The smoke test was expecting the mcm.so file due to the config in `blockchain_a.solana_programs` , since we dont provide any program to deploy in the smoke test, we should not define that config. I have also updated the default port for solana to be 8999 as that is the default port for solana test validator and it is what users would expect. --- framework/components/blockchain/solana.go | 2 +- framework/examples/myproject/smoke_solana.toml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/framework/components/blockchain/solana.go b/framework/components/blockchain/solana.go index 91fc6f409..191c7c0d0 100644 --- a/framework/components/blockchain/solana.go +++ b/framework/components/blockchain/solana.go @@ -40,7 +40,7 @@ func defaultSolana(in *Input) { in.Image = "solanalabs/solana:v1.18.26" } if in.Port == "" { - in.Port = "8545" + in.Port = "8999" } } diff --git a/framework/examples/myproject/smoke_solana.toml b/framework/examples/myproject/smoke_solana.toml index d01cdaaeb..c7409937c 100644 --- a/framework/examples/myproject/smoke_solana.toml +++ b/framework/examples/myproject/smoke_solana.toml @@ -3,7 +3,3 @@ type = "solana" public_key = "9n1pyVGGo6V4mpiSDMVay5As9NurEkY283wwRk1Kto2C" contracts_dir = "." - image = "solanalabs/solana:v1.18.26" - -[blockchain_a.solana_programs] - mcm = "6UmMZr5MEqiKWD5jqTJd1WCR5kT8oZuFYBLJFi1o6GQX"