You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate exact expected error in signed header verification tests #1049
we should have the expected error here. Then in the test execution we are validating that we are erroring exactly as expected and are not erroring for some other reason. This will help better future proof the code if there are functions that have a chain of checks and we re-order them.
Activity
Manav-Aggarwal commentedon Aug 30, 2023
Same changes can be reflected in https://github.com/celestiaorg/celestia-node/blob/9d663cf7d948fefa961d9b3c8d0afb8dca3ec8ab/header/headertest/verify_test.go#L13
Validate exact expected error in signed header verification tests (#1165
Validate exact expected error in signed header verification tests (#1165
Validate exact expected error in signed header verification tests (ev…