From 29b319e87d609d67829cc006fd454a78dec2718d Mon Sep 17 00:00:00 2001 From: jaypan Date: Fri, 1 Nov 2024 18:40:37 +0100 Subject: [PATCH] Fix the runtime upgrade hang --- tools/runtime_upgrade.py | 2 ++ tools/stress_delegator_multi_collators_evm.py | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/runtime_upgrade.py b/tools/runtime_upgrade.py index 49f9d82..452659e 100644 --- a/tools/runtime_upgrade.py +++ b/tools/runtime_upgrade.py @@ -15,6 +15,7 @@ from peaq.utils import get_account_balance from tools.constants import BLOCK_GENERATE_TIME from tools.xcm_setup import setup_hrmp_channel +from tools.utils import show_title import argparse import pprint @@ -187,6 +188,7 @@ def main(): if __name__ == '__main__': + show_title('Runtime upgrade') # For the monkey patching to work, the module must be reloaded # Avoid the dependency on the module name if 'substrateinterface' in sys.modules: diff --git a/tools/stress_delegator_multi_collators_evm.py b/tools/stress_delegator_multi_collators_evm.py index a64e6fa..ae92749 100644 --- a/tools/stress_delegator_multi_collators_evm.py +++ b/tools/stress_delegator_multi_collators_evm.py @@ -220,5 +220,6 @@ def main(): # noqa: C901 print('Setup delegators successfully {}'.format(i)) +# python3 tools/stress_delegator_multi_collators_evm.py --number 8 --ws wss://docker-test.peaq.network --rpc https://docker-test.peaq.network if __name__ == '__main__': main()