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.2.1-beta #3260

Merged
merged 12 commits into from
Dec 2, 2021
Merged

go-algorand 3.2.1-beta #3260

merged 12 commits into from
Dec 2, 2021

Conversation

Algo-devops-service
Copy link
Contributor

@Algo-devops-service Algo-devops-service commented Nov 30, 2021

GitHub Logo

Changelog

  1. Goal
    • New Feature
      • Fix OnCompletion flag for goal app method (algorand#3228)
      • Support transaction arguments for goal app method (algorand#3233)
  2. Algod
    • BugFix
      • Improve dev-mode reliability (algorand#3252)
  3. Ledger
    • BugFix
      • Ensure i/o failure is correctly handled (algorand#3258)

Protocol Upgrade

This release does not contain a protocol upgrade.

Additional Resources

algojack and others added 12 commits November 19, 2021 11:52
* Implement transactions as arguments

* Fix indexing and dryrun issue

* Add docstring

* Satisfy review dog

* Fix pointer issue

* Fix group command

* Rename e2e test

* Fix filename variable

* Add e2e test

* Use tab
## Summary

Small change: libboost-math-dev requires just 4 packages to install, while libboost-all-dev requires > 100. Only Debian/Ubuntu distributions provide fine-grained boost packages like this, but should shave a little time off the CI builds. (Our only boost include is boost/math/distributions/binomial.hpp.)

## Test Plan

Builds should pass as before. Now that we are no longer using Travis for Linux builds, the side effect of libboost-all-dev installing make and other missing build tools on Travis encountered in #2717 is no longer a concern.
## Summary

- Test to make sure RES has the right input before counting line numbers for result size.
- Rest RES to empty so that the same output is not recycled in case of an error.
- exit 1 in case of an error
- Reduce LAST_ROUND from 1200000 to 120
- "Get List of Keys" before getting NUM_IDS_3 otherwise it will recycle old RES value.

## Summary
Some e2e tests require a python environment for testing.
Unfortunately, setting up that environment adequately similar to the testing environment may not be trivial.
This change introduces an interactive mode to the e2e.sh script which stops at the point of running the tests, and allows the user to run the tests from the same testing environment.


## Test Plan
No tests needed. Tested the script locally.
## Summary

Fix a couple flaws in the new go-e2e tests built ontop of DevMode:
* Shutdown the fixture when finished.
* Don't run in parallel.
* Longer delays / better algorithms to wait for data flushing to complete.
* Check for "out of order" keys.

## Test Plan

N/A, this is a test.
## Summary

The sandbox is not building with dev config using master branch algorand/sandbox#85, complains about libtool not being installed

Guessing from this change #3223 

Adding libtool to UBUNTU_DEPS in install scripts

## Test Plan

Set config in sandbox to my branch
`sandbox up dev`
It built
## Summary

Error from account preloading was shadowed by returning a wrong err variable. This caused subsequent problems in account updates and masked the original failure.

## Test Plan

Use existing tests
## Summary

This test doesn't work properly, disable it until #3255 addresses any underlying problems.
@codecov-commenter
Copy link

codecov-commenter commented Nov 30, 2021

Codecov Report

Merging #3260 (305d7ab) into rel/beta (8aa0728) will decrease coverage by 0.04%.
The diff coverage is 1.23%.

Impacted file tree graph

@@             Coverage Diff              @@
##           rel/beta    #3260      +/-   ##
============================================
- Coverage     47.46%   47.42%   -0.05%     
============================================
  Files           369      369              
  Lines         59538    59620      +82     
============================================
+ Hits          28261    28272      +11     
- Misses        27996    28069      +73     
+ Partials       3281     3279       -2     
Impacted Files Coverage Δ
cmd/goal/clerk.go 9.14% <0.00%> (-0.05%) ⬇️
data/abi/abi_encode.go 57.01% <0.00%> (-1.40%) ⬇️
data/abi/abi_type.go 89.80% <0.00%> (-2.24%) ⬇️
ledger/internal/eval.go 70.36% <0.00%> (ø)
libgoal/libgoal.go 2.90% <0.00%> (-0.03%) ⬇️
cmd/goal/application.go 11.79% <2.24%> (-0.99%) ⬇️
network/requestTracker.go 71.12% <0.00%> (-0.44%) ⬇️
data/transactions/verify/txn.go 44.29% <0.00%> (ø)
network/wsNetwork.go 63.33% <0.00%> (+0.29%) ⬆️
catchup/service.go 69.82% <0.00%> (+0.74%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8aa0728...305d7ab. Read the comment docs.

Copy link
Contributor

@algobarb algobarb left a comment

Choose a reason for hiding this comment

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

Looks ok to me?

@tsachiherman
Copy link
Contributor

The comment on the header is missing the most important change for which we're creating this hot fix:
Fix error shadowing in Eval; you can write it as :
ledger: ensure i/o failure is correctly handled.

@onetechnical onetechnical marked this pull request as ready for review December 2, 2021 16:24
@algojohnlee algojohnlee merged commit 2baf39b into algorand:rel/beta Dec 2, 2021
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.