From 073bf24be6557fcc80968b3ff24bd94de17f91c7 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 1 Jul 2024 15:18:40 +0800 Subject: [PATCH] feat: remove unused configs (#305) --- .env.sample | 2 +- .env.sample.hekla | 2 +- script/start-proposer.sh | 3 --- script/start-prover-relayer.sh | 4 ---- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.env.sample b/.env.sample index 0592417..df800ef 100644 --- a/.env.sample +++ b/.env.sample @@ -47,7 +47,7 @@ PROVER_CAPACITY=1 L1_PROVER_PRIVATE_KEY= # Minimum accepted fee for accepting proving a block (in Gwei). MIN_ACCEPTABLE_PROOF_FEE=1 -# Amount to approve AssignmentHook + TaikoL1 contracts for TaikoToken usage. i.e 250 TAIKO = 250 +# Amount to approve TaikoL1 contracts for TaikoToken usage. i.e 250 TAIKO = 250 TOKEN_ALLOWANCE= # Minimum ETH balance (in ETH) a prover wants to keep. MIN_ETH_BALANCE= diff --git a/.env.sample.hekla b/.env.sample.hekla index cec057c..6823d3a 100644 --- a/.env.sample.hekla +++ b/.env.sample.hekla @@ -47,7 +47,7 @@ PROVER_CAPACITY=1 L1_PROVER_PRIVATE_KEY= # Minimum accepted fee for accepting proving a block (in Gwei). MIN_ACCEPTABLE_PROOF_FEE=1 -# Amount to approve AssignmentHook + TaikoL1 contracts for TaikoToken usage. i.e 250 TTKOh = 250 +# Amount to approve TaikoL1 contracts for TaikoToken usage. i.e 250 TTKOh = 250 TOKEN_ALLOWANCE= # Minimum ETH balance (in ETH) a prover wants to keep. MIN_ETH_BALANCE= diff --git a/script/start-proposer.sh b/script/start-proposer.sh index df1380f..d0fa9f3 100755 --- a/script/start-proposer.sh +++ b/script/start-proposer.sh @@ -93,9 +93,6 @@ if [ "$ENABLE_PROPOSER" = "true" ]; then ARGS="${ARGS} --tx.sendTimeout ${TX_SEND_TIMEOUT}" fi - if [ -n "$ASSIGNMENT_HOOK_L1_ADDRESS" ]; then - ARGS="${ARGS} --assignmentHookAddress ${ASSIGNMENT_HOOK_L1_ADDRESS}" - fi exec taiko-client proposer ${ARGS} else diff --git a/script/start-prover-relayer.sh b/script/start-prover-relayer.sh index 40cbf7b..ea3c584 100755 --- a/script/start-prover-relayer.sh +++ b/script/start-prover-relayer.sh @@ -98,10 +98,6 @@ if [ "$ENABLE_PROVER" = "true" ]; then ARGS="${ARGS} --tx.sendTimeout ${TX_SEND_TIMEOUT}" fi - if [ -n "$ASSIGNMENT_HOOK_L1_ADDRESS" ]; then - ARGS="${ARGS} --assignmentHookAddress ${ASSIGNMENT_HOOK_L1_ADDRESS}" - fi - exec taiko-client prover ${ARGS} else echo "PROVER IS DISABLED"