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

Commit

Permalink
test(fix): fix helper method (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerLamTd authored Aug 25, 2023
1 parent cac555f commit dca8fee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/rpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ var (
errSyncing = errors.New("syncing")
// syncProgressRecheckDelay is the time delay of rechecking the L2 execution engine's sync progress again,
// if the previous check failed.
syncProgressRecheckDelay = 12 * time.Second
waitL1OriginPollingInterval = 3 * time.Second
defaultWaitL1OriginTimeout = 3 * time.Minute
syncProgressRecheckDelay = 12 * time.Second
waitL1OriginPollingInterval = 3 * time.Second
defaultWaitL1OriginTimeout = 3 * time.Minute
defaultMaxTransactionsPerBlock = uint64(79)
)

// ensureGenesisMatched fetches the L2 genesis block from TaikoL1 contract,
Expand Down Expand Up @@ -247,6 +248,7 @@ func (c *Client) GetPoolContent(
"taiko_txPoolContent",
beneficiary,
baseFee,
defaultMaxTransactionsPerBlock,
blockMaxGasLimit,
maxBytesPerTxList,
localsArg,
Expand Down

0 comments on commit dca8fee

Please sign in to comment.