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

feat(pkg): fix a log issue in ensureGenesisMatched && update a config #504

Merged
merged 2 commits into from
Jan 15, 2024
Merged
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
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