diff --git a/scripts/local_testnet/start_local_testnet.sh b/scripts/local_testnet/start_local_testnet.sh index a188a1458..aa780339b 100755 --- a/scripts/local_testnet/start_local_testnet.sh +++ b/scripts/local_testnet/start_local_testnet.sh @@ -120,7 +120,7 @@ EL_base_auth_http=5000 (( $VC_COUNT < $BN_COUNT )) && SAS=-s || SAS= for (( el=1; el<=$BN_COUNT; el++ )); do - execute_command_add_PID geth_$el.log ./geth.sh $DATADIR/geth_datadir$el $((EL_base_network + $el)) $((EL_base_http + $el)) $((EL_base_auth_http + $el)) $genesis_file + execute_command_add_PID geth_$el.log ./geth.sh $DATADIR/geth_datadir$el $((EL_base_network + $el)) $((EL_base_http + $el)) $((EL_base_auth_http + $el + 10)) $genesis_file done sleeping 20 @@ -130,6 +130,8 @@ sed -i 's/"shanghaiTime".*$/"shanghaiTime": 0,/g' genesis.json sed -i 's/"shardingForkTime".*$/"shardingForkTime": 0,/g' genesis.json for (( bn=1; bn<=$BN_COUNT; bn++ )); do + + execute_command_add_PID json_snoop_$bn.log json_rpc_snoop -p $((EL_base_auth_http + $bn)) -b 0.0.0.0 http://localhost:$((EL_base_auth_http + $bn + 10)) secret=$DATADIR/geth_datadir$bn/geth/jwtsecret echo $secret execute_command_add_PID beacon_node_$bn.log ./beacon_node.sh $SAS -d $DEBUG_LEVEL $DATADIR/node_$bn $((BN_udp_tcp_base + $bn)) $((BN_http_port_base + $bn)) http://localhost:$((EL_base_auth_http + $bn)) $secret