Skip to content

Commit

Permalink
Fix the runtime upgrade hang
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypan committed Nov 1, 2024
1 parent 3048c35 commit 29b319e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/runtime_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions tools/stress_delegator_multi_collators_evm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 29b319e

Please sign in to comment.