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

feat(proposer): proposer only propose local tx #91

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ L1_PROVER_PRIVATE_KEY=
ENABLE_PROPOSER=false
L1_PROPOSER_PRIVATE_KEY= # A L1 account (with balance) private key who will send TaikoL1.proposeBlock transactions
L2_SUGGESTED_FEE_RECIPIENT= # A L2 account address who will be the tx fee beneficiary of the L2 blocks that you proposed
TXPOOL_LOCALS_ONLY=false # Only propose local transactions, useful to set your proposer to only propose blocks with your prover's transactions
1 change: 1 addition & 0 deletions .env.sample.l3
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ L2_PROVER_PRIVATE_KEY=
ENABLE_PROPOSER=false
L2_PROPOSER_PRIVATE_KEY= # A L2 account (with balance) private key who will send TaikoL1.proposeBlock L2 transactions
L3_SUGGESTED_FEE_RECIPIENT= # A L3 account address who will be the tx fee beneficiary of the L2 blocks that you proposed
TXPOOL_LOCALS_ONLY=false # Only propose local transactions, useful to set your proposer to only propose blocks with your prover's transactions
1 change: 1 addition & 0 deletions script/l2/start-proposer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if [ "$ENABLE_PROPOSER" == "true" ]; then
--taikoL2 ${TAIKO_L2_ADDRESS} \
--l1.proposerPrivKey ${L1_PROPOSER_PRIVATE_KEY} \
--l2.suggestedFeeRecipient ${L2_SUGGESTED_FEE_RECIPIENT} \
--txpool.localsOnly ${TXPOOL_LOCALS_ONLY} \
--minimalBlockGasLimit "5000000"
else
sleep infinity
Expand Down
1 change: 1 addition & 0 deletions script/l3/start-proposer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if [ "$ENABLE_PROPOSER" == "true" ]; then
--taikoL2 ${TAIKO_L2_ADDRESS} \
--l1.proposerPrivKey ${L2_PROPOSER_PRIVATE_KEY} \
--l2.suggestedFeeRecipient ${L3_SUGGESTED_FEE_RECIPIENT} \
--txpool.localsOnly ${TXPOOL_LOCALS_ONLY} \
--minimalBlockGasLimit "5000000"
else
sleep infinity
Expand Down