Skip to content

Commit

Permalink
🔖 Release fd66144
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 26, 2024
1 parent fd66144 commit 2d5d11e
Show file tree
Hide file tree
Showing 6 changed files with 246 additions and 32 deletions.
115 changes: 106 additions & 9 deletions packages/algod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @awesome-algorand/algod-fetch
> Fetch client for Algod RPC
Generated AlgodClient for Algorand based on the [OpenAPI Specification](https://raw.githubusercontent.com/algorand/go-algorand/v3.9.4-stable/daemon/algod/api/algod.oas3.yml).
Generated AlgodClient for Algorand based on the [OpenAPI Specification](https://raw.githubusercontent.com/algorand/go-algorand/v3.10.0-stable/daemon/algod/api/algod.oas3.yml).
See the [upstream repository](https://github.com/algorand/go-algorand) for more information.

## Installation
Expand All @@ -27,20 +27,117 @@ const client = new AlgodClient({
![GitHub Logo](https://raw.githubusercontent.com/algorand/go-algorand/master/release/release-banner.jpg)

# Overview
<!-- A sentence or two capturing the release and any noteworthy details that anyone taking the release should be aware of -->

Fix for node_exporter and added timeout to stateproof API.
# What&apos;s New
* Fix for excess warning logging related to fetching stateproof secrets
* REST API changes:
* Add GetBlockHash API to algod v2
* Return a 404 instead of a 500 when `/v2/blocks/{round}` fails due to a missing block
* Miscellaneous other small fixes
* Test improvements

# Changelog

## Bug Fixes
- StateProofs: Add timeout to stateproof API ([#4515](https://github.com/algorand/go-algorand/pull/4515))
- Metrics: TagCounter gains a tag set to filter on ([#4503](https://github.com/algorand/go-algorand/pull/4503))
- Metrics: set filtered TagCounters from init([) (#4524](https://github.com/algorand/go-algorand/pull/4524))
- Tools: Update node_exporter to include algorand/node_exporter#6 ([#4518](https://github.com/algorand/go-algorand/pull/4518))

## New Features
* AVM: Add Semicolon Parsing ([#4363](https://github.com/algorand/go-algorand/pull/4363))
* REST API: Add GetBlockHash API to algod v2 ([#4580](https://github.com/algorand/go-algorand/pull/4580))
## Enhancements
* Alphanet: merge build changes and consensus params ([#4431](https://github.com/algorand/go-algorand/pull/4431))
* Batchverifier: Rename and unexport local functions in verify/txn ([#4578](https://github.com/algorand/go-algorand/pull/4578))
* Build: Remove mac_amd64 from our default triggered builds. ([#4397](https://github.com/algorand/go-algorand/pull/4397))
* Build: adding valid_nightly_branch var to upload_binaries step ([#4459](https://github.com/algorand/go-algorand/pull/4459))
* Catchpoint: Optimize catchpoint ([#4254](https://github.com/algorand/go-algorand/pull/4254))
* Ci: Ensure algod_expect_test.go tests run by avoiding double partitioning ([#4421](https://github.com/algorand/go-algorand/pull/4421))
* Ci: Expose configuration to ignore parent E2E expect test runner invocations ([#4422](https://github.com/algorand/go-algorand/pull/4422))
* Ci: Four missing partiontest calls. And minor doc update. ([#4394](https://github.com/algorand/go-algorand/pull/4394))
* Ci: Increase parallelism without changing resource_class for faster builds ([#4448](https://github.com/algorand/go-algorand/pull/4448))
* Ci: Re-introduce build_nightly workflow to persist artifacts for upload_binaries ([#4457](https://github.com/algorand/go-algorand/pull/4457))
* Ci: Speed up CircleCI by folding build workflow downstream ([#4426](https://github.com/algorand/go-algorand/pull/4426))
* Ci: make windows build faster ([#4443](https://github.com/algorand/go-algorand/pull/4443))
* Ci: optimize caches used by CircleCI and GHA ([#4461](https://github.com/algorand/go-algorand/pull/4461))
* Ci: use GHA for codegen_verification ([#4412](https://github.com/algorand/go-algorand/pull/4412))
* Cicd: Macos11 support ([#4399](https://github.com/algorand/go-algorand/pull/4399))
* Cicd: Reordering circleci config ([#4564](https://github.com/algorand/go-algorand/pull/4564))
* Codec: new TxHandler byte decoder ([#4266](https://github.com/algorand/go-algorand/pull/4266))
* E2e Tests: tag e2e test data with commit hash ([#4481](https://github.com/algorand/go-algorand/pull/4481))
* Lint: Update linter version ([#4434](https://github.com/algorand/go-algorand/pull/4434))
* Lint: fix linter errors and update CI to require passing ([#4241](https://github.com/algorand/go-algorand/pull/4241))
* Lint: ioutil is deprecated, I have the power of search and replace ([#4440](https://github.com/algorand/go-algorand/pull/4440))
* Metrics: network tag filtering test ([#4526](https://github.com/algorand/go-algorand/pull/4526))
* Performance: Update two transaction verification benchmarks ([#4552](https://github.com/algorand/go-algorand/pull/4552))
* Performance: block validation benchmark ([#4522](https://github.com/algorand/go-algorand/pull/4522))
* Quality: Switch from golint to golangci-lint. ([#4418](https://github.com/algorand/go-algorand/pull/4418))
* REST API: Return a 404 when a block is not found. ([#4479](https://github.com/algorand/go-algorand/pull/4479))
* Stateproof: always set StateProofNextRound in metric ([#4475](https://github.com/algorand/go-algorand/pull/4475))
* Telemetry: add BlockAcceptedEventDetails.ReceivedAt to complement ValidatedAt ([#4583](https://github.com/algorand/go-algorand/pull/4583))
* Telemetry: add StartupEventDetails.Overrides ([#4563](https://github.com/algorand/go-algorand/pull/4563))
* Telemetry: Count and report the number of duplicate proposals and MsgDigestSkipTag messages received ([#4605](https://github.com/algorand/go-algorand/pull/4605))
* Tests: Bump py-algorand-sdk to v1.17.0 ([#4530](https://github.com/algorand/go-algorand/pull/4530))
* Tests: Get rid of references and uses of `go lint` and `go vet` ([#4444](https://github.com/algorand/go-algorand/pull/4444))
* Tests: add debug output to e2e_basic_start_stop ([#4396](https://github.com/algorand/go-algorand/pull/4396))
* Tests: add timestamps to some expect common operations ([#4437](https://github.com/algorand/go-algorand/pull/4437))
* Tests: benchmark assemble / transaction pool&apos;s uses of recomputeBlockEvaluator ([#3138](https://github.com/algorand/go-algorand/pull/3138))
* Tests: betanet-2 extended recipe ([#4572](https://github.com/algorand/go-algorand/pull/4572))
* Tests: fix TestAttestorsChange ([#4510](https://github.com/algorand/go-algorand/pull/4510))
* Tests: improve logging in expect tests ([#4405](https://github.com/algorand/go-algorand/pull/4405))
* Tests: ledger reload accessing txtail history ([#4473](https://github.com/algorand/go-algorand/pull/4473))
* Tests: script improvements for recent testing ([#4474](https://github.com/algorand/go-algorand/pull/4474))
* Tests: skip db concurrent Read/Write tests if test.short is set ([#4533](https://github.com/algorand/go-algorand/pull/4533))
* Tests: stop network before reading logs ([#4429](https://github.com/algorand/go-algorand/pull/4429))
* Tools: netgoal generate add `-X, --non-participating-nodes int` ([#4574](https://github.com/algorand/go-algorand/pull/4574))
* Tools: pingpong improvements ([#4294](https://github.com/algorand/go-algorand/pull/4294))
* Tools: tool to dump blocks to directory ([#4595](https://github.com/algorand/go-algorand/pull/4595))
* Typo Fix: &quot;Transcation&quot; to &quot;Transaction&quot; ([#4248](https://github.com/algorand/go-algorand/pull/4248))
## Bugfixes
* AVM: Handle Teal programs with manual constant blocks better ([#4442](https://github.com/algorand/go-algorand/pull/4442))
* Algod: changed state proof message to no longer be embedded ([#4395](https://github.com/algorand/go-algorand/pull/4395))
* Algod: fix nil deref while fetching stateproof secrets ([#4554](https://github.com/algorand/go-algorand/pull/4554))
* Bugfix: download more block to recover old state proofs ([#4392](https://github.com/algorand/go-algorand/pull/4392))
* Catchpoint: fix peer ranking ([#4535](https://github.com/algorand/go-algorand/pull/4535))
* Catchup: increase HTTPFetcher fetcherMaxBlockBytes for larger block size ([#4569](https://github.com/algorand/go-algorand/pull/4569))
* Cicd: Fixing golangci-lint and github action ([#4483](https://github.com/algorand/go-algorand/pull/4483))
* E2e Tests: remove unused e2e artifact ([#4487](https://github.com/algorand/go-algorand/pull/4487))
* Ledger: Initialize the accountUpdatesLedgerEvaluator properly ([#4456](https://github.com/algorand/go-algorand/pull/4456))
* Ledger: do not shadow db error in account lookup ([#4425](https://github.com/algorand/go-algorand/pull/4425))
* Ledger: extend catchpoint blocks lookback ([#4463](https://github.com/algorand/go-algorand/pull/4463))
* Ledger: fix TestCatchpointReadDatabaseOverflowSingleAccount ([#4579](https://github.com/algorand/go-algorand/pull/4579))
* Ledger: fix accounts cache ordering ([#4611](https://github.com/algorand/go-algorand/pull/4611))
* Ledger: fix catchpoint test ([#4480](https://github.com/algorand/go-algorand/pull/4480))
* Ledger: fix txtail restoring from catchpoints ([#4460](https://github.com/algorand/go-algorand/pull/4460))
* Ledger: fix typo in evalbench_test.go ([#4450](https://github.com/algorand/go-algorand/pull/4450))
* Loadgenerator: correctly handle AccountMnemonicList ([#4454](https://github.com/algorand/go-algorand/pull/4454))
* State Proofs: update state proof totals calculation ([#4445](https://github.com/algorand/go-algorand/pull/4445))
* Stateproofs: Make SP e2e tests easier for arm. ([#4402](https://github.com/algorand/go-algorand/pull/4402))
* Tech Debt: Remove unused/empty algod API spec ([#4420](https://github.com/algorand/go-algorand/pull/4420))
* Tests: Acquire locks when logging start and stop. ([#4408](https://github.com/algorand/go-algorand/pull/4408))
* Tests: Add logging to libgoal fixture on failure ([#4384](https://github.com/algorand/go-algorand/pull/4384))
* Tests: Convert goal app info expect test to e2e ([#4449](https://github.com/algorand/go-algorand/pull/4449))
* Tests: Fix restClientFixture test flaking ([#4484](https://github.com/algorand/go-algorand/pull/4484))
* Tests: Fix voterTracker tests ([#4441](https://github.com/algorand/go-algorand/pull/4441))
* Tests: TestSlowPeerDisconnect less flakey ([#4453](https://github.com/algorand/go-algorand/pull/4453))
* Tests: deprecate TestAsyncRecord ([#4407](https://github.com/algorand/go-algorand/pull/4407))
* Tests: deterministic rand seed for stable unit test ([#4447](https://github.com/algorand/go-algorand/pull/4447))
* Tests: fix TestBasicCatchpointCatchup ([#4390](https://github.com/algorand/go-algorand/pull/4390))
* Tests: fix logged panics in reproducible labels test ([#4446](https://github.com/algorand/go-algorand/pull/4446))
* Tests: fix method name after typo correction ([#4561](https://github.com/algorand/go-algorand/pull/4561))
* Tests: fix network metrics race condition in tests ([#4529](https://github.com/algorand/go-algorand/pull/4529))
* Tests: fix top online warning in TestAcctUpdatesCachesInitialization ([#4451](https://github.com/algorand/go-algorand/pull/4451))
* Tests: stabilize TestAssetCreateWaitRestartDelete ([#4400](https://github.com/algorand/go-algorand/pull/4400))
* Tests: wait until new block is committed to `BlockQueue` ([#4381](https://github.com/algorand/go-algorand/pull/4381))
* Tools: pingpong nil fix ([#4558](https://github.com/algorand/go-algorand/pull/4558))
* Updater: cleanup key.pub ([#4513](https://github.com/algorand/go-algorand/pull/4513))
## 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.

## New Features
* AVM: Switch opcode ([#4458](https://github.com/algorand/go-algorand/pull/4458))
* AVM: frame pointers ([#4319](https://github.com/algorand/go-algorand/pull/4319))

---
## Additional Resources
* [Algorand Forum](https://forum.algorand.org)
* [Developer Documentation](https://developer.algorand.org)
Expand Down
2 changes: 1 addition & 1 deletion packages/algod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-algorand/algod-fetch",
"version": "3.9.4",
"version": "3.10.0",
"description": "Fetch client for Algod RPC",
"keywords": [
"algorand",
Expand Down
42 changes: 31 additions & 11 deletions packages/indexer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @awesome-algorand/indexer-fetch
> Fetch client for Indexer
Generated IndexerClient for Algorand based on the [OpenAPI Specification](https://raw.githubusercontent.com/algorand/indexer/2.6.6/api/indexer.oas3.yml).
Generated IndexerClient for Algorand based on the [OpenAPI Specification](https://raw.githubusercontent.com/algorand/indexer/2.8.0/api/indexer.oas3.yml).
See the [upstream repository](https://github.com/algorand/indexer) for more information.

## Installation
Expand All @@ -28,19 +28,39 @@ const client = new IndexerClient({

# Important Notice

**This is a maintenance release. Do not install this over 2.8.0.**
**NOTE: This release of the indexer REQUIRES a full rebuild with a new database.**

# Highlights
Indexer 2.8.0 is NOT backward compatible with 2.6.5 and must be rebuilt with a new database. This release contains significant changes to unify the accounting logic used by Indexer and Algod. A side effect of this work is that data from earlier releases do not work for the new release. If you attempt to upgrade an older database, Indexer will exit with an error.

A bug in the 2.6.5 release caused indexer to crash with the following error on Testnet:
We made this decision to simplify maintenance long-term of keeping Indexer and Algod's accounting consistent.

```
{"error":"error in account type, previously had type lsig but got sig","level":"error","msg":"txn
accounting r=18759726 i=8, error in account type, previously had type lsig but got
sig","time":"2021-12-30T03:33:54Z"}
```
# Highlights
* Complete overhaul of indexer accounting.
* Enhancements to import performance.
* Bug fixes for special cases

This issue was already fixed in 2.8.0. This hot fix will allow people to continue to run on the 2.6.x release.
# Enhancements
* Add a migration telling the user that upgrading to this version is not supported. (#711)
* Add error msg in rewind about inner txns. (#780)
* Add version to health endpoint. (#756)
* Adding HTTP Error responses to documentation. (#666)
* Return a 404 status code instead of 500 when a block is not found. (#719)
* Cleanup in the DB schema (#714, #717, #718)
* Support special accounts. (#746)
* Support search by zero address. (#771)
* Encode teal key-value as map in JSON (#755)
* Fetch block concurrently with import (#668)
* Improve DB indexes for better worst case accounting time (#760)
* Inner Transaction Support (#684, #721)
* Return extra program pages in app params (#696)
* Use integer for root intra in TxnExtra (#763)
* Use our own JSON handle for decoding (#765)
* Write app call addresses in txn_participation table (#770)

# Bug Fixes
* Allow unexpected changes to sig type cache. (#814)
* Add a check in idb.DecodeTxnRowNext() to prevent indexer crash (#796)
* Clear out error in catchup loop (#689)
* Display b64 fields if their content is zero bytes (#785)
* Move timeout handling into handlers. (#786)
* Return TotalAppSchema and TotalExtraAppPages from AccountData (#784)

2 changes: 1 addition & 1 deletion packages/indexer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awesome-algorand/indexer-fetch",
"version": "2.6.6",
"version": "2.8.0",
"description": "Fetch client for Indexer",
"keywords": [
"algorand",
Expand Down
Loading

0 comments on commit 2d5d11e

Please sign in to comment.