summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-11readd newlinecircleci/1809Barbara Poon
2022-01-10remove debugging and testing codeBarbara Poon
2022-01-10test NO_BUILD=falseBarbara Poon
2022-01-10test circleci/1809 branch no_build=trueBarbara Poon
2022-01-10test no_build=trueBarbara Poon
2022-01-06clean up config fileBarbara Poon
2022-01-06test no_build=trueBarbara Poon
2022-01-06reduce the code in upload_binaries_commandBarbara Poon
2022-01-06clean up debuggingBarbara Poon
2022-01-06test no_build=false againBarbara Poon
2022-01-06disable slack while testingBarbara Poon
2022-01-06change where the no_build conditional liesBarbara Poon
2022-01-06fix branch name for testingBarbara Poon
2022-01-06test upload_nightly_binaries works as expectedBarbara Poon
2022-01-06test upload_nightly_binaries works as expectedBarbara Poon
2022-01-06remove NO_BUILD flag when set to falseBarbara Poon
2022-01-06remove slack for testing and change attach workspaceBarbara Poon
2022-01-06fix no_build variable referenceBarbara Poon
2022-01-06test NO_BUILD parameterBarbara Poon
2022-01-06PKI State Proof Incremental Key Loading (#3281)Will Winder
## Summary Followup to #3261 (contained in diff). Use the new key loading routine from the REST API. ## Test Plan New unit tests.
2022-01-04Add totals checks into acct updates tests (#3367)Pavel Zbitskiy
## Summary After #2922 there is some leftover unused code for totals calculations. Turned this code into actual asserts. ## Test Plan This is tests update
2022-01-02Update license to 2022 (#3360)Or Aharonee
Update license on all source files to 2022.
2021-12-29Support app creation in `goal app method` (#3353)Jason Paulos
* Support app creation in `goal app method` * Don't use nonprintable tab character * Link to specific gist version * Fix error messages * Rename `methodCreation` to `methodCreatesApp`
2021-12-28Update `goal app method` handling of args and return values (#3352)Jason Paulos
* Fix method call arg overflow handling * Only check last log for return value * Address feedback * Add comment explaining ABI return prefix
2021-12-22Fix flaky test in randomized ABI encoding test (#3346)Hang Su
* update abi encoding test random testcase generator, scale down parameters to avoid flaky test * parameterized test script * add notes to explain why flaky test is eliminated * show more information from self-roundtrip testing * fully utilize require, remove fmt
2021-12-21add config.DeadlockDetectionThreshold (#3339)chris erway
Summary This allows for the deadlock detection threshold to be set by configuration. Test Plan Existing tests should pass.
2021-12-20Adding method pseudo op to readme (#3338)Ben Guidarelli
2021-12-20tealdbg: increase intermediate reading/writing buffers (#3335)Ben Guidarelli
## Summary Some large teal source files cause the tealdbg/cdt session to choke. Upping the buffer size to allow for larger source files. closes #3100 ## Test Plan Run tealdbg with a large source teal file, ensure the source file makes it to cdt without choking.
2021-12-20Add convertAddress tool. (#3304)Will Winder
## Summary New tool: convertAddress I share this tool with someone every few months, putting it in the repo along with some documentation should make it easier to share and encourage people to share it amongst themselves if it's useful. Merge `debug` into `tools` to make it easier to organize these miscellaneous tools.
2021-12-17Minimum Account Balance in Algod (#3287)Zeph Grunschlag
2021-12-16Add help and fish mode to e2e interactive mode. (#3313)Will Winder
## Summary Minor improvements to e2e.sh interactive mode: * add to -h output * do not run start stop test in interactive mode * support fish shell ## Test Plan Manual testing: ``` ~$ ./e2e.sh -i ... lots of output removed ... ********** READY ********** The test environment is now set. You can now run tests in another terminal. Configure the environment: set -g VIRTUAL_ENV "/home/will/go/src/github.com/algorand/go-algorand/tmp/out/e2e/130013-1639576513257/ve" set -g PATH "$VIRTUAL_ENV/bin:$PATH" python3 "/home/will/go/src/github.com/algorand/go-algorand/test/scripts"/e2e_client_runner.py "/home/will/go/src/github.com/algorand/go-algorand/test/scripts"/e2e_subs/SCRIPT_FILE_NAME Press enter to shut down the test environment... ```
2021-12-16Followup to opcode base64_decode (#3288)Zeph Grunschlag
* alphabet begone in favor of encoding * unit test various padding and whitespace scenarios * padding permutations also fail * "Slicing" --> "Manipulation" * fix the codegen fail? * Documenting padding, whitespace, other character behavior
2021-12-15Add qkniep to THANKS.md (#3320)Will Winder
## Summary Add qkniep to THANKS.md
2021-12-15Separate tx and key validity for `goal account renewpartkey` (#3286)Quentin Kniep
Always use currentRound+proto.MaxTxnLife as last valid round for the transaction when renewing instead of using the partkey validity period. This fixes #3283
2021-12-15ledger: perform the catchpoint writing outside the trackers lock. (#3311)Tsachi Herman
## Summary This PR moves the catchpoint file writing to be performed outside of the trackers lock. This resolves the issue where a long catchpoint file writing blocks the agreement from validating and propagating votes. ## Test Plan * [x] Test manually & use existing tests. * [x] Implement a unit test * [x] Deploy a local network where the catchpoint writing takes a long time and verify it doesn't get blocked during catchpoint writing.
2021-12-15Merge pull request #3317 from egieseke/rel/stableJohn Lee
2021-12-15Merge branch 'rel/stable' of https://github.com/algorand/go-algorand into ↵egieseke
rel/stable
2021-12-15testing: fix random data race in TestAppAccountDataStorage (#3315)Tsachi Herman
fix random data race in unit test
2021-12-15testing: reword partitiontest lint message. (#3297)Will Winder
## Summary The wording on this was tripping me, maybe I was having an off day. I think it would be slightly easier if the message were to tell exactly what you need to do (and not use the angle brackets).
2021-12-14documentation: fix algorand specs link (#3309)Tolik Zinovyev
## Summary This PR fixes a link in a README. ## Testing I clicked on the new link.
2021-12-13Avoid creating algod process for the sole purpose of retrieving the ↵Tsachi Herman
genesis-id. (#3308) ## Summary Avoid creating algod process for the sole purpose of retrieving the genesis-id. Existing code was calling `algod -G -d <data dir>` in order to obtain the genesis version string. The genesis version string can be easily retrieved by loading the genesis file. ## Test Plan Use existing e2e tests.
2021-12-13Merge pull request #3305 from Algo-devops-service/relstable3.2.2v3.2.2-stableJohn Lee
go-algorand 3.2.2-stable
2021-12-10make sure the block service is not attempting to access the ledger after ↵Tsachi Herman
being stopped. (#3303) ## Summary The block service was attempting to serve block via the http handler even after it has been stopped. This lead to undesired downstream failures in the ledger, which was shutdown as well. ## Test Plan unit test added.
2021-12-10Merge branch 'rel/beta' into relstable3.2.2DevOps Service
2021-12-10enumerate conditions that might cause this fetchAndWrite to return false (#3301)Ben Guidarelli
## Summary The fetchAndWrite function contains some complex logic to ultimately determine if we should continue trying to catch up. The conditions that might cause it to return false should be more explicitly enumerated. ## Test Plan Just comments
2021-12-10testing: disable flaky test (#3268)Will Winder
Disable a flaky test, to be re-enabled later with #3267.
2021-12-10Merge pull request #3300 from algorand/relbeta3.2.2v3.2.2-betaJohn Lee
go-algorand v3.2.2-beta
2021-12-09Bump buildnumber.datJohn Lee
2021-12-09catchup: suspend the catchup session once the agreement service kicks in (#3299)Shant Karakashian
The catchup service stops when it is complete, i.e. it has reached up to the round which is being agreed on. The catchup service knows it is complete and should stop, when it finds that a block is in the ledger before it adds it. In other words, apart from the catchup, only the agreement adds blocks to the ledger. And when the agreement adds a block to the ledger before the catchup, it means the agreement is ahead, and the catchup is complete. When `fetchAndWrite` detects the block is already in the ledger, it returns. The return value of `false` stops the catchup syncing. In previous releases, `fetchAndWrite` was only checking if the block is already in the ledger after attempting to fetch it. Since it fails to fetch a block not yet agreed on, the fetch fails after multiple attempts, and `fetchAndWrite` returns `false` ending the catchup. A recent change made this process more efficient by first checking if the block is in the ledger before/during the fetch. However, once the block was found in the ledger, `fetchAndWrite` returned true instead of false (consistent with already existing logic since forever, which was also wrong). This caused the catchup to continue syncing after catchup was complete. This change fixes the return value from true to false.
2021-12-09Compatibility mode for partkeyinfo. (#3291)Will Winder
## Summary Compatibility for `partkeyinfo` was also needed by some users. In addition to the different format, the old command also allows printing key information when the node is not running Workarounds: 1) use an older `goal` binary. 2) use `algokey part info --keyfile <file>` ## Test Plan Tested manually: ``` ~$ goal account partkeyinfo -d /tmp/private_network/Node/ Dumping participation key info from /tmp/private_network/Node/... Participation ID: CPLHRU3WEY3PE7XTPPSIE7BGJYWAIFPS7DL3HZNC4OKQRQ5YAYUA Parent address: DGS6VNX2BRMKGKVAS2LTREMYG33TOCYPFLPCQ3DUTJULQU6P6S7KJCDNTU Last vote round: 1 Last block proposal round: 2 Effective first round: 1 Effective last round: 3000000 First round: 0 Last round: 3000000 Key dilution: 10000 Selection key: 5QRrTgzSUTqqym43QVsBus1/AOwGR5zE+I7FGwA14vQ= Voting key: PK0NMyZ4BKSjPQ9JuT7dQBLdTpjLQv2txuDYDKhkuqs= ~$ goal account partkeyinfo -d /tmp/private_network/Node/ -c Dumping participation key info from /tmp/private_network/Node/... ------------------------------------------------------------------ File: Wallet2.0.3000000.partkey { "acct": "DGS6VNX2BRMKGKVAS2LTREMYG33TOCYPFLPCQ3DUTJULQU6P6S7KJCDNTU", "last": 3000000, "sel": "5QRrTgzSUTqqym43QVsBus1/AOwGR5zE+I7FGwA14vQ=", "vote": "PK0NMyZ4BKSjPQ9JuT7dQBLdTpjLQv2txuDYDKhkuqs=", "voteKD": 10000 } ```