-
Notifications
You must be signed in to change notification settings - Fork 939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(header): Validate
should check that the raw header's app version is not greater than latest app version
#3589
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel like we should also ensure app version is not 0 since that's not valid
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3589 +/- ##
==========================================
+ Coverage 44.83% 45.51% +0.68%
==========================================
Files 265 281 +16
Lines 14620 16053 +1433
==========================================
+ Hits 6555 7307 +752
- Misses 7313 7901 +588
- Partials 752 845 +93 ☔ View full report in Codecov by Sentry. |
Because it will be added in celestiaorg#3589
…n appconsts latest version
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
38ec710
80e20f3
to
38ec710
Compare
Fraud integration tests failed on CI but pass locally so I'm assuming it's a flake:
|
wow fully green CI 🟢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch with v2!
…ersion is not greater than latest app version (celestiaorg#3589) Co-authored-by: Callum Waters <cmwaters19@gmail.com>
In preparation for V2, we should change the header validation logic to ensure that we support validation for V2 and below.