Skip to content

Commit 15fecbb

Browse files
author
jaypan
committed
Update the setup collator tool because RPC port is the same as the WS port now
1 parent f184c49 commit 15fecbb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/setup_collator.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
NUMBER = 10
1313
WS_PORT_START = 10044
14-
RPC_PORT_START = 20033
14+
RPC_PORT_START = 10044
1515

1616

1717
def setup_collator(ws_port, rpc_port, kp):
@@ -69,14 +69,14 @@ def fund_addrs(kps):
6969
url=PARACHAIN_WS_URL,
7070
)
7171
batch = ExtrinsicBatch(substrate, KP_GLOBAL_SUDO)
72-
batch.compose_sudo_call(
73-
'ParachainStaking',
74-
'set_max_selected_candidates',
75-
{
76-
'new': 32
77-
})
72+
# batch.compose_sudo_call(
73+
# 'ParachainStaking',
74+
# 'set_max_selected_candidates',
75+
# {
76+
# 'new': 32
77+
# })
7878

79-
batch.execute_n_clear()
79+
# batch.execute_n_clear()
8080
batch.compose_sudo_call(
8181
'ParachainStaking',
8282
'force_new_round',

0 commit comments

Comments
 (0)