Skip to content

Commit

Permalink
prover needs taikotoken address, and re-add prove unassinged blocks (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Sep 25, 2023
1 parent 493b881 commit ecf59d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ BLOCK_PROPOSAL_FEE=1
# Comma-delineated list of prover endpoints proposer should query when attempting to propose a block
# If you keep this default value you must also enable a prover by setting ENABLE_PROVER=true
PROVER_ENDPOINTS=http://taiko_client_prover_relayer:9876
# 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

# 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=
Expand Down
5 changes: 5 additions & 0 deletions script/start-prover-relayer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if [ "$ENABLE_PROVER" == "true" ]; then
--l2.http http://l2_execution_engine:8545
--taikoL1 ${TAIKO_L1_ADDRESS}
--taikoL2 ${TAIKO_L2_ADDRESS}
--taikoToken ${TAIKO_TOKEN_L1_ADDRESS}
--zkevmRpcdEndpoint http://zkevm_chain_prover_rpcd:9000
--zkevmRpcdParamsPath /data
--l1.proverPrivKey ${L1_PROVER_PRIVATE_KEY}
Expand All @@ -27,6 +28,10 @@ if [ "$ENABLE_PROVER" == "true" ]; then
ARGS="${ARGS} --prover.proveBlockTxGasLimit ${PROVE_BLOCK_TX_GAS_LIMIT}"
fi

if [[ ! -z "$PROVE_UNASSIGNED_BLOCKS" ]]; then
ARGS="${ARGS} --prover.proveUnassignedBlocks"
fi

taiko-client prover ${ARGS}
else
sleep infinity
Expand Down

0 comments on commit ecf59d6

Please sign in to comment.