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

feat(pkg): do not return error when genesis block not found #244

Merged
merged 1 commit into from
May 26, 2023
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
4 changes: 3 additions & 1 deletion pkg/rpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ func (c *Client) ensureGenesisMatched(ctx context.Context) error {
}
}

return fmt.Errorf("genesis block not found in TaikoL1")
log.Warn("Genesis block not found in TaikoL1")

return nil
}

// WaitTillL2Synced keeps waiting until the L2 execution engine is fully synced.
Expand Down