mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
rpc script fix
This commit is contained in:
parent
9f6279c67a
commit
318047f951
1 changed files with 3 additions and 2 deletions
|
|
@ -1,13 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
signersDump=$(jq . $signersFile)
|
signersFile="matic-cli/devnet/devnet/signer-dump.json"
|
||||||
|
signersDump=$(jq . "$signersFile")
|
||||||
privKey=$(echo "$signersDump" | jq -r ".[0].priv_key")
|
privKey=$(echo "$signersDump" | jq -r ".[0].priv_key")
|
||||||
rpc_url="http://localhost:8545"
|
rpc_url="http://localhost:8545"
|
||||||
|
|
||||||
cd matic-cli/tests/rpc-tests
|
cd matic-cli/tests/rpc-tests
|
||||||
|
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go run main.go --priv-key $privKey --rpc-url $rpc_url
|
go run . --priv-key "$privKey" --rpc-url "$rpc_url"
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
Loading…
Reference in a new issue