diff --git a/deployment/ccip/changeset/cs_deploy_chain_test.go b/deployment/ccip/changeset/cs_deploy_chain_test.go index 08ab8fb892a..147ebdc04f4 100644 --- a/deployment/ccip/changeset/cs_deploy_chain_test.go +++ b/deployment/ccip/changeset/cs_deploy_chain_test.go @@ -129,7 +129,8 @@ func TestDeployCCIPContracts(t *testing.T) { fmt.Println(string(b)) } -func TestYash(t *testing.T) { +// IGNORE +func TestSolanaKeygen(t *testing.T) { privateKey, _ := solana.NewRandomPrivateKey() fmt.Println(privateKey.String()) @@ -159,14 +160,8 @@ func TestYash(t *testing.T) { return } - // if err := os.WriteFile(outputFilePath, privateKeyBytes, 0600); err != nil { - // fmt.Printf("Error writing keypair to file: %v\n", err) - // return - // } pk, err := solana.PrivateKeyFromSolanaKeygenFile(outputFilePath) require.NoError(t, err) - fmt.Println(pk.String()) - - // fmt.Printf("Keypair JSON successfully written to: %s\n", outputFilePath) + require.Equal(t, pk.String(), privateKey.String()) } diff --git a/deployment/ccip/changeset/internal/solana_contracts/ccip_router-keypair.json b/deployment/ccip/changeset/internal/solana_contracts/ccip_router-keypair.json new file mode 100644 index 00000000000..ebf7818d328 --- /dev/null +++ b/deployment/ccip/changeset/internal/solana_contracts/ccip_router-keypair.json @@ -0,0 +1 @@ +[101,238,189,81,99,141,117,176,11,49,33,2,218,239,163,125,209,246,2,133,177,222,143,89,48,80,244,247,247,141,216,183,145,28,85,130,47,80,170,11,121,40,143,49,171,88,54,235,39,125,182,141,1,69,71,62,148,230,124,191,22,218,25,173] \ No newline at end of file diff --git a/deployment/ccip/changeset/internal/solana_contracts/ccip_router.so b/deployment/ccip/changeset/internal/solana_contracts/ccip_router.so new file mode 100755 index 00000000000..084318af144 Binary files /dev/null and b/deployment/ccip/changeset/internal/solana_contracts/ccip_router.so differ diff --git a/deployment/solana_chain.go b/deployment/solana_chain.go index 58af751af07..b89ae7a92cb 100644 --- a/deployment/solana_chain.go +++ b/deployment/solana_chain.go @@ -15,7 +15,7 @@ import ( ) var ( - deployBinPath = "/Users/yashvardhan/chainlink-ccip/chains/solana/contracts/target/deploy" + deployBinPath = "./internal/solana_contracts" // keypairPath = "/Users/yashvardhan/.config/solana/id.json" //wallet )