Skip to content
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

chore: Collapse stateless validation versions and params #11637

Merged
merged 6 commits into from
Jun 20, 2024

Conversation

tayfunelmas
Copy link
Contributor

@tayfunelmas tayfunelmas commented Jun 20, 2024

Congestion control => 80 (as before, no change)
All Stateless validation features => 81 (collapse versions 81..90 into 81)

SimpleNightshadeTestonly => 100 (to not interfere with stateless transition)

@tayfunelmas tayfunelmas changed the title Collapse stateless validation versions and params chore: Collapse stateless validation versions and params Jun 20, 2024
@tayfunelmas tayfunelmas marked this pull request as ready for review June 20, 2024 18:01
@tayfunelmas tayfunelmas requested a review from a team as a code owner June 20, 2024 18:01
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.57%. Comparing base (9f5b03e) to head (cf7110e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11637      +/-   ##
==========================================
- Coverage   71.59%   71.57%   -0.02%     
==========================================
  Files         787      787              
  Lines      160736   160728       -8     
  Branches   160736   160728       -8     
==========================================
- Hits       115072   115044      -28     
- Misses      40631    40644      +13     
- Partials     5033     5040       +7     
Flag Coverage Δ
backward-compatibility 0.23% <0.00%> (+<0.01%) ⬆️
db-migration 0.23% <0.00%> (+<0.01%) ⬆️
genesis-check 1.36% <0.00%> (+<0.01%) ⬆️
integration-tests 37.70% <100.00%> (-0.03%) ⬇️
linux 68.99% <66.66%> (-0.02%) ⬇️
linux-nightly 71.07% <100.00%> (+<0.01%) ⬆️
macos 52.57% <66.66%> (+1.22%) ⬆️
pytests 1.59% <0.00%> (+<0.01%) ⬆️
sanity-checks 1.39% <0.00%> (+<0.01%) ⬆️
unittests 66.15% <100.00%> (-0.03%) ⬇️
upgradability 0.28% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ProtocolFeature::NoChunkOnlyProducers => 88,
ProtocolFeature::ChangePartialWitnessDataPartsRequired => 89,
ProtocolFeature::BiggerCombinedTransactionLimit => 90,
ProtocolFeature::SimpleNightshadeTestonly => 100,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might not work for the test in resharding... Let me check

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like we are anyway ignoring all resharding tests. Might be fine to just ignore test_latest_protocol_missing_chunks_low_missing_prob etc. too in case it fails.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a Nayduck test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They did not fail, so I guess the new version is ok.

Copy link
Contributor

@wacban wacban Jun 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally speaking this is deemed to be buried until we start working on resharsing again. Most of the resharding tests are disabled because of lack of integration with cc and sv anyway. Feel free to add ignore to any other tests that may fail because of this change.

Copy link
Contributor

@wacban wacban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,
I'm afk so couldn't review the numbers in yamls but otherwise looks good! Thanks for taking care of this.

| ProtocolFeature::OutgoingReceiptsSizeLimit
| ProtocolFeature::NoChunkOnlyProducers
| ProtocolFeature::ChangePartialWitnessDataPartsRequired
| ProtocolFeature::BiggerCombinedTransactionLimit => 81,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to do it now but we can take it further and replace all of those with just a single protocol feature StatelessValidation. This may be a bit annoying so let's do it separately.

@shreyan-gupta shreyan-gupta added this pull request to the merge queue Jun 20, 2024
Merged via the queue into near:master with commit 57c9796 Jun 20, 2024
30 checks passed
tayfunelmas added a commit that referenced this pull request Jun 21, 2024
Congestion control => 80 (as before, no change)
All Stateless validation features => 81 (collapse versions 81..90 into
81)

SimpleNightshadeTestonly => 100 (to not interfere with stateless
transition)
@tayfunelmas tayfunelmas deleted the version branch June 27, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants