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

go-algorand v3.9.2-beta #4462

Merged
merged 9 commits into from
Aug 26, 2022
Merged

Conversation

onetechnical
Copy link
Contributor

@onetechnical onetechnical commented Aug 25, 2022

GitHub Logo

IMPORTANT
This release requires a protocol upgrade.
This release contains a consensus protocol upgrade, which implements the following spec: https://github.com/algorandfoundation/specs/tree/433d8e9a7274b6fca703d91213e05c7e6a589e69

Overview

Miscellaneous fixes to catchup and state proof totals calculation.

Changelog

Bug Fixes

Additional Resources

onetechnical and others added 4 commits August 24, 2022 13:40
* Catchpoints only have minimal data, and online accounts/txtail derive it
  by applying catchpoint
* Deriving code is reused from DB schema migration but the migration only assumed
  MaxTxnLife worth of block history
* In fact, it needs to restore MaxTxnLife + DeeperBlockHeaderHistory
  when used as part of catchpoint apply code path
Comment on lines +1209 to +1210
v33.ApprovedUpgrades[protocol.ConsensusV35] = 10000
v34.ApprovedUpgrades[protocol.ConsensusV35] = 10000
Copy link
Contributor

Choose a reason for hiding this comment

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

Both going to the same next version seems ok, I guess? It might cause some trouble in one of my testing functions - but I suppose that's fixable if it happens.

jannotti and others added 5 commits August 25, 2022 10:17
Tests: Remove using unreleased semicolon support in AVM test
* replaying transactions after catchpoint requires 1001 blocks
  from the very first replayed block
* Ensure blk opcode can be replayed after restart
* Fix e2e fast catchup tests
@codecov
Copy link

codecov bot commented Aug 26, 2022

Codecov Report

Merging #4462 (5e794c1) into rel/beta (379ec4f) will increase coverage by 0.01%.
The diff coverage is 75.00%.

@@             Coverage Diff              @@
##           rel/beta    #4462      +/-   ##
============================================
+ Coverage     55.60%   55.61%   +0.01%     
============================================
  Files           403      403              
  Lines         50807    50820      +13     
============================================
+ Hits          28251    28265      +14     
+ Misses        20161    20159       -2     
- Partials       2395     2396       +1     
Impacted Files Coverage Δ
catchup/catchpointService.go 1.77% <0.00%> (ø)
ledger/ledger.go 66.34% <0.00%> (-0.22%) ⬇️
ledger/ledgercore/votersForRound.go 0.00% <0.00%> (ø)
protocol/consensus.go 0.00% <ø> (ø)
ledger/acctonline.go 78.75% <60.00%> (+0.27%) ⬆️
config/consensus.go 86.49% <100.00%> (+0.19%) ⬆️
ledger/accountdb.go 72.59% <100.00%> (+0.01%) ⬆️
ledger/tracker.go 80.42% <100.00%> (+0.93%) ⬆️
ledger/roundlru.go 90.56% <0.00%> (-5.67%) ⬇️
catchup/service.go 68.64% <0.00%> (-3.21%) ⬇️
... and 7 more

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

@algojohnlee algojohnlee merged commit 55f0082 into algorand:rel/beta Aug 26, 2022
@onetechnical onetechnical deleted the relbeta3.9.2 branch July 11, 2023 23:30
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.

6 participants