This repository has been archived by the owner on May 29, 2024. It is now read-only.
Verify config validity during HeaderTraversal
construction
#21
Labels
good first issue
Good for newcomers
type: bug
Something isn't working
type: enhancement
New feature or request
Problem
Currently, the passed in block heights and their validity are being checked at the functions where they shouldn't have to worry about it. The configs need to be verified when the oracle is asked to be constructed.
Proposed Solution (Conveyor Component)
When the
NewOracle
function is called, we need to verify if the configs are valid and throw respective errors if they're not.The text was updated successfully, but these errors were encountered: