From 80c8c2c0f029498fe062469e9dcacecc7e7170fe Mon Sep 17 00:00:00 2001 From: Robert Pirtle Date: Thu, 22 Jun 2023 11:03:46 -0700 Subject: [PATCH] ci: fix internal testnet evmutil params (#1641) we never voted on a param change proposal we submitted. now we do so the proposal actually takes effect. --- .github/scripts/seed-internal-testnet.sh | 4 ++++ .github/scripts/seed-protonet.sh | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/scripts/seed-internal-testnet.sh b/.github/scripts/seed-internal-testnet.sh index bcc3bdef..840796e1 100755 --- a/.github/scripts/seed-internal-testnet.sh +++ b/.github/scripts/seed-internal-testnet.sh @@ -156,8 +156,12 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams" # make sure to update god committee member permissions for the module # and params being updated (see below for example) # https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903 +# committee 1 is the stability committee. on internal testnet, this has only one member. kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y +# vote on the proposal. this assumes no other committee proposal has ever been submitted (id=1) +kava tx committee vote 1 yes --gas 2000000 --gas-prices 0.01ukava --from god -y + # fetch current module params updatedEvmUtilParams=$(curl https://api.app.internal.testnet.us-east.production.kava.io/kava/evmutil/v1beta1/params) printf "updated evm util module params\n %s" , "$updatedEvmUtilParams" diff --git a/.github/scripts/seed-protonet.sh b/.github/scripts/seed-protonet.sh index 8648d09c..34436555 100755 --- a/.github/scripts/seed-protonet.sh +++ b/.github/scripts/seed-protonet.sh @@ -150,6 +150,9 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams" # https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903 kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y +# vote on the proposal. this assumes no other committee proposal has ever been submitted (id=1) +kava tx committee vote 1 yes --gas 2000000 --gas-prices 0.01ukava --from god -y + # fetch current module params updatedEvmUtilParams=$(curl https://api.app.internal.testnet.us-east.production.kava.io/kava/evmutil/v1beta1/params) printf "updated evm util module params\n %s" , "$updatedEvmUtilParams"