-
Notifications
You must be signed in to change notification settings - Fork 627
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
feat: statelessnet protocol #10518
feat: statelessnet protocol #10518
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #10518 +/- ##
==========================================
- Coverage 72.00% 71.99% -0.01%
==========================================
Files 720 720
Lines 146558 146559 +1
Branches 146558 146559 +1
==========================================
- Hits 105531 105520 -11
- Misses 36158 36175 +17
+ Partials 4869 4864 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM, thanks a lot!
Please update the PR title.
Can you do a quick test, build neard with this feature and make sure that --version gives the statelessnet protocol version?
core/store/src/opener.rs
Outdated
if cfg!(feature = "nightly") | ||
|| cfg!(feature = "nightly_protocol") | ||
|| cfg!(feature = "statelessnet_protocol") | ||
{ | ||
let version = 10000; |
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.
I'm afraid to ask what is going on here.
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.
From what I saw here, DB version is set to smth large if protocol is not stable.
Actually, now I'm not sure why this is needed at all. We may want to upgrade DB on master and then we'll want to see stateless nodes upgraded as well. So I'm removing this for statelessnet
Set special protocol feature and version to launch near/near-one-project-tracking#20 against.