Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

feat(driver): update TaikoL2.anchor transaction gas limit #559

Merged
merged 1 commit into from
Feb 19, 2024
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
2 changes: 1 addition & 1 deletion driver/anchor_tx_constructor/anchor_tx_constructor.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

// Each TaikoL2.anchor transaction should use this value as it's gas limit.
const AnchorGasLimit = 1_000_000
const AnchorGasLimit = 250_000

// AnchorTxConstructor is responsible for assembling the anchor transaction (TaikoL2.anchor) in
// each L2 block, which is always the first transaction.
Expand Down
2 changes: 1 addition & 1 deletion pkg/rpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var (
syncProgressRecheckDelay = 12 * time.Second
waitL1OriginPollingInterval = 3 * time.Second
defaultWaitL1OriginTimeout = 3 * time.Minute
defaultMaxTransactionsPerBlock = uint64(79)
defaultMaxTransactionsPerBlock = uint64(149)

// Requset urls.
sidecarsRequestURL = "eth/v1/beacon/blob_sidecars/%d"
Expand Down
Loading