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

Bookkeeping: improve block documentation since no-low-resources #5383

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

bbroder-algo
Copy link
Contributor

Updates commentary in the BlockHeader to support TxCounters starting at nonzero numbers in genesis blocks (in support of banning low asset/app resources)

@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Merging #5383 (5525af6) into master (d7c5e54) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5383      +/-   ##
==========================================
- Coverage   55.41%   55.37%   -0.05%     
==========================================
  Files         452      452              
  Lines       63643    63643              
==========================================
- Hits        35270    35243      -27     
- Misses      25972    25989      +17     
- Partials     2401     2411      +10     
Impacted Files Coverage Δ
data/bookkeeping/block.go 55.69% <ø> (ø)

... and 6 files with indirect coverage changes

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

@bbroder-algo
Copy link
Contributor Author

@jannotti is this ok

@jannotti
Copy link
Contributor

jannotti commented Jun 2, 2023

We've lost one important point that applies to mainnet and testnet - they're counters started when support for TxCounter was added, so they have no TxCounter at all early on, and it starts at 0 sometime later than genesis.

@algorandskiy algorandskiy merged commit eac2c4f into master Jun 2, 2023
@bbroder-algo bbroder-algo deleted the txncounter-documentation branch July 3, 2023 13:36
@bbroder-algo bbroder-algo restored the txncounter-documentation branch July 3, 2023 13:36
@bbroder-algo bbroder-algo deleted the txncounter-documentation branch July 3, 2023 13:37
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.

4 participants