From e4b4a7c62e343bc69df13da9e5874f1c86b53a24 Mon Sep 17 00:00:00 2001 From: Robert Pirtle Date: Wed, 21 Dec 2022 13:06:02 -0800 Subject: [PATCH] explicitly enumerate internal testnet validators (#1443) --- .github/scripts/seed-internal-testnet.sh | 4 ++-- .github/workflows/cd-seed-chain.yml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/scripts/seed-internal-testnet.sh b/.github/scripts/seed-internal-testnet.sh index c30d1ff3..cce2802b 100755 --- a/.github/scripts/seed-internal-testnet.sh +++ b/.github/scripts/seed-internal-testnet.sh @@ -48,10 +48,10 @@ npx hardhat --network "${ERC20_DEPLOYER_NETWORK_NAME}" mint-erc20 "$DAI_CONTRACT # give dev-wallet enough delegation power to pass proposals by itself # enumerate all genesis validators -GENTX_VALIDATORS=($(curl -s "${CHAIN_API_URL}" | jq -r '.result.genesis.app_state.genutil.gen_txs[].body.messages[0].validator_address')) +GENTX_VALIDATORS=("kavavaloper1xcgtffvv2yeqmgs3yz4gv29kgjrj8usxrnrlwp" "kavavaloper1w66m9hdzwgd6uc8g93zqkcumgwzrpcw958sh3s") # issue 300KAVA to delegate to each validator -kava tx issuance issue "$((${#GENTX_VALIDATORS[@]}*300000000))"ukava kava1vlpsrmdyuywvaqrv7rx6xga224sqfwz3fyfhwq \ +kava tx issuance issue 600000000ukava kava1vlpsrmdyuywvaqrv7rx6xga224sqfwz3fyfhwq \ --from dev-wallet --gas-prices 0.5ukava -y # delegate 300KAVA to each validator diff --git a/.github/workflows/cd-seed-chain.yml b/.github/workflows/cd-seed-chain.yml index e7048f84..45e1e335 100644 --- a/.github/workflows/cd-seed-chain.yml +++ b/.github/workflows/cd-seed-chain.yml @@ -61,8 +61,6 @@ jobs: - name: compile default erc20 contracts run: make compile-contracts working-directory: kava-bridge - - name: install jq - run: sudo apt-get install -y jq - name: run seed scripts run: bash ${GITHUB_WORKSPACE}/.github/scripts/${SEED_SCRIPT_FILENAME} working-directory: kava-bridge/contract