Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(prover,proposer,driver): upgrade client version to 0.43.0 on Hekla #351

Merged
merged 10 commits into from
Jan 15, 2025
Prev Previous commit
Next Next commit
rm deprecated config & add new optional config
  • Loading branch information
YoGhurt111 committed Jan 14, 2025
commit 3f46f42498195d8620ee4441439236c684592997
1 change: 0 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ P2P_SYNC_URL=https://rpc.mainnet.taiko.xyz
# If you are using a local Mainnet L1 node, you can refer to it as "http://host.docker.internal:8545" and "ws://host.docker.internal:8546", which refer to the default ports in the .env for an eth-docker L1 node.
# However, you may need to add this host to docker-compose.yml. If that does not work, you can try the private local ip address (e.g. http://192.168.1.15:8545). You can find that with `ip addr show` or a similar command.
# In addition, you can use your public ip address followed by the specific ports for http and ws (e.g. http://82.168.1.15:8545). You can find that with `hostname -I | awk '{print $1}'`.
L1_ENDPOINT_HTTP=
L1_ENDPOINT_WS=
# HTTP RPC endpoint of a L1 beacon node. Everything behind the top-level domain is ignored. Make sure you don't need to work with subdirectories. The path will always be /eth/v1...
# If you are using a local Mainnet L1 node, you can refer to it as "http://host.docker.internal:5052", which refer to the default REST port in the .env for an eth-docker L1 node.
Expand Down
10 changes: 9 additions & 1 deletion .env.sample.hekla
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ P2P_SYNC_URL=https://rpc.hekla.taiko.xyz
# If you are using a local Holesky L1 node, you can refer to it as "http://host.docker.internal:8545" and "ws://host.docker.internal:8546", which refer to the default ports in the .env for an eth-docker L1 node.
# However, you may need to add this host to docker-compose.yml. If that does not work, you can try the private local ip address (e.g. http://192.168.1.15:8545). You can find that with `ip addr show` or a similar command.
# In addition, you can use your public ip address followed by the specific ports for http and ws (e.g. http://82.168.1.15:8545). You can find that with `hostname -I | awk '{print $1}'`.
L1_ENDPOINT_HTTP=
L1_ENDPOINT_WS=
# HTTP RPC endpoint of a L1 beacon node. Everything behind the top-level domain is ignored. Make sure you don't need to work with subdirectories. The path will always be /eth/v1...
# If you are using a local Holesky L1 node, you can refer to it as "http://host.docker.internal:5052", which refer to the default REST port in the .env for an eth-docker L1 node.
Expand All @@ -55,6 +54,11 @@ MIN_TAIKO_BALANCE=
# Whether to prove unassigned blocks or not (blocks that have expired their proof window
# without the original prover submitting a proof.).
PROVE_UNASSIGNED_BLOCKS=false
# The default size of batch sgx proofs, when it arrives, submit a batch of proof immediately, when the value is larger than 1, it means enabling the proof aggregation.
YoGhurt111 marked this conversation as resolved.
Show resolved Hide resolved
SGX_BATCH_SIZE=
# Time interval to prove blocks, even if the number of pending proofs does not exceed the batchSize, this flag only works when the proof aggregation is enabled.
# Recommended that this value is no greater than 45min, default is 30min.
YoGhurt111 marked this conversation as resolved.
Show resolved Hide resolved
FORCE_BATCH_PROVING_INTERVAL=

# If you want to be a proposer who proposes L2 execution engine's transactions in mempool to Taiko L1 protocol
# contract (be a "mining L2 node"), you need to change `ENABLE_PROPOSER` to true, then fill `L1_PROPOSER_PRIVATE_KEY`.
Expand All @@ -74,6 +78,10 @@ PROVER_SET=

# Comma-delimited local tx pool addresses you want to prioritize, useful to set your proposer to only propose blocks with your prover's transactions.
TXPOOL_LOCALS=
# If set to true, the proposer will use calldata as DA when the blob fee is more expensive than using calldata.
FALLBACK_TO_CALLDATA=
# Enable revert protection. When you are not the first taiko proposer in current L1 block, you would revert.
REVERT_PROTECTION=

# Transaction Manager Flags (Leave blank if using default values.) These only affect Prover and Proposer.

Expand Down
8 changes: 8 additions & 0 deletions script/start-proposer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ if [ "$ENABLE_PROPOSER" = "true" ]; then
ARGS="${ARGS} --l1.blobAllowed"
fi

if [ "$FALLBACK_TO_CALLDATA" == "true" ]; then
ARGS="${ARGS} --l1.fallbackToCalldata"
fi

if [ "$REVERT_PROTECTION" == "true" ]; then
ARGS="${ARGS} --l1.revertProtection"
fi

YoGhurt111 marked this conversation as resolved.
Show resolved Hide resolved
# TXMGR Settings
if [ -n "$TX_FEE_LIMIT_MULTIPLIER" ]; then
ARGS="${ARGS} --tx.feeLimitMultiplier ${TX_FEE_LIMIT_MULTIPLIER}"
Expand Down
13 changes: 8 additions & 5 deletions script/start-prover-relayer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ if [ "$ENABLE_PROVER" = "true" ]; then
exit 1
fi

if [ -z "$L1_ENDPOINT_HTTP" ]; then
echo "Error: L1_ENDPOINT_HTTP must be non-empty"
exit 1
fi

if [ -z "$L1_PROVER_PRIVATE_KEY" ]; then
echo "Error: L1_PROVER_PRIVATE_KEY must be non-empty"
exit 1
Expand All @@ -52,6 +47,14 @@ if [ "$ENABLE_PROVER" = "true" ]; then
ARGS="${ARGS} --prover.proveUnassignedBlocks"
fi

if [ -n "$SGX_BATCH_SIZE" ]; then
YoGhurt111 marked this conversation as resolved.
Show resolved Hide resolved
ARGS="${ARGS} --prover.sgx.batchSize ${SGX_BATCH_SIZE}"
fi

if [ -n "$FORCE_BATCH_PROVING_INTERVAL" ]; then
ARGS="${ARGS} --prover.forceBatchProvingInterval ${FORCE_BATCH_PROVING_INTERVAL}"
fi

YoGhurt111 marked this conversation as resolved.
Show resolved Hide resolved
# TXMGR Settings
if [ -n "$TX_FEE_LIMIT_MULTIPLIER" ]; then
ARGS="${ARGS} --tx.feeLimitMultiplier ${TX_FEE_LIMIT_MULTIPLIER}"
Expand Down
Loading