Skip to content

Commit 9745c68

Browse files
authored
fix(driver, prover): remove prover_set req, move flags (#411)
* fix(driver, prover): remove prover_set req, move flags * . * .
1 parent 1ee99e2 commit 9745c68

File tree

4 files changed

+16
-22
lines changed

4 files changed

+16
-22
lines changed

script/start-driver-hekla.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@ ARGS="--l1.ws ${L1_ENDPOINT_WS} \
1212
--taikoAnchor ${TAIKO_ANCHOR_ADDRESS} \
1313
--verbosity ${VERBOSITY} \
1414
--preconfirmation.whitelist ${PRECONFIRMATION_WHITELIST} \
15-
--preconfirmation.serverPort 9871 \
16-
--jwtSecret /data/taiko-geth/geth/jwtsecret \
17-
--p2p.bootnodes ${P2P_BOOTNODES} \
18-
--p2p.listen.ip 0.0.0.0 \
19-
--p2p.useragent taiko \
20-
--p2p.peerstore.path /node-keys/peerstore \
21-
--p2p.discovery.path /node-keys/discv5"
15+
--jwtSecret /data/taiko-geth/geth/jwtsecret"
2216

2317
if [ "$DISABLE_P2P_SYNC" = "false" ]; then
2418
ARGS="${ARGS} --p2p.sync \
2519
--p2p.checkPointSyncUrl ${P2P_SYNC_URL}"
2620
fi
2721

2822
if [ "$ENABLE_PRECONFS_P2P" = "true" ]; then
23+
ARGS="${ARGS} --p2p.peerstore.path /node-keys/peerstore \
24+
--p2p.discovery.path /node-keys/discv5 \
25+
--preconfirmation.serverPort 9871 \
26+
--p2p.listen.ip 0.0.0.0 \
27+
--p2p.useragent taiko \
28+
--p2p.bootnodes ${P2P_BOOTNODES}"
29+
2930
if [ -z "$PRIV_FILE" ] && [ -z "$PRIV_RAW" ]; then
3031
echo "Error: Either PRIV_FILE or PRIV_RAW must be provided" >&2
3132
exit 1

script/start-driver.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@ ARGS="--l1.ws "${L1_ENDPOINT_WS}" \
1212
--taikoAnchor "${TAIKO_ANCHOR_ADDRESS}" \
1313
--verbosity ${VERBOSITY} \
1414
--preconfirmation.whitelist ${PRECONFIRMATION_WHITELIST} \
15-
--preconfirmation.serverPort 9871 \
16-
--jwtSecret /data/taiko-geth/geth/jwtsecret \
17-
--p2p.bootnodes ${P2P_BOOTNODES} \
18-
--p2p.listen.ip 0.0.0.0 \
19-
--p2p.useragent taiko \
20-
--p2p.peerstore.path /node-keys/peerstore \
21-
--p2p.discovery.path /node-keys/discv5"
15+
--jwtSecret /data/taiko-geth/geth/jwtsecret"
2216

2317
if [ "$DISABLE_P2P_SYNC" = "false" ]; then
2418
ARGS="${ARGS} --p2p.sync \
2519
--p2p.checkPointSyncUrl ${P2P_SYNC_URL}"
2620
fi
2721

2822
if [ "$ENABLE_PRECONFS_P2P" = "true" ]; then
23+
ARGS="${ARGS} --p2p.peerstore.path /node-keys/peerstore \
24+
--p2p.discovery.path /node-keys/discv5 \
25+
--preconfirmation.serverPort 9871 \
26+
--p2p.listen.ip 0.0.0.0 \
27+
--p2p.useragent taiko \
28+
--p2p.bootnodes ${P2P_BOOTNODES}"
29+
2930
if [ -z "$PRIV_FILE" ] && [ -z "$PRIV_RAW" ]; then
3031
echo "Error: Either PRIV_FILE or PRIV_RAW must be provided" >&2
3132
exit 1

script/start-prover-relayer-hekla.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ if [ "$ENABLE_PROVER" = "true" ]; then
2929
exit 1
3030
fi
3131

32-
if [ -n "$PROVER_SET" ]; then
33-
ARGS="${ARGS} --proverSet ${PROVER_SET}"
34-
fi
35-
3632
if [ -n "$TOKEN_ALLOWANCE" ]; then
3733
ARGS="${ARGS} --prover.allowance ${TOKEN_ALLOWANCE}"
3834
fi

script/start-prover-relayer.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ if [ "$ENABLE_PROVER" = "true" ]; then
2929
exit 1
3030
fi
3131

32-
if [ -n "$PROVER_SET" ]; then
33-
ARGS="${ARGS} --proverSet ${PROVER_SET}"
34-
fi
35-
3632
if [ -n "$TOKEN_ALLOWANCE" ]; then
3733
ARGS="${ARGS} --prover.allowance ${TOKEN_ALLOWANCE}"
3834
fi

0 commit comments

Comments
 (0)