From 2b882d97f7ce6a0517b8cf52aa1162bb9e342507 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Fri, 8 Sep 2023 12:42:57 -0400 Subject: [PATCH] fix: correctly spell SOROBAN_NETWORK_PASSPHRASE and --salt -> --id --- cmd/soroban-rpc/internal/test/cli_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/soroban-rpc/internal/test/cli_test.go b/cmd/soroban-rpc/internal/test/cli_test.go index 72553c67ad..5c8c5fe927 100644 --- a/cmd/soroban-rpc/internal/test/cli_test.go +++ b/cmd/soroban-rpc/internal/test/cli_test.go @@ -28,7 +28,7 @@ func TestCLIContractInstall(t *testing.T) { func TestCLIContractDeploy(t *testing.T) { NewCLITest(t) - output, err := runCLICommand("contract deploy --id 1 --wasm " + helloWorldContractPath) + output, err := runCLICommand("contract deploy --salt 0 --wasm " + helloWorldContractPath) assert.NoError(t, err) require.Contains(t, output, "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM") } @@ -57,7 +57,7 @@ func runCLICommand(cmd string) (string, error) { c := exec.Command("cargo", args...) c.Env = append(os.Environ(), fmt.Sprintf("SOROBAN_RPC_URL=http://localhost:%d/", sorobanRPCPort), - fmt.Sprintf("SOROBAN_NETWORK_PASPRHASE=%s", StandaloneNetworkPassphrase), + fmt.Sprintf("SOROBAN_NETWORK_PASSPHRASE=%s", StandaloneNetworkPassphrase), ) bin, err := c.CombinedOutput() return string(bin), err