explicitly enumerate internal testnet validators (#1443)

This commit is contained in:
Robert Pirtle 2022-12-21 13:06:02 -08:00 committed by GitHub
parent 66a60fa6d8
commit e4b4a7c62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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 # give dev-wallet enough delegation power to pass proposals by itself
# enumerate all genesis validators # 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 # 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 --from dev-wallet --gas-prices 0.5ukava -y
# delegate 300KAVA to each validator # delegate 300KAVA to each validator

View File

@ -61,8 +61,6 @@ jobs:
- name: compile default erc20 contracts - name: compile default erc20 contracts
run: make compile-contracts run: make compile-contracts
working-directory: kava-bridge working-directory: kava-bridge
- name: install jq
run: sudo apt-get install -y jq
- name: run seed scripts - name: run seed scripts
run: bash ${GITHUB_WORKSPACE}/.github/scripts/${SEED_SCRIPT_FILENAME} run: bash ${GITHUB_WORKSPACE}/.github/scripts/${SEED_SCRIPT_FILENAME}
working-directory: kava-bridge/contract working-directory: kava-bridge/contract