From 9cff9452c11caff487b50fb8fa73fa3fd939ae20 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Mon, 2 Dec 2024 09:23:19 +0800 Subject: [PATCH] prune on node2 --- integration_tests/test_permissions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration_tests/test_permissions.py b/integration_tests/test_permissions.py index ce7131b1fe..be59d61ccb 100644 --- a/integration_tests/test_permissions.py +++ b/integration_tests/test_permissions.py @@ -9,7 +9,7 @@ def test_permissions_updates(cronos): - reproduce an iavl prune issue: https://github.com/cosmos/iavl/pull/1007 """ acc = eth_to_bech32(ADDRS["signer1"]) - cli = cronos.cosmos_cli(1) # node1 is iavl + cli = cronos.cosmos_cli(2) # node2 is iavl cli.create_account("community", os.environ["COMMUNITY_MNEMONIC"]) cli.create_account("admin", os.environ["VALIDATOR1_MNEMONIC"]) rsp = cli.query_permissions(acc) @@ -31,9 +31,9 @@ def test_permissions_updates(cronos): assert rsp["can_change_token_mapping"] is True assert rsp["can_turn_bridge"] is True - cronos.supervisorctl("stop", "cronos_777-1-node1") + cronos.supervisorctl("stop", "cronos_777-1-node2") print(cli.prune()) - cronos.supervisorctl("start", "cronos_777-1-node1") + cronos.supervisorctl("start", "cronos_777-1-node2") rsp = cli.update_permissions(acc, 4, from_="admin") assert rsp["code"] == 0, rsp["raw_log"]