Skip to content

Commit

Permalink
feat:fix native script
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Kai <[email protected]>
  • Loading branch information
GrapeBaBa committed Mar 17, 2024
1 parent 281510a commit 4d3c146
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/start-hildr-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,27 @@ then
--jwt-secret $JWT_SECRET \
--l1-rpc-url $L1_WS_RPC_URL \
--l1-ws-rpc-url $L1_WS_RPC_URL \
--l1-beacon-url $L1_BEACON_RPC_URL \
--l2-rpc-url http://${EXECUTION_CLIENT}:8545 \
--l2-engine-url http://${EXECUTION_CLIENT}:8551 \
--rpc-port $RPC_PORT \
$DEVNET \
--sync-mode $SYNC_MODE
--sync-mode $SYNC_MODE \
--log-level $LOG_LEVEL
elif [ $SYNC_MODE = "checkpoint"]
then
exec hildr-node \
--network $NETWORK \
--jwt-secret $JWT_SECRET \
--l1-rpc-url $L1_WS_RPC_URL \
--l1-ws-rpc-url $L1_WS_RPC_URL \
--l1-beacon-url $L1_BEACON_RPC_URL \
--l2-rpc-url http://${EXECUTION_CLIENT}:8545 \
--l2-engine-url http://${EXECUTION_CLIENT}:8551 \
--rpc-port $RPC_PORT \
$DEVNET \
--sync-mode $SYNC_MODE \
--log-level $LOG_LEVEL \
--checkpoint-sync-url $CHECKPOINT_SYNC_URL \
--checkpoint-hash $CHECKPOINT_HASH
else
Expand Down

0 comments on commit 4d3c146

Please sign in to comment.