From 318047f9516918f961636ecb99c1fb47b0ba07ca Mon Sep 17 00:00:00 2001 From: Lucca Martins Date: Mon, 24 Feb 2025 19:14:23 -0300 Subject: [PATCH] rpc script fix --- integration-tests/rpc_test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/integration-tests/rpc_test.sh b/integration-tests/rpc_test.sh index 05bc9f708f..c55e4133c7 100644 --- a/integration-tests/rpc_test.sh +++ b/integration-tests/rpc_test.sh @@ -1,13 +1,14 @@ #!/bin/bash set -e -signersDump=$(jq . $signersFile) +signersFile="matic-cli/devnet/devnet/signer-dump.json" +signersDump=$(jq . "$signersFile") privKey=$(echo "$signersDump" | jq -r ".[0].priv_key") rpc_url="http://localhost:8545" cd matic-cli/tests/rpc-tests go mod tidy -go run main.go --priv-key $privKey --rpc-url $rpc_url +go run . --priv-key "$privKey" --rpc-url "$rpc_url" cd - \ No newline at end of file