From d41fd865e751910c0967f0af9c6a7a078e37eba6 Mon Sep 17 00:00:00 2001 From: lumtis Date: Fri, 17 May 2024 16:27:14 +0200 Subject: [PATCH] fix test --- contrib/localnet/scripts/start-zetacored.sh | 4 +--- .../zetacored/zetacored_zetacore0/config/genesis.json | 10 ---------- .../zetacored/zetacored_zetacore1/config/genesis.json | 10 ---------- 3 files changed, 1 insertion(+), 23 deletions(-) diff --git a/contrib/localnet/scripts/start-zetacored.sh b/contrib/localnet/scripts/start-zetacored.sh index 400017f44a..0e1453d4f5 100755 --- a/contrib/localnet/scripts/start-zetacored.sh +++ b/contrib/localnet/scripts/start-zetacored.sh @@ -148,9 +148,7 @@ then cat $HOME/.zetacored/config/genesis.json | jq '.app_state["authority"]["policies"]["items"][0]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json cat $HOME/.zetacored/config/genesis.json | jq '.app_state["authority"]["policies"]["items"][1]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json cat $HOME/.zetacored/config/genesis.json | jq '.app_state["authority"]["policies"]["items"][2]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json - cat $HOME/.zetacored/config/genesis.json | jq '.app_state["observer"]["params"]["admin_policy"][0]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json - cat $HOME/.zetacored/config/genesis.json | jq '.app_state["observer"]["params"]["admin_policy"][1]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json - + # give balance to runner accounts to deploy contracts directly on zEVM # deployer zetacored add-genesis-account zeta1uhznv7uzyjq84s3q056suc8pkme85lkvhrz3dd 100000000000000000000000000azeta diff --git a/contrib/localnet/zetacored/zetacored_zetacore0/config/genesis.json b/contrib/localnet/zetacored/zetacored_zetacore0/config/genesis.json index ab30faef7a..35f92d2405 100644 --- a/contrib/localnet/zetacored/zetacored_zetacore0/config/genesis.json +++ b/contrib/localnet/zetacored/zetacored_zetacore0/config/genesis.json @@ -634,16 +634,6 @@ "min_observer_delegation": "10000000000.000000000000000000", "is_supported": true } - ], - "admin_policy": [ - { - "policy_type": "group1", - "address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk" - }, - { - "policy_type": "group2", - "address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk" - } ] } }, diff --git a/contrib/localnet/zetacored/zetacored_zetacore1/config/genesis.json b/contrib/localnet/zetacored/zetacored_zetacore1/config/genesis.json index ab30faef7a..35f92d2405 100644 --- a/contrib/localnet/zetacored/zetacored_zetacore1/config/genesis.json +++ b/contrib/localnet/zetacored/zetacored_zetacore1/config/genesis.json @@ -634,16 +634,6 @@ "min_observer_delegation": "10000000000.000000000000000000", "is_supported": true } - ], - "admin_policy": [ - { - "policy_type": "group1", - "address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk" - }, - { - "policy_type": "group2", - "address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk" - } ] } },