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

backport AVM 1.0 consensus support #698

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

tsachiherman
Copy link
Contributor

Summary

This PR adds the protocol parameters support for AVM 1.0 consensus protocol ( https://github.com/algorandfoundation/specs/tree/bc36005dbd776e6d1eaf0c560619bb183215645c ), as well as updates the data structures needed to decode the new block data structure.

Test Plan

No tests included in this PR.

@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2021

Codecov Report

Merging #698 (2b3cc9d) into hotfix/2.6.3 (d944718) will decrease coverage by 7.41%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##           hotfix/2.6.3     #698      +/-   ##
================================================
- Coverage         54.97%   47.55%   -7.42%     
================================================
  Files                29       25       -4     
  Lines              5441     3863    -1578     
================================================
- Hits               2991     1837    -1154     
+ Misses             2045     1745     -300     
+ Partials            405      281     -124     
Impacted Files Coverage Δ
types/types.go 0.00% <ø> (ø)
idb/postgres/postgres.go 43.09% <0.00%> (-9.94%) ⬇️
idb/postgres/internal/encoding/decode.go 58.82% <0.00%> (-8.48%) ⬇️
accounting/rewind.go 31.70% <0.00%> (-4.39%) ⬇️
api/converter_utils.go 86.15% <0.00%> (-3.26%) ⬇️
idb/migration/migration.go 96.10% <0.00%> (-0.05%) ⬇️
api/server.go 0.00% <0.00%> (ø)
idb/postgres/internal/encoding/types.go
idb/postgres/internal/writer/writer.go
cmd/block-generator/generator/make_transactions.go
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d944718...2b3cc9d. Read the comment docs.

@winder winder merged commit 20e53d7 into hotfix/2.6.3 Oct 2, 2021
@winder winder deleted the tsachi/addconsensussupport branch October 2, 2021 21:07
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.

3 participants