go-ethereum/integration-tests/rpc_test.sh
2025-02-24 22:52:20 -03:00

14 lines
No EOL
316 B
Bash

#!/bin/bash
set -e
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 . --priv-key "$privKey" --rpc-url "$rpc_url" --log-req-res true
cd -