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.18.0-stable Release PR #5722

Merged
merged 71 commits into from
Sep 5, 2023

Conversation

Algo-devops-service
Copy link
Contributor

@Algo-devops-service Algo-devops-service commented Sep 1, 2023

GitHub Logo

Overview

Go-Algorand 3.18.0 is a minor release introducing the ability for unnamed resources to be referenced from simulated transaction groups. The release also contains minor enhancements and bug fixes.

What's New

  • 🔮 Simulate: Transactions can now be evaluated by simulate without specifying foreign references (without populating apps/accounts/assets/box arrays). (#5366)
  • 🧱 Blocks Endpoint: Introducing Algod's /v2/blocks/{round}/txids endpoint. With this, you can now retrieve top level Transaction ID's in a given block. (#5611)
  • 🪪 API Authentication: Use the DisableAPIAuth configuration option to make Algod's public API endpoints accessible without providing an Authentication token. (#5625)

Known Issue

Raspberry Pi ARM32 support is not available in this release due to compile issues. Please continue to use older versions in the mean time.

Changelog

New Features

  • Ledger: generic kv trackers backend implementation (#5488)
  • Simulate: Add State Change to Exec Trace (#5659)
  • Simulate: Allow unnamed foreign resource access (#5366)
  • Simulate: Hash of Program Bytecodes in Simulation (#5658)
  • Txhandler: Enable ERL by default in configuration. (#5683)

Enhancements

  • API: Disable API authentication (#5625)
  • AVM: Enable pooling of logicsig execution across a group (#5528)
  • AVM: Expose global fields to TEAL that return MBR for asset create/optin (#5680)
  • Algod: Add API Endpoint to fetch TxIDs from block (#5611)
  • Build: upgrade to go1.20.6 (#5577)
  • Build(deps): bump github.com/libp2p/go-libp2p from 0.29.0 to 0.29.1 (#5647)
  • Chore: Remove faulty assertion (#5675)
  • Clocks: tagged deadlines (#5649)
  • Goal: --full-trace keeps track of everything in exec trace (#5609)
  • Ledger: Remove redundant block header cache (#5540)
  • Ledger: increase locks granularity in lookupWithoutRewards (#5527)
  • Metrics: add counters for ledger locks trackerMu and accountsMu (#5635)
  • Metrics: add counters to broadcastSignedTxGroup (#5588)
  • Netdeploy: allow simple local net topologies (#5612)
  • Network: make GossipNode more independent from wsNetwork implementation (#5634)
  • P2p: Add delete/create to algons dnsaddr command (#5631)
  • P2p: in-memory peerstore (#5664)
  • P2p: multiaddr dns bootstrapping utils (#5575)
  • P2p: Add peerID and feature flag (#5591)
  • P2p: adding peerstore (#5576)
  • Phonebook: Persist initial phonebook peers; remove unused ExtendPeerList (#5615)
  • REST API: Allow fast track transaction broadcasting via txHandler (#5535)
  • Tools: add block-generator initial round to report. (#5689)
  • Tools: metrics files visualizer (#5661)
  • Tools: block-generator locked table retry and additional metrics (#5653)
  • Tools: block-generator option to delay before running scenario. (#5694)
  • Tools: precompile block-generator teal code (#5642)
  • Tools: use CommandContext to cancel conduit process. (#5636)
  • Tools: write block generator ledger output to a file (#5630)
  • Tools: additional generator lifecycle logging. (#5627)
  • Tools: option to run block generator test multiple times (#5617)

Bugfixes

  • API: Describe WaitForBlock timeout behavior. (#5587)
  • Build: Remove n-algorand from wsnetwork partial overlap test. (#5660)
  • Catchup: make unsupported block handling more deterministic (#5673)
  • Cicd: Macos dependencies (#5618)
  • Ledger: fix error condition leaked from KV-related refactoring (#5678)
  • Ledger: Close the ledger at node shutdown (#5668)
  • Ledger: Clear Merkle Trie on Commit Error (#5568)
  • Libgoal: set FirstValid to LastRound to prevent early tnxs (#5622)
  • Revert "ledger: increase locks granularity in lookupWithoutRewards" (#5620)
  • Tests: fix close - commit data race in tracker tests (#5619)
  • Tools: test on CI regardless of modded file (#5621)

Protocol Upgrade

This release does not contain a protocol upgrade.


NOTE
vFuture changes are not yet available in MainNet or TestNet but can be used in private networks.

  • AVM: Expose global fields to TEAL that return MBR for asset create/optin (#5680)

Additional Resources

icorderi and others added 30 commits July 25, 2023 11:07
@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Merging #5722 (fa33874) into rel/stable (f239f80) will decrease coverage by 1.29%.
The diff coverage is 60.49%.

@@              Coverage Diff               @@
##           rel/stable    #5722      +/-   ##
==============================================
- Coverage       56.46%   55.18%   -1.29%     
==============================================
  Files             450      466      +16     
  Lines           63541    65083    +1542     
==============================================
+ Hits            35881    35918      +37     
- Misses          25270    26776    +1506     
+ Partials         2390     2389       -1     
Files Changed Coverage Δ
agreement/message.go 71.42% <ø> (ø)
agreement/types.go 87.69% <ø> (ø)
cmd/algod/main.go 0.00% <0.00%> (ø)
cmd/tealdbg/localLedger.go 66.84% <ø> (+0.71%) ⬆️
config/localTemplate.go 70.76% <ø> (ø)
config/version.go 37.50% <ø> (ø)
daemon/algod/api/server/v2/handlers.go 0.80% <0.00%> (-0.03%) ⬇️
daemon/algod/server.go 4.05% <0.00%> (-0.26%) ⬇️
data/basics/overflow.go 62.31% <0.00%> (-1.87%) ⬇️
data/transactions/logic/assembler.go 94.13% <ø> (ø)
... and 90 more

... and 20 files with indirect coverage changes

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

@algojohnlee algojohnlee merged commit 6eb4d69 into algorand:rel/stable Sep 5, 2023
15 of 16 checks passed
@@ -20,7 +20,7 @@
package config

var defaultLocal = Local{
Version: 28,
Version: 30,
Copy link
Contributor

Choose a reason for hiding this comment

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

Jump from 28 to 30, oh well!

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we cut this release multiple times, so folks bumped thinking it was a following release.

}

var errTxGroupInvalidFee = errors.New("txgroup fee requirement overflow")
var errTxGroupInsuffientLsigBudget = errors.New("txgroup lsig expectations exceed available budget")
Copy link
Contributor

Choose a reason for hiding this comment

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

@jannotti did you mean to use this error at one point?

Copy link
Contributor

Choose a reason for hiding this comment

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

I removed the "lsig expectations" idea. So this error should be removed entirely. I'll make a PR. (The release is fine to go ahead.)

And I spelled it wrong!

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.

None yet