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.10.0-beta Release PR #4565

Merged
merged 94 commits into from
Sep 20, 2022

Conversation

Algo-devops-service
Copy link
Contributor

@Algo-devops-service Algo-devops-service commented Sep 20, 2022

GitHub Logo

Overview

What's New

  • Fix for excess warning logging related to fetching stateproof secrets
  • Return a 404 instead of a 500 when /v2/blocks/{round} fails due to a missing block
  • Miscellaneous other small fixes
  • Test improvements

Changelog

New Features

  • AVM: Add Semicolon Parsing (#4363)
  • Alphanet: merge build changes and consensus params (#4431)

Enhancements

  • Build: adding valid_nightly_branch var to upload_binaries step (#4459)
  • Build: Remove mac_amd64 from our default triggered builds. (#4397)
  • Catchpoint: Optimize catchpoint (#4254)
  • Ci: optimize caches used by CircleCI and GHA (#4461)
  • Ci: Increase parallelism without changing resource_class for faster builds (#4448)
  • Ci: Re-introduce build_nightly workflow to persist artifacts for upload_binaries (#4457)
  • Ci: make windows build faster (#4443)
  • Ci: Speed up CircleCI by folding build workflow downstream (#4426)
  • Ci: Expose configuration to ignore parent E2E expect test runner invocations (#4422)
  • Ci: Ensure algod_expect_test.go tests run by avoiding double partitioning (#4421)
  • Ci: use GHA for codegen_verification (#4412)
  • Ci: Four missing partiontest calls. And minor doc update. (#4394)
  • Cicd: Macos11 support (#4399)
  • Codec: new TxHandler byte decoder (#4266)
  • E2e Tests: tag e2e test data with commit hash (#4481)
  • Enhancement: Return a 404 when a block is not found. (#4479)
  • Lint: ioutil is deprecated, I have the power of search and replace (#4440)
  • Lint: Update linter version (#4434)
  • Lint: fix linter errors and update CI to require passing (#4241)
  • Metrics: network tag filtering test (#4526)
  • Performance: block validation benchmark (#4522)
  • Performance: Update two transaction verification benchmarks (#4552)
  • Quality: Switch from golint to golangci-lint. (#4418)
  • Stateproof: always set StateProofNextRound in metric (#4475)
  • Telemetry: add StartupEventDetails.Overrides (#4563)
  • Tests: benchmark assemble / transaction pool's uses of recomputeBlockEvaluator (#3138)
  • Tests: Bump py-algorand-sdk to v1.17.0 (#4530)
  • Tests: fix TestAttestorsChange (#4510)
  • Tests: script improvements for recent testing (#4474)
  • Tests: ledger reload accessing txtail history (#4473)
  • Tests: Get rid of references and uses of go lint and go vet (#4444)
  • Tests: add timestamps to some expect common operations (#4437)
  • Tests: stop network before reading logs (#4429)
  • Tests: improve logging in expect tests (#4405)
  • Tests: add debug output to e2e_basic_start_stop (#4396)
  • Tools: pingpong improvements (#4294)
  • Typo Fix: "Transcation" to "Transaction" (#4248)

Bugfixes

  • AVM: Handle Teal programs with manual constant blocks better (#4442)
  • Algod: fix nil deref while fetching stateproof secrets (#4554)
  • Algod: changed state proof message to no longer be embedded (#4395)
  • Bugfix: download more block to recover old state proofs (#4392)
  • Catchpoint: fix peer ranking (#4535)
  • Cicd: Fixing golangci-lint and github action (#4483)
  • E2e Tests: remove unused e2e artifact (#4487)
  • Ledger: fix catchpoint test (#4480)
  • Ledger: extend catchpoint blocks lookback (#4463)
  • Ledger: fix txtail restoring from catchpoints (#4460)
  • Ledger: Initialize the accountUpdatesLedgerEvaluator properly (#4456)
  • Ledger: fix typo in evalbench_test.go (#4450)
  • Ledger: do not shadow db error in account lookup (#4425)
  • Loadgenerator: correctly handle AccountMnemonicList (#4454)
  • State Proofs: update state proof totals calculation (#4445)
  • Stateproofs: Make SP e2e tests easier for arm. (#4402)
  • Tech Debt: Remove unused/empty algod API spec (#4420)
  • Tests: fix method name after typo correction (#4561)
  • Tests: fix network metrics race condition in tests (#4529)
  • Tests: Fix restClientFixture test flaking (#4484)
  • Tests: Convert goal app info expect test to e2e (#4449)
  • Tests: TestSlowPeerDisconnect less flakey (#4453)
  • Tests: fix top online warning in TestAcctUpdatesCachesInitialization (#4451)
  • Tests: deterministic rand seed for stable unit test (#4447)
  • Tests: fix logged panics in reproducible labels test (#4446)
  • Tests: Fix voterTracker tests (#4441)
  • Tests: deprecate TestAsyncRecord (#4407)
  • Tests: Acquire locks when logging start and stop. (#4408)
  • Tests: stabilize TestAssetCreateWaitRestartDelete (#4400)
  • Tests: Add logging to libgoal fixture on failure (#4384)
  • Tests: fix TestBasicCatchpointCatchup (#4390)
  • Tests: wait until new block is committed to BlockQueue (#4381)
  • Tools: pingpong nil fix (#4558)
  • Updater: cleanup key.pub (#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)

Additional Resources

ahangsu and others added 30 commits August 10, 2022 08:23
…gorand#4392)

A fast-caught up node should be able to be part of state proofs creation and must download all necessary blocks.
Currently, if the state proof chain is lagging the node download lowestStateProofRound - stateproofInterval
rounds back on fast catchup. This is not accurate since the balances comes from
lowestStateProofRound - stateproofInterval - StateProofVotersLookback round.
Allow semicolons to separate "statements" in TEAL.

Co-authored-by: John Jannotti <jannotti@gmail.com>
* After the protocol upgrade nodes required to have MaxTxnLife + DeeperBlockHeaderHistory
  blocks that violated the test's expectations.
* Fixed a rare case when a block exists in a local ledger but peer's stat is still updated
  even if no communications were made.
…4397)

* Remove mac_amd64 from our default triggered builds.

* Remove mc_amd64 from test verification job.
* Ensure manager account is funded before running any operations on it
* Shave 2 minutes from TestAssetCreateWaitBalLookbackDelete
  by introducing faster rounds on a custom proto that is already in place
…ning (algorand#4421)

* Ensure all expect tests run by avoiding double partitioning
* Update test/e2e-go/cli/algod/expect/algod_expect_test.go

Co-authored-by: John Jannotti <jannotti@gmail.com>
algojohnlee and others added 20 commits September 9, 2022 10:05
…#4552)

* add verify.TxnGroup to BenchmarkTxHandlerProcessing on bigger blocks
* add blk.paysetCommitSHA256 to BenchmarkTxnRoots
Co-authored-by: John Jannotti <jannotti@gmail.com>
Co-authored-by: michaeldiamant <michaeldiamant@users.noreply.github.com>
Co-authored-by: John Jannotti <john.jannotti@algorand.com>
CICD: go-algorand relstable3.9.4-remerge mergeback
go test ./ledger -run ^$ -v -bench BenchmarkBlockValidation -timeout=20m -benchtime=10x
@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #4565 (a3c1efe) into rel/beta (3a4710b) will decrease coverage by 1.49%.
The diff coverage is 35.07%.

@@             Coverage Diff              @@
##           rel/beta    #4565      +/-   ##
============================================
- Coverage     55.61%   54.12%   -1.50%     
============================================
  Files           403      401       -2     
  Lines         50854    51642     +788     
============================================
- Hits          28284    27949     -335     
- Misses        20174    21339    +1165     
+ Partials       2396     2354      -42     
Impacted Files Coverage Δ
catchup/catchpointService.go 7.80% <0.00%> (+6.03%) ⬆️
catchup/ledgerFetcher.go 40.22% <ø> (ø)
cmd/algod/main.go 0.00% <0.00%> (ø)
cmd/algofix/main.go 1.50% <0.00%> (ø)
cmd/algofix/typecheck.go 0.00% <0.00%> (ø)
cmd/algoh/main.go 0.00% <0.00%> (ø)
cmd/catchupsrv/download.go 12.79% <0.00%> (ø)
cmd/catchupsrv/main.go 0.00% <0.00%> (ø)
cmd/goal/account.go 12.62% <0.00%> (ø)
cmd/goal/accountsList.go 0.00% <0.00%> (ø)
... and 95 more

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

@algojohnlee algojohnlee merged commit 3e02f51 into algorand:rel/beta Sep 20, 2022
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.