Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed May 17, 2024
1 parent 5724fe6 commit d41fd86
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
4 changes: 1 addition & 3 deletions contrib/localnet/scripts/start-zetacored.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions contrib/localnet/zetacored/zetacored_zetacore0/config/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,16 +634,6 @@
"min_observer_delegation": "10000000000.000000000000000000",
"is_supported": true
}
],
"admin_policy": [
{
"policy_type": "group1",
"address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"
},
{
"policy_type": "group2",
"address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"
}
]
}
},
Expand Down
10 changes: 0 additions & 10 deletions contrib/localnet/zetacored/zetacored_zetacore1/config/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,16 +634,6 @@
"min_observer_delegation": "10000000000.000000000000000000",
"is_supported": true
}
],
"admin_policy": [
{
"policy_type": "group1",
"address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"
},
{
"policy_type": "group2",
"address": "zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"
}
]
}
},
Expand Down

0 comments on commit d41fd86

Please sign in to comment.