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 3.12.2-stable Release PR #4837

Merged
merged 78 commits into from
Nov 28, 2022

Conversation

Algo-devops-service
Copy link
Contributor

@Algo-devops-service Algo-devops-service commented Nov 28, 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/44fa607d6051730f5264526bf3c108d51f0eadb6
IMPORTANT
The keys used to sign the release packages have been renewed.
See the instructions below on how to update for a specific system

What's New

  • AVM: box storage is now available. Apps can create an unlimited number of boxes for storing unstructured data.
  • AVM: switch, match, and frame pointer opcodes are now available. These enable more efficient TEAL programs in terms of program length and computation.
  • Bugfixes related to catchpoints, performance enhancements, and additional logging.

Changelog

New Features

  • AVM: match, pushints, and pushbytess opcodes (#4645)
  • AVM: Add support for Boxes (#4149)
  • Catchpoint Dump Utility: catchpointdump now supports tar.gz (#4743)

Enhancements

  • API: bump max size of teal source and dryrun (#4633)
  • Perf Test: Transaction group handle/verify (#4652)
  • Consensus: v36 upgrade (#4722)
  • Lint: enable go vet printf format arg checks for logging (#4679)
  • Logging: demote LeaseInLedgerError from warn to info level (#4685)
  • Netgoal: Update netgoal generate flags and variables (#4656)
  • Performance: Agreement state serialization using msgp (#4644)
  • Performance: don't create child cow in TestTransactionGroup (#4706)
  • Prefetcher: enable prefetcher for assets and apps (#4352)
  • Tests: 20221012 improvements (#4639)
  • Tools: Allow specification of Reward Pool Account Balance in Genesis (#4643)
  • API: Update oapi-codegen version to v1.12.0 of our fork (#4707)
  • Accountdb: add migration 8 for resetting accounthashes on betanet (#4822)
  • Algod: Consolidate models (#4714)
  • Algod: Delete v1 usage from client and remove V2 prefix from APIs (#4767)
  • Algod: Migrate internal uses of v1 algod API to v2 (#4684)
  • Alphanet: update vAlpha5 to point to v36 (#4729)
  • Catchpoints: Enrich catchpoint generation and status with KV metadata (#4808)
  • Ci: Notify when CircleCI build failures for master and rel branches only (#4789)
  • Ci: Notify when GHA workflow fails on master (#4791)
  • Docs: Update SECURITY.md (#4782)
  • Goal: Add URL to goal asset info. (#4731)
  • Metrics: add TransactionGroupTxSyncHandled (#4815)
  • Metrics: split out /Transaction/AssembleBlock metrics (#4795)
  • Netgoal: start with at least 20GB RootStorage (#4779)
  • Performance: turn cache misses during assembly into cache hits during eval (#4617)
  • Performance: Don't preallocate rarely used maps in MakeStateDelta (#4715)
  • Tech Debt: Reduce number of dependencies. (#4750)
  • Telemetry: add TCP RTT info collection (#4745)
  • Tests: Squelch macOS accept incoming network connections notifications (#4814)
  • Tests: large generated accountdb cluster test (#4772)
  • Tests: Fix txid-string comparison (#4792)
  • Tests: Move box test artifacts to a temp directory (#4771)
  • Tests: Lint for unparallelized tests without explicit reason (#4746)
  • Tools: update catchpointdump 'database' and 'database check' commands to handle staging tables and KVs (#4802)
  • Txhandler: add more metric (#4786)

Bugfixes

  • AVM: fix early eval exits for Debugger (#4719)
  • Bug-fix: Blank Import Needs Commenting for Indexer's Lint (#4720)
  • Bug-fix: return v2 spec from swagger endpoint (#4697)
  • Catchpoint: actualize limit constants and fix txtail table init (#4703)
  • Devops: update docker container for docker hub (#4723)
  • Dispenser: add input validation (#4713)
  • Network: align duplicateFilterCount to prevent panic on 32-bit platforms (#4702)
  • Catchpoints: Add the kv hashes into the trie (#4812)
  • Ci: Fix GHA failure notification trigger condition (#4810)
  • Cow: always process KvMods to add OldData to mods when building StateDeltas (#4804)
  • Daemon: pool error messages and old txn expiration (#4755)
  • Goal: Change asset commands to use AccountAssetInformation (#4758)
  • Tests: Fix resolver test endpoint (#4784)
  • Tests: Fix types in assertions and change to using libgoal client when getting PendingTransaction information (#4754)
  • Tests: disable TestWebsocketNetworkTelemetryTCP on CI (#4827)
  • Txhandler: service does not restart after node catching up (#4809)
  • Txsyncer: service does not start after node catching up (#4768)

Activations (previously in vFuture)

  • AVM: Switch opcode (#4458)

Additional Resources

How to Update Signing Key

Debian/Ubuntu

curl -o - https://releases.algorand.com/key.pub | sudo tee /etc/apt/trusted.gpg.d/algorand.asc

RHEL/RPM

curl -O https://releases.algorand.com/rpm/rpm_algorand.pub
sudo rpmkeys --import rpm_algorand.pub

barnjamin and others added 30 commits October 24, 2022 10:51
* bump max size of teal source and dryrun
* lint: enable go vet printf format arg checks for logging

* add more printf functions

* run gofmt and govet on test code
add match opcode along with assembler and eval unit tests
implementation of match, pushints, and pushbytess
add docs for pushints and pushbytess
Co-authored-by: Michael Diamant <michaeldiamant@users.noreply.github.com>
algochoi and others added 23 commits November 16, 2022 15:17
…11.3-remerge

mergeback: Relstable3.11.3 remerge
* add txHandler backlog error reason counters
* add txHandler backlog size gauge
* add txsync counters
* add TX, AV, PP, MI counters to
  DisconnectPeerEventDetails and PeerConnectionDetails

Co-authored-by: chris erway <chris.erway@algorand.com>
* Add the kv hashes into the trie

* Periodically commit, and report proper stats
… to handle staging tables and KVs (algorand#4802)

* update catchpointdump 'database' and 'database check' commands to handle staging tables and KVs

* address CR comments
@codecov
Copy link

codecov bot commented Nov 28, 2022

Codecov Report

Merging #4837 (3583908) into rel/stable (afd8b05) will increase coverage by 0.20%.
The diff coverage is 40.76%.

@@              Coverage Diff               @@
##           rel/stable    #4837      +/-   ##
==============================================
+ Coverage       54.46%   54.67%   +0.20%     
==============================================
  Files             410      421      +11     
  Lines           52409    53790    +1381     
==============================================
+ Hits            28546    29409     +863     
- Misses          21504    21968     +464     
- Partials         2359     2413      +54     
Impacted Files Coverage Δ
agreement/actiontype_string.go 33.33% <0.00%> (ø)
agreement/asyncVoteVerifier.go 89.83% <ø> (ø)
agreement/cadaver.go 58.33% <0.00%> (ø)
agreement/cryptoVerifier.go 67.60% <ø> (ø)
agreement/events.go 61.62% <ø> (ø)
agreement/eventtype_string.go 33.33% <0.00%> (ø)
agreement/message.go 66.66% <ø> (ø)
agreement/proposalManager.go 96.07% <ø> (ø)
agreement/proposalStore.go 100.00% <ø> (ø)
agreement/proposalTracker.go 95.16% <ø> (ø)
... and 181 more

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

Copy link
Contributor

@michaeldiamant michaeldiamant left a comment

Choose a reason for hiding this comment

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

Release notes look accurate to me - extends #4783 as expected.

@algojohnlee algojohnlee merged commit 181490e into algorand:rel/stable Nov 28, 2022
@onetechnical onetechnical deleted the relstable3.12.2 branch November 28, 2022 21:11
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.