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

Stabilize NEP-488 (Host Functions for BLS12-381 Curve Operations) #11818

Merged
merged 16 commits into from
Jul 22, 2024

Conversation

olga24912
Copy link
Contributor

Stabilize NEP-488: Host Functions for BLS12-381 Curve Operations

@olga24912 olga24912 requested a review from a team as a code owner July 19, 2024 13:36
@staffik staffik self-requested a review July 19, 2024 13:51
Copy link
Collaborator

@nagisa nagisa left a comment

Choose a reason for hiding this comment

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

LGTM as far as the stabilization itself is concerned.

@@ -45,8 +45,8 @@ static CONFIG_DIFFS: &[(ProtocolVersion, &str)] = &[
(69, include_config!("69.yaml")),
// Introduce ETH-implicit accounts.
(70, include_config!("70.yaml")),
(71, include_config!("71.yaml")),
Copy link
Collaborator

Choose a reason for hiding this comment

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

May or may not want to re-use protocol version 70, as the next mainnet release will be going up to 69. And 70 already comes in the release after the upcoming one. Doesn't matter much though, AFAIU protocol is now able to upgrade multiple protocol versions per release.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed: ea0400f

"protocol_version": 70,
"protocol_version": 71,
Copy link
Contributor

Choose a reason for hiding this comment

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

We want to release BLS signatures as part of protocol version 70 release.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed: ac29a26

2e39777

Comment on lines 212 to 213
ProtocolFeature::EthImplicitAccounts => 70,
ProtocolFeature::BLS12381 => 71,
Copy link
Contributor

Choose a reason for hiding this comment

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

We want BLS12381 feature to be released together with StatelessValidation. Similarly as protocol v69 contains several features.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed: ea0400f

Copy link

codecov bot commented Jul 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.79%. Comparing base (2d19c2a) to head (ea0400f).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11818      +/-   ##
==========================================
+ Coverage   71.76%   71.79%   +0.03%     
==========================================
  Files         796      796              
  Lines      163196   163213      +17     
  Branches   163196   163213      +17     
==========================================
+ Hits       117115   117186      +71     
+ Misses      41030    40983      -47     
+ Partials     5051     5044       -7     
Flag Coverage Δ
backward-compatibility 0.23% <0.00%> (-0.01%) ⬇️
db-migration 0.23% <0.00%> (-0.01%) ⬇️
genesis-check 1.35% <0.00%> (-0.01%) ⬇️
integration-tests 37.75% <0.90%> (-0.06%) ⬇️
linux 71.54% <100.00%> (+0.16%) ⬆️
linux-nightly 71.38% <100.00%> (+0.02%) ⬆️
macos 54.69% <100.00%> (+0.10%) ⬆️
pytests 1.62% <0.00%> (+<0.01%) ⬆️
sanity-checks 1.42% <0.00%> (+<0.01%) ⬆️
unittests 66.25% <100.00%> (+0.01%) ⬆️
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.

@akhi3030 akhi3030 added this pull request to the merge queue Jul 22, 2024
Merged via the queue into near:master with commit bb6ff5d Jul 22, 2024
30 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Jul 22, 2024
In this PR: #11818 the BLS12381
Feature was mistakenly included in version 69. In this PR, the feature
has been moved to version 70.
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.

4 participants