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

tendermint: update to master upstream #50

Merged
merged 273 commits into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
d4f1876
consensus: change logging and handling of height mismatch (#4954)
cmwaters Jun 5, 2020
9ef266b
types: migrate params to protobuf (#4962)
tac0turtle Jun 5, 2020
b76b270
blockchain/v2: correctly set block store base in status responses (#4…
erikgrinaker Jun 5, 2020
6cfbe1e
build(deps): Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
dependabot-preview[bot] Jun 5, 2020
f9f4916
store: proto migration (#4974)
tac0turtle Jun 8, 2020
4a87d60
light: migrate to proto (#4964)
tac0turtle Jun 8, 2020
0bc0446
readme: add source graph badge (#4980)
tac0turtle Jun 8, 2020
3b256cc
p2p/pex: migrate to Protobuf (#4973)
tac0turtle Jun 8, 2020
4d422e4
p2p: expose SaveAs on NodeKey (#4981)
melekes Jun 8, 2020
dcc6764
proto: remove amino proto tests (#4982)
tac0turtle Jun 8, 2020
bd950c1
build(deps): [Security] Bump websocket-extensions from 0.1.3 to 0.1.4…
dependabot-preview[bot] Jun 8, 2020
7a8224f
state: proto migration (#4972)
tac0turtle Jun 8, 2020
ccc9904
json: add Amino-compatible encoder/decoder (#4955)
erikgrinaker Jun 8, 2020
ba3a2dd
rpc: replace Amino with new JSON encoder (#4968)
erikgrinaker Jun 8, 2020
db8f1b3
migrate all JSON to new JSON encoder (#4975)
erikgrinaker Jun 8, 2020
a89f258
blockchain: proto migration (#4969)
tac0turtle Jun 8, 2020
6ec58f1
rpc: support EXISTS operator in /tx_search query (#4979)
melekes Jun 9, 2020
9998527
evidence: migrate reactor to proto (#4949)
tac0turtle Jun 9, 2020
6961c7e
crypto: removal of multisig (#4988)
tac0turtle Jun 9, 2020
89665e7
types: Remove duplicated validation in VerifyCommit (#4991)
OStevan Jun 9, 2020
660e72a
p2p/conn: migrate to Protobuf (#4990)
erikgrinaker Jun 9, 2020
65909a1
consensus: stricter on LastCommitRound check (#4970)
melekes Jun 10, 2020
5697e14
evidence: adr56 form amnesia evidence (#4821)
cmwaters Jun 10, 2020
d54de61
consensus: proto migration (#4984)
tac0turtle Jun 10, 2020
46f6d17
crypto/merkle: remove simple prefix (#4989)
tac0turtle Jun 10, 2020
b1dba35
light: added more tests for pruning, initialization and bisection (#4…
cmwaters Jun 10, 2020
a057da6
toml: make sections standout (#4993)
tac0turtle Jun 10, 2020
18d333c
docs: update amnesia adr (#4994)
cmwaters Jun 10, 2020
31a361d
proto: move keys to oneof (#4983)
tac0turtle Jun 11, 2020
f6243d8
privval: migrate to protobuf (#4985)
tac0turtle Jun 11, 2020
bdac081
p2p: proto leftover (#4995)
tac0turtle Jun 11, 2020
a39d4bc
bring back binary:fixed64 (#4997)
tac0turtle Jun 11, 2020
a8d8600
[block#LastResultsHash] add Events + GasWanted/Used (#4845)
melekes Jun 12, 2020
206c814
UPGRADING.md: write about the LastResultsHash change (#5000)
melekes Jun 12, 2020
a37480c
tools: update gogoproto get cmd (#5007)
tac0turtle Jun 14, 2020
74cae49
proto: leftover amino (#4986)
tac0turtle Jun 15, 2020
b8b5073
encoding: remove codecs (#4996)
tac0turtle Jun 15, 2020
4774a8e
non breaking signbytes (#5008)
liamsi Jun 15, 2020
062764a
ci: migrate test_cover (#4869)
tac0turtle Jun 16, 2020
812dddc
ci: fix spacing of if statement (#5015)
tac0turtle Jun 16, 2020
a12bfca
proto: move all proto dirs to /proto (#5012)
tac0turtle Jun 16, 2020
8149bf5
types: add tests for blockmeta (#5013)
tac0turtle Jun 16, 2020
95d2d13
types: remove pubkey options (#5016)
tac0turtle Jun 17, 2020
257a374
rpc: add /check_tx endpoint (#5017)
melekes Jun 19, 2020
65d4506
build(deps): Bump github.com/prometheus/client_golang from 1.6.0 to 1…
dependabot-preview[bot] Jun 19, 2020
8b4a30f
types: more test cases for TestValidatorSet_VerifyCommit (#5018)
melekes Jun 19, 2020
dc87c09
cov: ignore autogen file (#5033)
tac0turtle Jun 19, 2020
51da4fe
types: rename partsheader to partsetheader (#5029)
tac0turtle Jun 22, 2020
dedf0d2
proto: folder structure adhere to buf (#5025)
tac0turtle Jun 22, 2020
3c79251
Update UPGRADING.md and bump p2p/block protocol versions (#5038)
melekes Jun 22, 2020
73e22a3
abci: proto files follow same path (#5039)
tac0turtle Jun 23, 2020
0b13059
types: fix evidence timestamp calculation (#5032)
melekes Jun 23, 2020
ceac02b
types: add AppVersion to ConsensusParams (#5031)
melekes Jun 23, 2020
44b306b
types: reject blocks w/ ConflictingHeadersEvidence (#5041)
melekes Jun 23, 2020
65d7ce9
evidence: improve amnesia evidence handling (#5003)
cmwaters Jun 23, 2020
5412426
indexer: remove index filtering (#5006)
tac0turtle Jun 23, 2020
a2284b8
build(deps): Bump google.golang.org/grpc from 1.29.1 to 1.30.0
dependabot-preview[bot] Jun 23, 2020
3ecc0ff
evidence: replace mock evidence with mocked duplicate vote evidence (…
cmwaters Jun 24, 2020
8830176
build(deps): Bump github.com/prometheus/client_golang
dependabot-preview[bot] Jun 24, 2020
7a1ee66
rpc: move docs from doc.go to swagger.yaml (#5044)
melekes Jun 25, 2020
e59378b
p2p: Remove data race bug in netaddr stringer (#5048)
alexanderbez Jun 25, 2020
85acd11
upgrading.md additions (#5049)
tac0turtle Jun 26, 2020
659c4be
mempool: make it clear overwriting of pre/postCheck filters is intent…
melekes Jun 26, 2020
dab488b
behaviour: add simple doc.go (#5055)
tac0turtle Jun 26, 2020
0c7fd31
abci/example/kvstore: decrease val power by 1 upon equivocation (#5056)
melekes Jun 26, 2020
a0bd5e7
tests: use github.sha in binary cache key (#5062)
erikgrinaker Jun 29, 2020
04b8cf7
deps: bump tm-db to 0.6.0 (#5058)
erikgrinaker Jun 29, 2020
9b7f260
types: simplify safeMul (#5061)
melekes Jun 29, 2020
92a361b
mempool: use oneof (#5063)
tac0turtle Jun 30, 2020
5d4eee2
docs: update .vuepress/config.js (#5043)
lovincyrus Jul 1, 2020
66003d7
bump go version (#5070)
tac0turtle Jul 1, 2020
f4a19ea
README: update chat link with Discord instead of Riot (#5071)
erikgrinaker Jul 1, 2020
8ec8385
docs: add warning for chainid (#5072)
tac0turtle Jul 1, 2020
7e2cc1d
linter: (1/2) enable errcheck (#5064)
tac0turtle Jul 1, 2020
137025c
mempool: add RemoveTxByKey function (#5066)
p4u Jul 1, 2020
42be533
types: verify commit fully
melekes Jun 30, 2020
480b995
consensus: Do not allow signatures for a wrong block in commits
melekes Jun 30, 2020
943bbd7
blockchain: test vectors for proto encoding (#5073)
tac0turtle Jul 2, 2020
f508459
changelog: update 0.33.6 (#5075)
tac0turtle Jul 2, 2020
43c44de
changelog: note breaking change in the 0.33.6 release (#5077)
tessr Jul 2, 2020
22b395e
consensus: msg testvectors (#5076)
tac0turtle Jul 2, 2020
003ead8
remove stalebot (#5079)
tac0turtle Jul 3, 2020
6e43433
abci/types: add comment for TotalVotingPower (#5081)
melekes Jul 3, 2020
4f91eae
adjust stale action settings (#5080)
tac0turtle Jul 3, 2020
c33fab9
changelog: reorgranize (#5065)
tac0turtle Jul 6, 2020
bccc7fb
.github/issue_template: Update `/dump_consensus_state` request. (#5060)
ebuchman Jul 6, 2020
be12bb5
ADR-057: RPC (#4857)
tac0turtle Jul 6, 2020
430162f
Update reactor.go (#5088)
intelligentfish Jul 7, 2020
ebd2cbe
Rework Docker image (#5087)
liamsi Jul 7, 2020
ea946fa
ci: try to fix codecov (#5095)
tac0turtle Jul 8, 2020
1621602
proxy: improve ABCI app connection handling (#5078)
melekes Jul 8, 2020
fca788a
ci: only run tests when go files are touched (#5097)
tac0turtle Jul 8, 2020
58113e3
evidence: fix data race in Pool.updateValToLastHeight() (#5100)
erikgrinaker Jul 8, 2020
ab20f35
proto: increase lint level to basic and fix lint warnings (#5096)
erikgrinaker Jul 8, 2020
bf3c87c
test: deflake TestAddAndRemoveListenerConcurrency and TestSyncer_Sync…
erikgrinaker Jul 8, 2020
59a17b2
proto: improve enums (#5099)
erikgrinaker Jul 8, 2020
66ed8ec
proto: reorganize Protobuf schemas (#5102)
erikgrinaker Jul 8, 2020
a97d05b
evidence: check lunatic vote matches header (#5093)
cmwaters Jul 8, 2020
526f45d
CHANGELOG_PENDING: fix the upcoming release number (#5103)
tessr Jul 9, 2020
0b1722d
proto: minor cleanups (#5105)
erikgrinaker Jul 9, 2020
de8cb8c
light: fix rpc calls: /block_results & /validators (#5104)
cmwaters Jul 10, 2020
c552a5b
rpc: /broadcast_evidence nil evidence check (#5109)
cmwaters Jul 10, 2020
8b46078
docs: added further documentation to the subscribing to events page (…
cmwaters Jul 11, 2020
37545ba
evidence: new evidence event subscription (#5108)
cmwaters Jul 13, 2020
730e165
proto: change type + a cleanup (#5107)
melekes Jul 13, 2020
0825d57
proto/tendermint/abci: fix Request oneof numbers (#5116)
melekes Jul 14, 2020
6ccccb0
lint: errcheck (#5091)
tac0turtle Jul 14, 2020
685e19d
docs: tweak light client documentation (#5121)
tessr Jul 15, 2020
9695690
docs: modify needed proto files for guides (#5123)
tac0turtle Jul 15, 2020
a08316f
light: use bisection (not VerifyCommitTrusting) when verifying a head…
melekes Jul 15, 2020
bba9664
bump versiion of ci linter (#5127)
tac0turtle Jul 16, 2020
7c8c356
ci: version linter fix (#5128)
tac0turtle Jul 16, 2020
7e8a7c2
build(deps): [Security] Bump lodash from 4.17.15 to 4.17.19 in /docs
dependabot-preview[bot] Jul 16, 2020
16d2fa6
jsonrpc: change log to debug (#5131)
tac0turtle Jul 16, 2020
5223cba
light: return if target header is invalid (#5124)
melekes Jul 17, 2020
8cdb53c
docs: EventAttribute#Index is not deterministic (#5132)
melekes Jul 19, 2020
2ac5a55
libs: wrap mutexes for build flag with godeadlock (#5126)
tac0turtle Jul 20, 2020
909163a
rpc: make gasWanted/Used snake_case (#5137)
tac0turtle Jul 20, 2020
95fc7e5
rpc/jsonrpc/server: merge WriteRPCResponseHTTP and WriteRPCResponseAr…
melekes Jul 21, 2020
cdba0d8
p2p: ensure peers can't change IP of known nodes (#5136)
ValarDragon Jul 22, 2020
940e682
privval: if remote signer errors, don't retry (#5140)
melekes Jul 22, 2020
375f0c8
add fixes for flaky tests (#5146)
n-hutton Jul 27, 2020
fb4e00f
docs: event hashing ADR 058 (#5134)
melekes Jul 27, 2020
ee7bbb6
types: validatebasic on from proto (#5152)
tac0turtle Jul 27, 2020
2675b5f
ADR: add missing numbers as blank templates (#5154)
tac0turtle Jul 27, 2020
791701b
build(deps): Bump vuepress-theme-cosmos from 1.0.168 to 1.0.169 in /docs
dependabot-preview[bot] Jul 27, 2020
b5a5f92
evidence: minor correction to potential amnesia ev validate basic (#5…
cmwaters Jul 27, 2020
6f61411
docs: simplify choosing an ADR number (#5156)
melekes Jul 27, 2020
539c19d
Docs update (#5158)
lovincyrus Jul 27, 2020
cf84dcd
light cli: add feature flags and save providers (#5148)
cmwaters Jul 28, 2020
a29fd7c
proto: add a comment for Validator#Address (#5144)
melekes Jul 28, 2020
bc8b3e8
consensus: added byzantine test, modified previous test (#5150)
cmwaters Jul 28, 2020
4ab7b7d
docs: add more details on Vote struct from /consensus_state (#5164)
melekes Jul 29, 2020
b5f0308
docs: document ConsensusParams (#5165)
melekes Jul 29, 2020
dc71f26
types: check if nil or empty valset (#5167)
tac0turtle Jul 29, 2020
2b97e03
docs: document canonical field (#5166)
melekes Jul 30, 2020
4d43bfe
state: revert event hashing (#5159)
melekes Jul 30, 2020
0d8d721
consensus: only call privValidator.GetPubKey once per block (#5143)
melekes Jul 30, 2020
79d6b03
version: bump version numbers (#5173)
erikgrinaker Jul 30, 2020
6ec8e57
changelog: move entries from pending (#5172)
tac0turtle Jul 30, 2020
77429b7
fix assertions on byzantine test (#5171)
cmwaters Jul 30, 2020
29d15df
changelog: bump to 0.34.0-rc2 (#5176)
erikgrinaker Jul 30, 2020
4a06dc9
abci: fix abci evidence types (#5174)
cmwaters Jul 30, 2020
db34506
rpc/client/http: log error (#5182)
melekes Jul 31, 2020
3c21c35
evidence: remove phantom validator evidence (#5181)
cmwaters Jul 31, 2020
185cd5b
evidence: don't stop evidence verification if an evidence fails (#5189)
cmwaters Jul 31, 2020
19fad10
build(deps): Bump google.golang.org/grpc from 1.30.0 to 1.31.0
dependabot-preview[bot] Aug 3, 2020
2d167ae
ci: freeze golangci action version (#5196)
tac0turtle Aug 3, 2020
ad2e515
build(deps): Bump github.com/spf13/viper from 1.7.0 to 1.7.1
dependabot-preview[bot] Aug 3, 2020
68468fb
evidence: fix usage of time field in abci evidence (#5201)
cmwaters Aug 4, 2020
310f802
changelog: add v0.33.7 release (#5203)
erikgrinaker Aug 4, 2020
958c4cd
changelog: add v0.32.13 release (#5204)
erikgrinaker Aug 5, 2020
2a98ef8
Added ARM64 in GOARCH for Linux/ARM64 binary release (#5209)
odidev Aug 6, 2020
3413a0d
node: don't attempt fast sync when InitChain sets self as only valida…
erikgrinaker Aug 6, 2020
1c9a264
crypto: consistent api across keys (#5214)
tac0turtle Aug 7, 2020
62d09cc
libs/rand: fix "out-of-memory" error on unexpected argument (#5215)
SadPencil Aug 10, 2020
04783ea
build(deps): [Security] Bump prismjs from 1.20.0 to 1.21.0 in /docs
dependabot-preview[bot] Aug 7, 2020
d551251
contributing: add steps for adding and removing rc branches (#5223)
tac0turtle Aug 11, 2020
f66b7a8
merkle: return hashes for empty merkle trees (#5193)
erikgrinaker Aug 11, 2020
312c4f8
evidence: change evidence time to block time (#5219)
cmwaters Aug 11, 2020
bfcf45a
evidence: remove validator index verification (#5225)
cmwaters Aug 11, 2020
40bd416
test: protobuf vectors for reactors (#5221)
tac0turtle Aug 11, 2020
08ffe13
abci: add ResponseInitChain.app_hash, check and record it (#5227)
erikgrinaker Aug 11, 2020
cc247c0
genesis: add support for arbitrary initial height (#5191)
erikgrinaker Aug 11, 2020
feaa1ed
state: don't save genesis state in database when loaded (#5231)
erikgrinaker Aug 12, 2020
b1b82c4
db: add support for badgerdb (#5233)
erikgrinaker Aug 12, 2020
e1a1395
consensus: don't check InitChain app hash vs genesis app hash, replac…
erikgrinaker Aug 13, 2020
9e98c74
crypto: API modifications (#5236)
tac0turtle Aug 13, 2020
8f3e724
changelog: update for 0.34.0-rc3 (#5240)
erikgrinaker Aug 13, 2020
7a69d5c
changelog: add v0.33.8 from release (#5242)
erikgrinaker Aug 13, 2020
913f501
add dependabot config (#5243)
tac0turtle Aug 13, 2020
0ae78e5
build(deps): Bump golangci/golangci-lint-action from v2.1.0 to v2.2.0…
dependabot[bot] Aug 13, 2020
7b367eb
build(deps): Bump actions/cache from v1 to v2.1.0 (#5244)
dependabot[bot] Aug 13, 2020
fca4cff
build(deps): Bump codecov/codecov-action from v1.0.7 to v1.0.12 (#5247)
dependabot[bot] Aug 13, 2020
f6c9a55
build(deps): Bump technote-space/get-diff-action from v1 to v3 (#5246)
dependabot[bot] Aug 13, 2020
434e99c
build(deps): Bump gaurav-nelson/github-action-markdown-link-check fro…
dependabot[bot] Aug 13, 2020
58b16ff
expand ADR template (#5232)
tac0turtle Aug 14, 2020
edf5cff
blockchain: fix fast sync halt with initial height > 1 (#5249)
erikgrinaker Aug 14, 2020
22ef3f6
light: update ADR 47 with light traces (#5250)
cmwaters Aug 14, 2020
8cdaa7f
privval: add chainID to requests (#5239)
tac0turtle Aug 17, 2020
1f951cd
remove basecoin from tools/k8s (#5255)
tac0turtle Aug 17, 2020
022b255
add build into make build-docker (#5253)
tac0turtle Aug 17, 2020
42e4e8b
lint: add markdown linter (#5254)
tac0turtle Aug 17, 2020
4a38bd2
docs: cleanup (#5252)
tac0turtle Aug 18, 2020
d1662c9
build(deps): Bump codecov/codecov-action from v1.0.12 to v1.0.13 (#5258)
dependabot[bot] Aug 18, 2020
b74427f
swagger: update (#5257)
tac0turtle Aug 18, 2020
0ae0c2d
Fix some broken links (#5261)
adlerjohn Aug 18, 2020
02c18b4
build(deps): Bump gaurav-nelson/github-action-markdown-link-check fro…
dependabot[bot] Aug 19, 2020
8ea68b2
build(deps): Bump gaurav-nelson/github-action-markdown-link-check fro…
dependabot[bot] Aug 20, 2020
3935a40
build(deps): Bump actions/cache from v2.1.0 to v2.1.1 (#5268)
dependabot[bot] Aug 20, 2020
0965027
update adr 56 (#5264)
cmwaters Aug 20, 2020
56cb9f7
docs: dont display duplicate (#5271)
tac0turtle Aug 20, 2020
8ca24e2
ci: fix net pipeline (#5272)
tac0turtle Aug 20, 2020
b7f6e47
evidence: modularise evidence by moving verification function into ev…
cmwaters Aug 20, 2020
9b4f1a8
docs: rename swagger to openapi (#5263)
tac0turtle Aug 21, 2020
7d3335d
ci: delay codecov notification (#5275)
tac0turtle Aug 24, 2020
a6032f4
fix go 1.15 errors (#5277)
tac0turtle Aug 24, 2020
33559e0
docs: fix go tutorials (#5267)
tac0turtle Aug 24, 2020
2975732
docs: versioned (#5241)
tac0turtle Aug 24, 2020
bba3877
docs: remove duplicate secure p2p (#5279)
tac0turtle Aug 25, 2020
1b961d0
crypto: remove secp256k1 (#5280)
tac0turtle Aug 25, 2020
135ac04
blockchain: verify +2/3 (#5278)
tac0turtle Aug 25, 2020
6f54fee
docs: remove interview transcript (#5282)
tac0turtle Aug 25, 2020
d30e1d8
types: comment on need for length prefixing (#5283)
erikgrinaker Aug 25, 2020
c2a38ad
docs: add block retention to upgrading.md (#5284)
tac0turtle Aug 25, 2020
f2aebb4
build(deps): Bump vuepress-theme-cosmos from 1.0.169 to 1.0.172 in /d…
dependabot[bot] Aug 25, 2020
4827ed1
libs/bits: inline defer and change order of mutexes (#5187)
melekes Aug 26, 2020
5df55f2
docs: updates to various sections (#5285)
tac0turtle Aug 26, 2020
5c62ab1
build(deps): Bump google.golang.org/grpc from 1.31.0 to 1.31.1 (#5290)
dependabot[bot] Aug 26, 2020
fbdf8b0
mocks: update with 2.2.1 (#5294)
tac0turtle Aug 26, 2020
e30b125
consensus: double-sign risk reduction (ADR-51) (#5147)
dongsam Aug 27, 2020
0fafffc
config: trust period consistency (#5297)
tac0turtle Aug 27, 2020
e8eef85
crypto: remove proto privatekey (#5301)
tac0turtle Aug 28, 2020
f2f6018
build(deps): Bump github.com/tendermint/tm-db from 0.6.1 to 0.6.2 (#5…
dependabot[bot] Aug 28, 2020
49efd44
node: fix genesis state propagation to state sync (#5302)
erikgrinaker Aug 28, 2020
55cd49a
docs: add algolia docsearch configs (#5309)
lovincyrus Aug 31, 2020
8670786
fix validator set proposer priorities in light client provider (#5307)
cmwaters Aug 31, 2020
686361f
statesync: fix valset off-by-one causing consensus failures (#5311)
erikgrinaker Aug 31, 2020
8e21b7d
docs: add doc on state sync configuration (#5304)
tac0turtle Aug 31, 2020
8a1404b
mempool: return an error when WAL fails (#5292)
melekes Sep 1, 2020
43c3e42
config: rename prof_laddr to pprof_laddr and move it to rpc (#5315)
melekes Sep 1, 2020
b6a5f7b
rpc: add private & unconditional to /dial_peer (#5293)
tac0turtle Sep 1, 2020
2b58a62
light: implement light block (#5298)
cmwaters Sep 1, 2020
e0140e4
evidence: remove ConflictingHeaders type (#5317)
tac0turtle Sep 1, 2020
82011ee
evidence: remove lunatic (#5318)
tac0turtle Sep 1, 2020
2f4c1f6
statesync: broadcast snapshot request to all peers on startup (#5320)
erikgrinaker Sep 2, 2020
710a97d
evidence: remove amnesia & POLC (#5319)
tac0turtle Sep 2, 2020
c2ce5e6
docs: move subscription to tendermint-core (#5323)
tac0turtle Sep 2, 2020
c752e2e
abci: update evidence (#5324)
cmwaters Sep 2, 2020
e2927d2
light: move dropout handling and invalid data to the provider (#5308)
cmwaters Sep 2, 2020
f7d4faf
docs: add missing metrics (#5325)
tac0turtle Sep 3, 2020
63ea4f1
consensus: fix wrong proposer schedule for `InitChain` validators (#5…
erikgrinaker Sep 3, 2020
4787c5b
metrics: switch from gauge to histogram (#5326)
tac0turtle Sep 3, 2020
39d2ac4
statesync: fix the validator set heights (again) (#5330)
erikgrinaker Sep 3, 2020
59ec3d9
rpc/jsonrpc/server: ws server optimizations (#5312)
melekes Sep 4, 2020
b8d08b9
lint: add errchecks (#5316)
tac0turtle Sep 4, 2020
2eda179
CODEOWNERS: specify more precise codeowners (#5333)
tessr Sep 4, 2020
3359e0b
resurrect consensus tests (#5334)
cmwaters Sep 7, 2020
01526a4
Merge branch 'master' of https://github.com/tendermint/tendermint int…
tac0turtle Sep 7, 2020
4f24326
Merge branch 'master' of https://github.com/tendermint/tendermint int…
tac0turtle Sep 7, 2020
a90267d
update proto files
tac0turtle Sep 7, 2020
2c5c035
fix imports
tac0turtle Sep 7, 2020
e2fcdad
fix some more imports
tac0turtle Sep 7, 2020
0ed8dba
lint: enable errcheck (#5336)
tac0turtle Sep 7, 2020
3e2c4db
Merge branch 'master' of https://github.com/tendermint/tendermint int…
tac0turtle Sep 7, 2020
b5f14bf
fix super linter
tac0turtle Sep 7, 2020
371c510
disable line-length check for markdown files
liamsi Sep 8, 2020
04746f4
ignore readme
tac0turtle Sep 8, 2020
431f5a1
Merge branch 'marko/update_latest' of https://github.com/marbar3778/l…
tac0turtle Sep 8, 2020
8952437
fix linter
tac0turtle Sep 8, 2020
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
  •  
  •  
  •  
1,550 changes: 0 additions & 1,550 deletions .circleci/codecov.sh

This file was deleted.

16 changes: 7 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ commands:
name: "Running test"
command: |
bash << parameters.script_path >>

jobs:
setup_dependencies:
executor: golang
Expand Down Expand Up @@ -186,7 +185,7 @@ jobs:

build_artifacts:
executor: golang
parallelism: 4
parallelism: 5
steps:
- restore_cache:
name: "Restore source code cache"
Expand All @@ -204,10 +203,11 @@ jobs:
command: |
# Setting CIRCLE_TAG because we do not tag the release ourselves.
source /tmp/workspace/release-version.source
if test ${CIRCLE_NODE_INDEX:-0} == 0 ;then export GOOS=linux GOARCH=amd64 && export OUTPUT=build/lazyledger-core_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 1 ;then export GOOS=darwin GOARCH=amd64 && export OUTPUT=build/lazyledger-core_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 2 ;then export GOOS=windows GOARCH=amd64 && export OUTPUT=build/lazyledger-core_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 3 ;then export GOOS=linux GOARCH=arm && export OUTPUT=build/lazyledger-core_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 0 ;then export GOOS=linux GOARCH=amd64 && export OUTPUT=build/tendermint_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 1 ;then export GOOS=darwin GOARCH=amd64 && export OUTPUT=build/tendermint_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 2 ;then export GOOS=windows GOARCH=amd64 && export OUTPUT=build/tendermint_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 3 ;then export GOOS=linux GOARCH=arm && export OUTPUT=build/tendermint_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
if test ${CIRCLE_NODE_INDEX:-0} == 4 ;then export GOOS=linux GOARCH=arm64 && export OUTPUT=build/tendermint_${GOOS}_${GOARCH} && make build && python -u scripts/release_management/zip-file.py ;fi
- persist_to_workspace:
root: build
paths:
Expand Down Expand Up @@ -243,6 +243,7 @@ jobs:
export GOOS=darwin GOARCH=amd64 && python -u scripts/release_management/github-upload.py --id "${RELEASE_ID}"
export GOOS=windows GOARCH=amd64 && python -u scripts/release_management/github-upload.py --id "${RELEASE_ID}"
export GOOS=linux GOARCH=arm && python -u scripts/release_management/github-upload.py --id "${RELEASE_ID}"
export GOOS=linux GOARCH=arm64 && python -u scripts/release_management/github-upload.py --id "${RELEASE_ID}"
python -u scripts/release_management/github-upload.py --file "/tmp/workspace/SHA256SUMS" --id "${RELEASE_ID}"
python -u scripts/release_management/github-publish.py --id "${RELEASE_ID}"

Expand All @@ -251,9 +252,6 @@ workflows:
test-suite:
jobs:
- setup_dependencies
- test_cover:
requires:
- setup_dependencies
- test_persistence:
requires:
- setup_dependencies
Expand Down
30 changes: 24 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Everything goes through Bucky, Anton, Tess. For now.
* @ebuchman @melekes @tessr
# Everything goes through the following "global owners" by default.
# Unless a later match takes precedence, these three will be
# requested for review when someone opens a PR.
# Note that the last matching pattern takes precedence, so
# global owners are only requested if there isn't a more specific
# codeowner specified below. For this reason, the global codeowners
# are often repeated in package-level definitions.
* @ebuchman @erikgrinaker @melekes @tessr

# Overrides for tooling packages
.circleci/ @marbar3778 @ebuchman @erikgrinaker @melekes @tessr
.github/ @marbar3778 @ebuchman @erikgrinaker @melekes @tessr
DOCKER/ @marbar3778 @ebuchman @erikgrinaker @melekes @tessr

# Overrides for core Tendermint packages
abci/ @marbar3778 @ebuchman @erikgrinaker @melekes @tessr
evidence/ @cmwaters @ebuchman @erikgrinaker @melekes @tessr
light/ @cmwaters @melekes @ebuchman

# Overrides for docs
*.md @marbar3778 @ebuchman @erikgrinaker @melekes @tessr
docs/ @marbar3778 @ebuchman @erikgrinaker @melekes @tessr



# Precious documentation
/docs/README.md @zramsay
/docs/DOCS_README.md @zramsay
/docs/.vuepress/ @zramsay
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ manner. We might ask you to provide additional logs and data (tendermint & app).

**node command runtime flags**:

**`/dump_consensus_state` output for consensus bugs**
**Please provide the output from the `http://<ip>:<port>/dump_consensus_state` RPC endpoint for consensus bugs**

**Anything else we need to know**:
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/docs"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
reviewers:
- fadeev
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
reviewers:
- melekes
- tessr
- erikgrinaker
labels:
- T:dependencies
47 changes: 0 additions & 47 deletions .github/stale.yml

This file was deleted.

138 changes: 138 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
name: Test Coverage
on:
pull_request:
push:
branches:
- master
- release/**

jobs:
split-test-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create a file with all the pkgs
run: go list ./... > pkgs.txt
- name: Split pkgs into 4 files
run: split -n l/4 --additional-suffix=.txt ./pkgs.txt
# cache multiple
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-aa"
path: ./xaa.txt
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-ab"
path: ./xab.txt
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-ac"
path: ./xac.txt
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-ad"
path: ./xad.txt

test-coverage-part-1:
runs-on: ubuntu-latest
needs: split-test-files
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v3
with:
SUFFIX_FILTER: |
.go
.mod
.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/download-artifact@v2
with:
name: "${{ github.sha }}-aa"
if: "env.GIT_DIFF != ''"
- name: test & coverage report creation
run: |
cat xaa.txt | xargs go test -mod=readonly -timeout 8m -race -coverprofile=coverage.txt -covermode=atomic
if: "env.GIT_DIFF != ''"
- uses: codecov/codecov-action@v1.0.13
with:
file: ./coverage.txt
if: "env.GIT_DIFF != ''"

test-coverage-part-2:
runs-on: ubuntu-latest
needs: split-test-files
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v3
with:
SUFFIX_FILTER: |
.go
.mod
.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/download-artifact@v2
with:
name: "${{ github.sha }}-ab"
if: "env.GIT_DIFF != ''"
- name: test & coverage report creation
run: |
cat xab.txt | xargs go test -mod=readonly -timeout 5m -race -coverprofile=coverage.txt -covermode=atomic
if: "env.GIT_DIFF != ''"
- uses: codecov/codecov-action@v1.0.13
with:
file: ./coverage.txt
if: "env.GIT_DIFF != ''"

test-coverage-part-3:
runs-on: ubuntu-latest
needs: split-test-files
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v3
with:
SUFFIX_FILTER: |
.go
.mod
.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/download-artifact@v2
with:
name: "${{ github.sha }}-ac"
if: "env.GIT_DIFF != ''"
- name: test & coverage report creation
run: |
cat xac.txt | xargs go test -mod=readonly -timeout 10m -race -coverprofile=coverage.txt -covermode=atomic
if: "env.GIT_DIFF != ''"
- uses: codecov/codecov-action@v1.0.13
with:
file: ./coverage.txt
if: "env.GIT_DIFF != ''"

test-coverage-part-4:
runs-on: ubuntu-latest
needs: split-test-files
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v3
with:
SUFFIX_FILTER: |
.go
.mod
.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/download-artifact@v2
with:
name: "${{ github.sha }}-ad"
if: "env.GIT_DIFF != ''"
- name: test & coverage report creation
run: |
cat xad.txt | xargs go test -mod=readonly -timeout 5m -race -coverprofile=coverage.txt -covermode=atomic
if: "env.GIT_DIFF != ''"
- uses: codecov/codecov-action@v1.0.13
with:
file: ./coverage.txt
if: "env.GIT_DIFF != ''"
2 changes: 1 addition & 1 deletion .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@0.6.0
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.7
with:
folder-path: "docs"
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
timeout-minutes: 4
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
- uses: technote-space/get-diff-action@v3
with:
SUFFIX_FILTER: |
.go
.mod
.sum
- uses: golangci/golangci-lint-action@master
- uses: golangci/golangci-lint-action@v2.2.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.27
version: v1.30
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: "env.GIT_DIFF != ''"
32 changes: 32 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint
on:
push:
branches:
- master
paths:
- "**.md"
- "**.yml"
- "**.yaml"
pull_request:
branches: [master]
paths:
- "**.md"

jobs:
build:
name: Super linter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Lint Code Base
uses: docker://github/super-linter:v3
env:
LINTER_RULES_PATH: .
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_MD: true
MARKDOWN_CONFIG_FILE: .markdownlint.yml
VALIDATE_OPAENAPI: true
VALIDATE_YAML: true
Loading