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.4.2-stable #3700

Merged
merged 530 commits into from
Mar 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
530 commits
Select commit Hold shift + click to select a range
5318545
TestEcdsa: fix flaky "tampering" of public key (#3282)
cce Dec 9, 2021
29a10da
Support reference types in `goal app method` (#3275)
jasonpaulos Dec 9, 2021
741d1ea
Add a hash prefix for ARCs-related hashes (#3298)
fabrice102 Dec 10, 2021
94ba758
catchup: suspend the catchup session once the agreement service kicks…
algonautshant Dec 10, 2021
493c2ea
testing: disable flaky test (#3268)
winder Dec 10, 2021
b2ca02f
enumerate conditions that might cause this fetchAndWrite to return fa…
barnjamin Dec 10, 2021
18cd6cd
make sure the block service is not attempting to access the ledger af…
tsachiherman Dec 10, 2021
6330862
Avoid creating algod process for the sole purpose of retrieving the g…
tsachiherman Dec 13, 2021
f8173ff
Merge branch 'master' into feature/dilithium-scheme-integration
Dec 14, 2021
ac5f839
documentation: fix algorand specs link (#3309)
tolikzinovyev Dec 14, 2021
0631b3e
verbose test output to detect which test in not finishing in time
algonautshant Dec 15, 2021
34e2fbd
testing: reword partitiontest lint message. (#3297)
winder Dec 15, 2021
de7fe45
testing: fix random data race in TestAppAccountDataStorage (#3315)
tsachiherman Dec 15, 2021
678c1ea
Merge branch 'rel/stable' of https://github.com/algorand/go-algorand …
egieseke Dec 15, 2021
3520336
Merge pull request #3317 from egieseke/rel/stable
algojohnlee Dec 15, 2021
14e889e
ledger: perform the catchpoint writing outside the trackers lock. (#3…
tsachiherman Dec 15, 2021
8128167
Separate tx and key validity for `goal account renewpartkey` (#3286)
qkniep Dec 15, 2021
f5bf5ec
Add qkniep to THANKS.md (#3320)
winder Dec 15, 2021
9a5d5cd
Followup to opcode base64_decode (#3288)
tzaffi Dec 16, 2021
b73265c
Add help and fish mode to e2e interactive mode. (#3313)
winder Dec 16, 2021
9cdcb39
Minimum Account Balance in Algod (#3287)
tzaffi Dec 17, 2021
77258d3
Merge remote-tracking branch 'upstream/master' into feature/dilithium…
algonautshant Dec 17, 2021
6d01f6b
fix merge conflict
algonautshant Dec 17, 2021
cd4a466
regenerate paths
algonautshant Dec 17, 2021
ca652fe
msgp regenerated
algonautshant Dec 17, 2021
309c751
run only TestArchivalFromNonArchival for testing
algonautshant Dec 20, 2021
efac333
Reducing the number of blocks to 1000.
algonautshant Dec 20, 2021
965cf04
use 1500 blocks
algonautshant Dec 20, 2021
22a5ebb
Add convertAddress tool. (#3304)
winder Dec 20, 2021
0ad9900
tealdbg: increase intermediate reading/writing buffers (#3335)
barnjamin Dec 20, 2021
6be3ffa
Adding method pseudo op to readme (#3338)
barnjamin Dec 20, 2021
104867c
Add Version KV to telemetry events
cce Dec 21, 2021
4cb4241
add config.DeadlockDetectionThreshold (#3339)
cce Dec 22, 2021
7da1026
Fix flaky test in randomized ABI encoding test (#3346)
ahangsu Dec 23, 2021
2e09ebf
Update `goal app method` handling of args and return values (#3352)
jasonpaulos Dec 28, 2021
14bf464
Support app creation in `goal app method` (#3353)
jasonpaulos Dec 29, 2021
8a335bb
Update license to 2022 (#3360)
Aharonee Jan 2, 2022
efe6c77
Merge branch 'master' into feature/dilithium-scheme-integration
Jan 2, 2022
ca330c6
license update for feature branch
Jan 2, 2022
7248b95
Add totals checks into acct updates tests (#3367)
algorandskiy Jan 4, 2022
ea5485d
Falcon key gen time: set LastPartKeyRound 3K (#3280)
algonautshant Jan 4, 2022
2767f1e
remove buildnumber.dat
algobarb Jan 5, 2022
55c4fa5
remove buildnumber.dat
Algo-devops-service Jan 5, 2022
244b5f2
Use gc to avoid trashing. (#3363)
algonautshant Jan 6, 2022
cb1650e
PKI State Proof Incremental Key Loading (#3281)
winder Jan 6, 2022
e6e9ac0
Limit number of simultaneous REST connections (#3326)
tolikzinovyev Jan 6, 2022
52a1a2c
Merge pull request #3372 from Algo-devops-service/relstable3.2.3-remerge
algojohnlee Jan 6, 2022
16c3053
Use rejecting limit listener in WebsocketNetwork. (#3380)
tolikzinovyev Jan 6, 2022
35cf3b3
Delete unused constant. (#3379)
tolikzinovyev Jan 6, 2022
8f62aff
Add test to exercise lookup corner cases (#3376)
cce Jan 6, 2022
64a406f
Test for catchup stop on completion (#3306)
algonautshant Jan 6, 2022
ab65611
Delete unused AtomicCommitWriteLock(). (#3383)
tolikzinovyev Jan 6, 2022
46784c7
testing: Fix unit test TestAsyncTelemetryHook_QueueDepth (#2685)
tsachiherman Jan 7, 2022
f9497d9
Deprecate `FastPartitionRecovery` from `ConsensusParams` (#3386)
tolikzinovyev Jan 7, 2022
2346615
Remaking a PR for CI (#3398)
algojack Jan 10, 2022
b93f0e5
Make merkle signer SNARK friendly (#3263)
id-ms Jan 11, 2022
e19fafb
[Other] CircleCI pipeline change for binary uploads (#3381)
algobarb Jan 12, 2022
3904ed8
signer.KeyDilution need not depend on config package (#3265)
algonautshant Jan 12, 2022
a1edadc
algodump is a tcpdump-like tool for algod's network protocol (#3166)
zeldovich Jan 13, 2022
326d04a
Removing C/crypto dependencies from `data/abi` package (#3375)
ahangsu Jan 13, 2022
ee988ea
Feature Networks pipeline related changes (#3393)
algojack Jan 13, 2022
2f2dd3d
Integrate stateproof with the updated account manager (#3350)
Aharonee Jan 13, 2022
f864f9e
testing: Add slightly more coverage to TestAcctUpdatesLookupRetry (#3…
cce Jan 14, 2022
9d07369
add context to (most) agreement logged writes (#3411)
tsachiherman Jan 14, 2022
4006ce2
network: faster node shutdown (#3416)
tsachiherman Jan 14, 2022
2356974
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Jan 14, 2022
d786394
Fix stateproof in goal (#3425)
id-ms Jan 17, 2022
6f12712
Merge branch 'master' into feature/dilithium-scheme-integration
Jan 17, 2022
130d25e
Merge pull request #3423 from Algo-devops-service/relbeta3.3.0
algojohnlee Jan 19, 2022
561db66
update arm32 builds to v7
algobarb Jan 19, 2022
2edd3de
ledger: fix `NextRewardsState()` (#3403)
tolikzinovyev Jan 19, 2022
82eabff
Fix a potential problem of committing non-uniform consensus versions …
algorandskiy Jan 20, 2022
9d49473
avoid generating log error on EnsureValidatedBlock / EnsureBlock (#3424)
algonautshant Jan 20, 2022
3a4c288
Fix typo Fulll to Full (#3456)
algonautshant Jan 20, 2022
33b87c4
Fix worng message on restore crash db. (#3455)
algonautshant Jan 20, 2022
b47b0b9
Merge branch 'rel/beta' into algobarb/updatearm32builds
algobarb Jan 20, 2022
dfde280
Merge pull request #3452 from algobarb/algobarb/updatearm32builds
algojohnlee Jan 20, 2022
1603470
Merge pull request #1 from algorand/rel/beta
Algo-devops-service Jan 20, 2022
f4333b9
Update task for arm32 build from alpine to ubuntu
Algo-devops-service Jan 20, 2022
6fe6496
Merge pull request #3461 from Algo-devops-service/relbeta3.3.0
algojohnlee Jan 20, 2022
db45f6d
add conditional for arm32 builds in ubuntu dockerfile
algobarb Jan 20, 2022
4e67a5b
use GOARCH to specify arch name for golang download
algobarb Jan 20, 2022
61e3860
Merge branch 'rel/beta' into relbeta3.3.0
Algo-devops-service Jan 20, 2022
6f4a2c0
Merge pull request #3463 from Algo-devops-service/relbeta3.3.0
algojohnlee Jan 21, 2022
2a96a78
Adding new scenario for feature networks (#3451)
algojack Jan 24, 2022
c2ba596
Fixing telemetry ports (#3497)
algojack Jan 25, 2022
762bc80
Revert `fillBytes` method to `bigIntToBytes` for lower golang version…
ahangsu Jan 26, 2022
6d44afc
Add vector commitment (#3370)
id-ms Jan 26, 2022
70a076e
Remove unused DeleteParticipationIdResponse type. (#3500)
winder Jan 26, 2022
92d9b68
Merge branch 'master' into feature/dilithium-scheme-integration
Jan 27, 2022
b501f4a
regenerate routes + resotre circleCI config
Jan 27, 2022
1b32087
Revert "Change golang version to 1.16.11 in go-algorand (#2825)" (#3506)
algojack Jan 27, 2022
93a372d
Add bandwidth testing (#3487)
egieseke Jan 27, 2022
3750eb7
Integrate mss and vc (#3512)
id-ms Jan 27, 2022
a4d2ed5
Rename + change compact cert rounds (#3517)
id-ms Jan 27, 2022
3a00dae
fix install bug (#3535)
id-ms Jan 30, 2022
32ac35d
update falcon lib + speed-up participation test
Jan 30, 2022
cd19002
documentation: Update ledger README reference to trackers (#3540)
michaeldiamant Jan 31, 2022
1dd40a8
batch verification: add batch verification implementation (#3031)
id-ms Jan 31, 2022
564fc05
Remove sig abstraction (#3541)
id-ms Feb 1, 2022
0711e2a
Merge branch 'master' into feature/dilithium-scheme-integration
Feb 1, 2022
8b54ef8
create v31 consensus version.
Feb 2, 2022
b8f2ee2
fix memory consumption problem in testing (#3548)
id-ms Feb 2, 2022
1d41730
add a warning in case the VotingKeys method exceed the time limits. (…
tsachiherman Feb 2, 2022
6230dc5
bug fix : tx sync was incorrectly validating transactions (#3554)
tsachiherman Feb 2, 2022
7d34cfa
v31 include more feature + change the current
Feb 2, 2022
355b97f
Update config/consensus.go
id-ms Feb 2, 2022
cedc835
cr fix
Feb 2, 2022
cd1c60c
nits and CR fixes
Feb 3, 2022
0d65a0f
Optimize catchpointdump utility (#3561)
algorandskiy Feb 4, 2022
f0b85f6
Moving to centos stream 8 (#3560)
algojack Feb 4, 2022
c765903
Removed hard-coded constant in `sortition.go`. (#3558)
Olshansk Feb 4, 2022
bc9cebd
catchpointdump: allow print filters (#3566)
algorandskiy Feb 4, 2022
c9adc44
update state proof branch for go 1.13 style errors
cce Feb 7, 2022
9507aca
Refactoring and CR fixes
Aharonee Feb 7, 2022
572ef06
Merge branch 'feature/dilithium-scheme-integration' into stateproofs-…
Aharonee Feb 8, 2022
af0c721
Merge pull request #3585 from cce/stateproofs-go1.13
Aharonee Feb 8, 2022
91e612b
Update error check in unit test
Aharonee Feb 8, 2022
1431b04
changes in keyBuilder
tsachiherman Feb 8, 2022
5aad2e2
Add comment to help explain txntest.Txn rationale (#3574)
michaeldiamant Feb 8, 2022
f00b072
adding another field for lsig disassembly (#3577)
barnjamin Feb 8, 2022
7bbf683
Merge pull request #3593 from tsachiherman/tsachi/dilithium-keys-builder
Aharonee Feb 8, 2022
0111cb1
Feature/contract to contract -> master (#3397)
jannotti Feb 8, 2022
de20e30
refactoring and fixes
Aharonee Feb 8, 2022
9cc2498
update thanks file (#3595)
tsachiherman Feb 8, 2022
45f0097
Merge branch 'master' into feature/dilithium-scheme-integration
jannotti Feb 8, 2022
3db7e1d
catchpointdump: set genesis proto version (#3596)
algorandskiy Feb 8, 2022
18b5ccb
Add catchpointdump into tools package (#3590)
algorandskiy Feb 8, 2022
00e75f8
Merge branch 'master' into create-v31-version
tsachiherman Feb 8, 2022
7436433
generated results
jannotti Feb 8, 2022
14fa6d0
Add filter fields to catchpointdump net command (#3598)
algorandskiy Feb 8, 2022
7ab2c45
Use context instead of an atomic var.
tsachiherman Feb 8, 2022
b01a301
few minor updates.
tsachiherman Feb 9, 2022
35a9c83
Use ErrorIs
jannotti Feb 9, 2022
368a93f
Merge pull request #3597 from algorand/c2c-merge
Aharonee Feb 9, 2022
c8c6fb7
move txn template filler above fee setting (#3592)
barnjamin Feb 9, 2022
ab6571f
Merge branch 'feature/dilithium-scheme-integration' into tsachi/keybu…
Aharonee Feb 9, 2022
8c625b7
Merge pull request #3599 from tsachiherman/tsachi/keybuilder2
Aharonee Feb 9, 2022
94f34ab
fix indentation
Aharonee Feb 9, 2022
46eb2b8
Merge pull request #3601 from tsachiherman/tsachi/updateimports
Aharonee Feb 9, 2022
8c37d5e
Iterate over participation data from the registry instead of the old …
Aharonee Feb 9, 2022
fd65cba
fix reviewdog
tsachiherman Feb 9, 2022
c96d6cd
prepare statement stateproofkeys insert
Aharonee Feb 9, 2022
977c517
Merge pull request #3602 from tsachiherman/tsachi/fixrd
Aharonee Feb 9, 2022
dd98456
few db persistence CR
tsachiherman Feb 9, 2022
70abe5b
Merge branch 'feature/dilithium-scheme-integration' into tsachi/fixpmss
tsachiherman Feb 9, 2022
a242d16
update
tsachiherman Feb 9, 2022
bef7804
small change.
tsachiherman Feb 9, 2022
b139765
Merge pull request #3603 from tsachiherman/tsachi/fixpmss
Aharonee Feb 9, 2022
075dfb1
faster implementation.
tsachiherman Feb 9, 2022
0862843
Merge pull request #3604 from tsachiherman/tsachi/faster_txnMerkleToRaw
Aharonee Feb 9, 2022
83f9a05
database schema testing.
tsachiherman Feb 9, 2022
83c8510
Merge pull request #3606 from tsachiherman/tsachi/dilithium_database_…
Aharonee Feb 9, 2022
bd7fcc8
pass flag instead of ConsensusParams to function
Aharonee Feb 9, 2022
90c3248
fix performance regression.
tsachiherman Feb 9, 2022
0d35440
Merge branch 'feature/dilithium-scheme-integration' of github.com:alg…
tsachiherman Feb 9, 2022
aea9374
fix broken test
tsachiherman Feb 9, 2022
7db102d
make test consts non exported
Aharonee Feb 9, 2022
ed6efa5
update e2e_subs test
Aharonee Feb 9, 2022
674688d
changes
tsachiherman Feb 9, 2022
8c2b31a
Merge pull request #3608 from tsachiherman/tsachi/fixtxnMerkleToRawre…
tsachiherman Feb 9, 2022
005e3f1
Merge branch 'feature/dilithium-scheme-integration' into tsachi/sigle…
tsachiherman Feb 9, 2022
3234539
Update logging/telemetryFilteredHook.go
cce Feb 9, 2022
80e4305
fix suggestion
cce Feb 9, 2022
2cb8e66
Merge remote-tracking branch 'upstream/master' into add-telemetry-ver…
cce Feb 10, 2022
01fdce0
replace error strings with error type
Aharonee Feb 10, 2022
617f69f
Update crypto/merklearray/merkle.go
Aharonee Feb 10, 2022
74d31b9
update per peer review
tsachiherman Feb 10, 2022
8d10050
Merge pull request #3609 from tsachiherman/tsachi/siglentest
tsachiherman Feb 10, 2022
268ee6d
reuse code in GetStateProofForRound
Aharonee Feb 10, 2022
e4302da
docstring
Aharonee Feb 10, 2022
1dc185c
rename
Aharonee Feb 10, 2022
3fa00c3
replace error strings with type
Aharonee Feb 10, 2022
9cc0800
newline for goal output
Aharonee Feb 10, 2022
83f96ab
newline for goal output
Aharonee Feb 10, 2022
1504f5f
Merge pull request #2990 from algorand/feature/dilithium-scheme-integ…
tsachiherman Feb 10, 2022
4236478
Merge branch 'master' into create-v31-version
tsachiherman Feb 10, 2022
3ce0afb
update upgrade.
tsachiherman Feb 10, 2022
4ba3d33
update per peer review
tsachiherman Feb 10, 2022
102c6ff
Merge pull request #3341 from cce/add-telemetry-version-kv
tsachiherman Feb 10, 2022
6326a0c
reduce runtime of unit test: TestKeyregValidityPeriod
Aharonee Feb 10, 2022
71e39cd
Merge pull request #3553 from algoidan/create-v31-version
tsachiherman Feb 10, 2022
3b71974
rollback changes.
tsachiherman Feb 11, 2022
3f34164
Moving windows build to Github Actions (#3575)
algojack Feb 11, 2022
7d0c2c4
try to run as nightly build.
tsachiherman Feb 11, 2022
64bd947
rollback config change.
tsachiherman Feb 11, 2022
53b157b
Merge pull request #3611 from tsachiherman/tsachi/rollbackParticipati…
tsachiherman Feb 11, 2022
0d21379
Merge branch 'master' into relbeta3.4.0
Algo-devops-service Feb 11, 2022
9024a09
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Feb 11, 2022
45db8d3
Merge pull request #3613 from Algo-devops-service/relbeta3.4.0
algojohnlee Feb 11, 2022
1736512
revert golang1.16 arm32 changes
algobarb Feb 11, 2022
7b77e8d
revert stash commented out for local testing
algobarb Feb 11, 2022
22c99e4
Merge branch 'rel/beta' into relbeta3.4.0
algojohnlee Feb 11, 2022
9efa809
Merge pull request #3615 from Algo-devops-service/relbeta3.4.0
algojohnlee Feb 11, 2022
377910d
fix bug
tsachiherman Feb 11, 2022
6cdbc9c
Remove `make gen` from ci-build
onetechnical Feb 11, 2022
afb2d76
Merge pull request #3617 from Algo-devops-service/relbeta3.4.0
algojohnlee Feb 12, 2022
42d1def
hotfix - restore participation database without state proof fails
Aharonee Feb 13, 2022
4883499
Make sure to create StateProofKeys table in case it doesn't exist
Aharonee Feb 13, 2022
96ce3a0
rename and add docstring
Aharonee Feb 13, 2022
a169808
add tests
Feb 13, 2022
3563142
fix comments
Feb 13, 2022
57b4e05
Merge pull request #3616 from tsachiherman/tsachi/fixTestParticipatio…
tsachiherman Feb 13, 2022
0a1bfae
fix TestKeysWithoutStateProofKeyCanRegister
Feb 13, 2022
212edb3
Merge pull request #3619 from Aharonee/hotfix-restore-participation-s…
tsachiherman Feb 13, 2022
67f410a
fix: changed misleading variable name
algonathan Feb 14, 2022
49c9289
fix: syncing between the two clients
algonathan Feb 14, 2022
c2ff22f
fix: aligning the round number between both clients
algonathan Feb 14, 2022
8a2c0d4
getting state instead of balance and round
algonathan Feb 14, 2022
c631e9a
Fix ledger.Eval comment
algorandskiy Feb 14, 2022
73ff45d
Merge pull request #3621 from algonathan/partkey-exp-tests
tsachiherman Feb 14, 2022
c83482e
improve TestAccountInformationV2
tsachiherman Feb 14, 2022
18dd80d
Merge branch 'master' into relbeta3.4.0
Algo-devops-service Feb 14, 2022
f3fea11
remove Parallel from txnproofs and fix timeout bug
Feb 14, 2022
af8db7a
Merge pull request #3624 from tsachiherman/tsachi/betterTestAccountIn…
tsachiherman Feb 14, 2022
a4d7432
pushing timeout up to 30 sec
Feb 14, 2022
4911f59
fix bug in TestAssetGroupCreateSendDestroy
tsachiherman Feb 15, 2022
2e2f638
better writing
tsachiherman Feb 15, 2022
10a5401
Merge pull request #3628 from algoidan/remove-parallel-from-testtxnme…
tsachiherman Feb 15, 2022
04e69d4
Merge pull request #3631 from tsachiherman/tsachi/fixTestAssetGroupCr…
tsachiherman Feb 15, 2022
f880d8f
Merge pull request #3625 from Algo-devops-service/relbeta3.4.0
algojohnlee Feb 15, 2022
0a279e9
set gotestsum format to standard-verbose so you can see which test wa…
cce Feb 15, 2022
664a7e5
Merge pull request #3623 from algorandskiy/pavel/ledger-comment
tsachiherman Feb 15, 2022
c6c6e8b
DevOps: Fix bandwidth testing (#3638)
egieseke Feb 16, 2022
cbf1939
Merge pull request #3634 from cce/show-slow-tests
cce Feb 16, 2022
6ce1a15
add StateProofID to AccountData.ClearOnlineState()
cce Feb 16, 2022
4afd11c
update TestExpiredAccountGeneration to make random online account data
cce Feb 16, 2022
7c04490
add unit test
tsachiherman Feb 16, 2022
fb1d9c0
Support logs and Inner transactions in tealdbg (#3547)
algochoi Feb 17, 2022
468d34b
Merge pull request #3643 from cce/ClearOnlineState-StateProofID
tsachiherman Feb 17, 2022
906d661
Merge branch 'master' into relbeta3.4.1
Algo-devops-service Feb 17, 2022
b936369
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Feb 17, 2022
526ff14
Merge pull request #3650 from Algo-devops-service/relbeta3.4.1
algojohnlee Feb 17, 2022
fe43b24
Add partitiontest to tests. (#3658)
winder Feb 18, 2022
a6f1b9e
Fix a typo in agreement test (#3651)
algorandskiy Feb 18, 2022
bc5f22c
dryrun: add gloads test (#3664)
algorandskiy Feb 22, 2022
b4666bd
CICD: Adding PR Type label checker (#3645)
algojack Feb 22, 2022
82d0ead
Decrease partkey rounds to 3mil for feature networks (#3662)
bricerisingalgorand Feb 22, 2022
eb4af44
goal node create improvements (#3639)
algorandskiy Feb 22, 2022
88131be
API: Fix prove bug on API (#3632)
id-ms Feb 22, 2022
eab243f
algod : deregister metrics tracker on close (#3661)
algorandskiy Feb 22, 2022
787b4f8
Update pr-type-category.yml (#3675)
algojack Feb 23, 2022
1bb149d
DevOps: Regen net.json for scenario2 test to include api endpoints fo…
egieseke Feb 23, 2022
7a12937
fix test (#3683)
tsachiherman Feb 25, 2022
dac1fc1
remove batch verification flag from Compactcert struct (#3644)
id-ms Feb 25, 2022
6ad1e68
use updated sumhash lib (#3684)
id-ms Feb 25, 2022
6b7dfb6
Tools: Add 'algokey part keyreg' (#3689)
winder Feb 28, 2022
c678472
Merge branch 'master' into relbeta3.4.2
Algo-devops-service Feb 28, 2022
7d0486d
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Feb 28, 2022
b56953f
Merge pull request #3699 from Algo-devops-service/relbeta3.4.2
algojohnlee Feb 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ workflows:
context:
- slack-secrets
- aws-secrets

#- windows_x64_build

commands:
Expand Down Expand Up @@ -322,8 +321,7 @@ commands:
export PACKAGE_NAMES=$(echo $PACKAGES | tr -d '\n')
export PARTITION_TOTAL=${CIRCLE_NODE_TOTAL}
export PARTITION_ID=${CIRCLE_NODE_INDEX}
export PARALLEL_FLAG="-p 1"
gotestsum --format testname --junitfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/results.xml --jsonfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/testresults.json -- --tags "sqlite_unlock_notify sqlite_omit_load_extension" << parameters.short_test_flag >> -race -timeout 1h -coverprofile=coverage.txt -covermode=atomic -p 1 $PACKAGE_NAMES
gotestsum --format standard-verbose --junitfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/results.xml --jsonfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/testresults.json -- --tags "sqlite_unlock_notify sqlite_omit_load_extension" << parameters.short_test_flag >> -race -timeout 1h -coverprofile=coverage.txt -covermode=atomic -p 1 $PACKAGE_NAMES
- store_artifacts:
path: << parameters.result_path >>
destination: test-results
Expand Down Expand Up @@ -432,6 +430,7 @@ commands:
export TEST_RESULTS=<< parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}
export PARTITION_TOTAL=${CIRCLE_NODE_TOTAL}
export PARTITION_ID=${CIRCLE_NODE_INDEX}
export PARALLEL_FLAG="-p 1"
test/scripts/run_integration_tests.sh
- store_artifacts:
path: << parameters.result_path >>
Expand Down Expand Up @@ -478,11 +477,14 @@ commands:
- attach_workspace:
at: << parameters.build_dir >>
- run:
name: Upload binaries << parameters.platform >>
name: Upload Binaries << parameters.platform >>
command: |
if [ "${CIRCLE_BRANCH}" = "rel/nightly" ]
then
export NO_BUILD="true"
fi
export PATH=$(echo "$PATH" | sed -e "s|:${HOME}/\.go_workspace/bin||g" | sed -e 's|:/usr/local/go/bin||g')
export GOPATH="<< parameters.build_dir >>/go"
export NO_BUILD=true
export TRAVIS_BRANCH=${CIRCLE_BRANCH}
scripts/travis/deploy_packages.sh
- when:
Expand Down
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cmd/updater/updater
tmp/dev_pkg
tmp/out
tmp/node_pkgs
tmp/go-cache

# Ignore vim backup and swap files
*~
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Build workflow"
on:
pull_request:
jobs:
build-test-windows:
runs-on: windows-2022
defaults:
run:
shell: msys2 {0}
steps:
- name: Install msys2
uses: msys2/setup-msys2@v2
with:
update: true
path-type: inherit
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install golang
uses: actions/setup-go@v2
with:
go-version: '1.14.7'
- name: Build Test
run: |
export ALGORAND_DEADLOCK=enable
export SKIP_GO_INSTALLATION=True
scripts/travis/build_test.sh
# - name: Upload artifact to Github
# uses: actions/upload-artifact@v2
# with:
# if-no-files-found: error
# path: $(git ls-files -o | grep -v crypto/libs | grep -v crypto/copies | grep -v crypto/libsodium-fork | grep -v crypto/lib/ | grep -v ^gen/ | grep -v swagger.json.validated | tr "\n" ":")
- name: Slack Notification
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
run: |
curl -X POST --data-urlencode "payload={\"text\": \"Nightly windows build test on Github failed. ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}" $SLACK_WEBHOOK
if: ${{ failure() && (contains(github.base_ref, 'rel/nightly') || contains(github.base_ref, 'rel/beta') || contains(github.base_ref, 'rel/stable')) }}
37 changes: 37 additions & 0 deletions .github/workflows/pr-type-category.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Check PR category and type
on:
pull_request:
branches:
- master
types: [opened, synchronize, reopened, labeled, unlabeled, edited]
jobs:
check_label:
runs-on: ubuntu-latest
name: Check PR Category and Type
steps:
- name: "Failed to find proper PR Type label. Please add one of the following: 'New Feature', 'Enhancement', or 'Bug-Fix'"
run: exit 1
if: |
!contains(github.event.pull_request.labels.*.name, 'New Feature') &&
!contains(github.event.pull_request.labels.*.name, 'Enhancement') &&
!contains(github.event.pull_request.labels.*.name, 'Bug-Fix')
- name: "Found more than one PR Type label. Please add only one of the following: 'New Feature', 'Enhancement', or 'Bug-Fix'"
run: exit 1
if: |
(
contains(github.event.pull_request.labels.*.name, 'New Feature') &&
contains(github.event.pull_request.labels.*.name, 'Enhancement')
) || (
contains(github.event.pull_request.labels.*.name, 'New Feature') &&
contains(github.event.pull_request.labels.*.name, 'Bug-Fix')
) || (
contains(github.event.pull_request.labels.*.name, 'Enhancement') &&
contains(github.event.pull_request.labels.*.name, 'Bug-Fix')
)
- name: "PR Category is missing from PR title. Please add it like '<category>: <pr title>'"
run: |
if [[ ! "${{ github.event.pull_request.title }}" =~ ^.{2,}\:.{2,} ]]; then
exit 1
fi
- name: "Found at least one PR Type label and Category in the title. Good job!"
run: exit 0
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ assets

index.html

# test summary
testresults.json
84 changes: 0 additions & 84 deletions .travis.yml

This file was deleted.

11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ EXTLDFLAGS := -static -static-libstdc++ -static-libgcc
export GOBUILDMODE := -buildmode=exe
endif

ifeq ($(SHORT_PART_PERIOD), 1)
export SHORT_PART_PERIOD_FLAG := -s
endif

GOTAGS := --tags "$(GOTAGSLIST)"
GOTRIMPATH := $(shell GOPATH=$(GOPATH) && go help build | grep -q .-trimpath && echo -trimpath)

Expand All @@ -76,7 +80,7 @@ GOLDFLAGS := $(GOLDFLAGS_BASE) \
UNIT_TEST_SOURCES := $(sort $(shell GOPATH=$(GOPATH) && GO111MODULE=off && go list ./... | grep -v /go-algorand/test/ ))
ALGOD_API_PACKAGES := $(sort $(shell GOPATH=$(GOPATH) && GO111MODULE=off && cd daemon/algod/api; go list ./... ))

MSGP_GENERATE := ./protocol ./protocol/test ./crypto ./crypto/compactcert ./data/basics ./data/transactions ./data/committee ./data/bookkeeping ./data/hashable ./agreement ./rpcs ./node ./ledger ./ledger/ledgercore ./compactcert ./data/account
MSGP_GENERATE := ./protocol ./protocol/test ./crypto ./crypto/merklearray ./crypto/merklesignature ./crypto/compactcert ./data/basics ./data/transactions ./data/committee ./data/bookkeeping ./data/hashable ./agreement ./rpcs ./node ./ledger ./ledger/ledgercore ./compactcert ./data/account

default: build

Expand Down Expand Up @@ -290,7 +294,7 @@ gen/%/genesis.dump: gen/%/genesis.json
./scripts/dump_genesis.sh $< > $@

gen/%/genesis.json: gen/%.json gen/generate.go buildsrc
$(GOPATH1)/bin/genesis -q -n $(shell basename $(shell dirname $@)) -c $< -d $(subst .json,,$<)
$(GOPATH1)/bin/genesis -q $(SHORT_PART_PERIOD_FLAG) -n $(shell basename $(shell dirname $@)) -c $< -d $(subst .json,,$<)

gen: $(addsuffix gen, $(NETWORKS)) mainnetgen

Expand All @@ -303,6 +307,9 @@ gen/mainnet/genesis.dump: gen/mainnet/genesis.json

mainnetgen: gen/mainnet/genesis.dump

# The mainnet genesis.json file generated by this target does not have timestamp value so the hash is different from the deployed mainnet,
# use a real genesis.json file from installer/genesis/mainnet/genesis.json if needed.
# This target is preserved as part of the history on how mainnet genesis.json was generated from the CSV file.
gen/mainnet/genesis.json: gen/pregen/mainnet/genesis.csv buildsrc
mkdir -p gen/mainnet
cat gen/pregen/mainnet/genesis.csv | $(GOPATH1)/bin/incorporate -m gen/pregen/mainnet/metadata.json > gen/mainnet/genesis.json
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.com/algorand/go-algorand.svg?branch=master)](https://travis-ci.com/algorand/go-algorand)
| rel/stable <br> [![CircleCI](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fstable.svg?style=svg)](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fstable) | rel/beta <br> [![CircleCI](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fbeta.svg?style=svg)](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fbeta) | rel/nightly <br> [![CircleCI](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fnightly.svg?style=svg)](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fnightly) |
| --- | --- | --- |

go-algorand
====================
Expand Down Expand Up @@ -163,13 +164,14 @@ The following packages allow developers to interface with the Algorand system:
- `cmd/catchupsrv` ([README](cmd/catchupsrv/README.md)) is a tool to
assist with processing historic blocks on a new node.
- `libgoal` exports a Go interface useful for developers of Algorand clients.
- `debug` holds secondary commands which assist developers during debugging.
- `tools` ([README](tools/README.md)) various tools and utilities without a better place to go.
- `tools/debug` holds secondary commands which assist developers during debugging.
- `tools/misc` ([README](tools/misc/README.md)) small tools that are sometimes handy in a pinch.

The following packages contain tools to help Algorand developers deploy networks
of their own:

- `nodecontrol`
- `tools`
- `docker`
- `commandandcontrol` ([README](test/commandandcontrol/README.md)) is a tool to
automate a network of algod instances.
Expand All @@ -190,6 +192,6 @@ A number of packages provide utilities for the various components:

Please see the [COPYING_FAQ](COPYING_FAQ) for details about how to apply our license.

Copyright (C) 2019-2021, Algorand Inc.
Copyright (C) 2019-2022, Algorand Inc.

[developer site url]: https://developer.algorand.org/
14 changes: 8 additions & 6 deletions THANKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
A big thank you to everyone who has contributed to the `go-algorand` codebase.

### External Contributors
In no particular order:
- zacharyestep
- aybehrouz
- fionnachan
- jeapostrophe
- jecassis
- mxmauro
- scnale
- jsign
- mxmauro
- Olshansk
- qkniep
- RomitKumar
- jeapostrophe
- aybehrouz
- scnale
- zacharyestep

### Bug Reports
- Nanyan
Expand Down
2 changes: 1 addition & 1 deletion agreement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ will also recover safely after crashes.
# Specification

The specification for the protocol implemented by this package is
located [here](https://github.com/algorand/spec).
located [here](https://github.com/algorandfoundation/specs).

Optimizations from and other deviations from the spec will be noted
throughout this file.
Expand Down
4 changes: 2 additions & 2 deletions agreement/abstractions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2021 Algorand, Inc.
// Copyright (C) 2019-2022 Algorand, Inc.
// This file is part of go-algorand
//
// go-algorand is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -224,7 +224,7 @@ type KeyManager interface {
// VotingKeys returns an immutable array of voting keys that are
// valid for the provided votingRound, and were available at
// keysRound.
VotingKeys(votingRound, keysRound basics.Round) []account.Participation
VotingKeys(votingRound, keysRound basics.Round) []account.ParticipationRecordForRound

// Record indicates that the given participation action has been taken.
// The operation needs to be asynchronous to avoid impacting agreement.
Expand Down
2 changes: 1 addition & 1 deletion agreement/actions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2021 Algorand, Inc.
// Copyright (C) 2019-2022 Algorand, Inc.
// This file is part of go-algorand
//
// go-algorand is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion agreement/actor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2021 Algorand, Inc.
// Copyright (C) 2019-2022 Algorand, Inc.
// This file is part of go-algorand
//
// go-algorand is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion agreement/agreeInstall.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2021 Algorand, Inc.
// Copyright (C) 2019-2022 Algorand, Inc.
// This file is part of go-algorand
//
// go-algorand is free software: you can redistribute it and/or modify
Expand Down
22 changes: 18 additions & 4 deletions agreement/agreementtest/keyManager.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2021 Algorand, Inc.
// Copyright (C) 2019-2022 Algorand, Inc.
// This file is part of go-algorand
//
// go-algorand is free software: you can redistribute it and/or modify
Expand All @@ -25,11 +25,25 @@ import (
type SimpleKeyManager []account.Participation

// VotingKeys implements KeyManager.VotingKeys.
func (m SimpleKeyManager) VotingKeys(votingRound, _ basics.Round) []account.Participation {
var km []account.Participation
func (m SimpleKeyManager) VotingKeys(votingRound, _ basics.Round) []account.ParticipationRecordForRound {
var km []account.ParticipationRecordForRound
for _, acc := range m {
if acc.OverlapsInterval(votingRound, votingRound) {
km = append(km, acc)
record := account.ParticipationRecord{
ParticipationID: acc.ID(),
Account: acc.Parent,
FirstValid: acc.FirstValid,
LastValid: acc.LastValid,
KeyDilution: acc.KeyDilution,
LastVote: 0,
LastBlockProposal: 0,
LastStateProof: 0,
EffectiveFirst: acc.FirstValid,
EffectiveLast: acc.LastValid,
VRF: acc.VRF,
Voting: acc.Voting,
}
km = append(km, account.ParticipationRecordForRound{ParticipationRecord: record})
}
}
return km
Expand Down
2 changes: 1 addition & 1 deletion agreement/agreementtest/simulate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2021 Algorand, Inc.
// Copyright (C) 2019-2022 Algorand, Inc.
// This file is part of go-algorand
//
// go-algorand is free software: you can redistribute it and/or modify
Expand Down
Loading