download dependencies to run script

This commit is contained in:
Lucca Martins 2025-02-24 18:00:16 -03:00
parent 41459a77c8
commit dd6689a6c7
No known key found for this signature in database
GPG key ID: DC3D7F76BDAE23BF

View file

@ -5,5 +5,9 @@ signersDump=$(jq . $signersFile)
privKey=$(echo "$signersDump" | jq -r ".[0].priv_key")
rpc_url="http://localhost:8545"
cd matic-cli/tests/rpc-tests
go run matic-cli/tests/rpc-tests/main.go --priv-key $privKey --rpc-url $rpc_url
go mod tidy
go main.go --priv-key $privKey --rpc-url $rpc_url
cd -