local testnet config updates

This commit is contained in:
realbigsean
2022-12-06 08:54:46 -05:00
parent e72d9fb922
commit 2704955b2e
8 changed files with 20 additions and 14 deletions

View File

@@ -104,10 +104,10 @@ echo "executing: ./setup.sh >> $LOG_DIR/setup.log"
# Delay to let boot_enr.yaml to be created
execute_command_add_PID bootnode.log ./bootnode.sh
sleeping 1
sleeping 3
execute_command_add_PID el_bootnode.log ./el_bootnode.sh
sleeping 1
sleeping 3
# Start beacon nodes
BN_udp_tcp_base=9000
@@ -120,12 +120,14 @@ 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
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