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

Commit

Permalink
feat(pkg): fix a log issue in ensureGenesisMatched && update a conf…
Browse files Browse the repository at this point in the history
…ig (#504)
  • Loading branch information
davidtaikocha committed Jan 15, 2024
1 parent c51b1a2 commit 4c01872
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/rpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
syncProgressRecheckDelay = 12 * time.Second
waitL1OriginPollingInterval = 3 * time.Second
defaultWaitL1OriginTimeout = 3 * time.Minute
defaultMaxTransactionsPerBlock = uint64(150)
defaultMaxTransactionsPerBlock = uint64(79)
)

// ensureGenesisMatched fetches the L2 genesis block from TaikoL1 contract,
Expand Down Expand Up @@ -73,7 +73,10 @@ func (c *Client) ensureGenesisMatched(ctx context.Context) error {
common.BytesToHash(l2GenesisHash[:]),
)
}

return nil
}

log.Warn("Genesis block not found in TaikoL1")

return nil
Expand Down

0 comments on commit 4c01872

Please sign in to comment.