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

Commit

Permalink
feat(pkg): do not return error when genesis block not found (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored May 26, 2023
1 parent 132500e commit 8033e31
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 8033e31

Please sign in to comment.