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

consensus: Introduce versions v37 and v38 #5397

Merged
merged 14 commits into from
May 22, 2023

Conversation

algorandskiy
Copy link
Contributor

@algorandskiy algorandskiy commented May 17, 2023

Summary

New consensus versions v37 and v38 and appropriate fixes.

Test Plan

Existing tests. There are bunch of app test fixes because of AppForbidLowResources and online accts tests b/c of circulation rules change.

@algorandskiy algorandskiy self-assigned this May 17, 2023
@algorandskiy algorandskiy changed the title Introduce consensus versions v37 and v38 consensus: Introduce versions v37 and v38 May 17, 2023
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #5397 (5d33651) into master (b684243) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5397      +/-   ##
==========================================
+ Coverage   55.39%   55.41%   +0.01%     
==========================================
  Files         452      452              
  Lines       63812    63822      +10     
==========================================
+ Hits        35351    35365      +14     
- Misses      26031    26034       +3     
+ Partials     2430     2423       -7     
Impacted Files Coverage Δ
data/transactions/logic/opcodes.go 87.98% <ø> (ø)
ledger/testing/consensusRange.go 21.87% <ø> (ø)
protocol/consensus.go 0.00% <ø> (ø)
config/consensus.go 86.19% <100.00%> (+0.34%) ⬆️

... and 10 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

protocol/consensus.go Outdated Show resolved Hide resolved
config/consensus.go Outdated Show resolved Hide resolved
config/consensus.go Outdated Show resolved Hide resolved
bbroder-algo
bbroder-algo previously approved these changes May 19, 2023
Copy link
Contributor

@bbroder-algo bbroder-algo left a comment

Choose a reason for hiding this comment

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

v37 is blank and only exists to offset v38 by enough rounds to ensure that the stateproof recovery tracker is sufficiently populated prior to enabling recovery in v38.

ledger/apptxn_test.go Outdated Show resolved Hide resolved
7: "07" + v7Compiled,
8: "08" + v8Compiled,
9: "09" + v9Compiled,
10: "0a" + v10Compiled,
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't feel strongly about this, but maybe we should insert a blank line above 10: ... so that go fmt won't re-indent all the above lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants