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-0.33.4 migration #24

Open
wants to merge 400 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
400 commits
Select commit Hold shift + click to select a range
a183809
test: branch for fix of ci (#4266)
tac0turtle Dec 20, 2019
2228040
docs: link fixes in readme (#4268)
tac0turtle Dec 21, 2019
7d7b47a
cmd/debug: execute p.Signal only when p is not nil (#4271)
melekes Dec 22, 2019
ffe5dff
make: add back tools cmd (#4281)
tac0turtle Jan 2, 2020
7f655d8
rpc: pass `outCapacity` to `eventBus#Subscribe` when subscribing usin…
melekes Jan 3, 2020
279482c
crypto: fix sr25519 from raw import (#4272)
sunnya97 Jan 3, 2020
5541059
deps: bump github.com/go-logfmt/logfmt from 0.4.0 to 0.5.0 (#4282)
dependabot-preview[bot] Jan 6, 2020
7be74c7
rpc: add method block_by_hash (#4257)
princesinha19 Jan 6, 2020
8f5d58f
rpc: modify New* functions to return error (#4274)
mrekucci Jan 7, 2020
d7f4ce3
metrics: only increase last_signed_height if commitSig for block (#4283)
tac0turtle Jan 7, 2020
6d91c1f
evidence: introduce time.Duration to evidence params (#4254)
tac0turtle Jan 8, 2020
15aa8d8
rpc/client: add basic authentication (#4291)
greg-szabo Jan 9, 2020
db235c8
cs: check if cs.privValidator is nil (#4295)
melekes Jan 9, 2020
86adc2c
lite: follow up from #3989 (#4209)
melekes Jan 13, 2020
5f0f54f
deps: bump github.com/pkg/errors from 0.8.1 to 0.9.0 (#4301)
dependabot-preview[bot] Jan 13, 2020
faf7833
cmd/lite: switch to new lite2 package (#4300)
melekes Jan 13, 2020
6b71b92
dep: update tm-db to 0.4.0 (#4289)
tac0turtle Jan 13, 2020
a3a0928
changelog: add 0.32.9 changelog to master (#4305)
tac0turtle Jan 13, 2020
7e3c66e
docs: add link for installing Tendermint (#4307)
melekes Jan 15, 2020
32bb813
build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1 (#4310)
dependabot-preview[bot] Jan 15, 2020
5aa209a
Rc1 0.33 (#4306)
tac0turtle Jan 15, 2020
af99236
release: 0.33
tac0turtle Jan 15, 2020
88ac31f
docs: update theme version (#4315)
tac0turtle Jan 17, 2020
a3dc82b
deps: bump github.com/spf13/viper from 1.6.1 to 1.6.2 (#4318)
dependabot-preview[bot] Jan 17, 2020
b50cb26
rpc: check nil blockmeta (#4320)
tac0turtle Jan 17, 2020
9cbfe79
tests: bind test servers to 127.0.0.1 (#4322)
erikgrinaker Jan 18, 2020
2d510d2
rpc: PR#4320 follow up (#4323)
melekes Jan 20, 2020
5f2f975
adr: ADR-052: Tendermint Mode (#4302)
dongsam Jan 22, 2020
f95409e
lite2: move AutoClient into Client (#4326)
melekes Jan 22, 2020
1905ef7
lite2: improve auto update (#4334)
melekes Jan 22, 2020
082e211
docs: minor doc fixes (#4335)
tac0turtle Jan 23, 2020
696e13e
adr: ADR-051: Double Signing Risk Reduction (#4262)
dongsam Jan 24, 2020
48be9bc
Add IPv6 support for P2P integration tests (#4340)
Jan 27, 2020
59a922d
lite2: add Start, TrustedValidatorSet funcs (#4337)
melekes Jan 27, 2020
d90dc9d
rpc: add sort_order option to tx_search (#4342)
melekes Jan 27, 2020
6f93cfa
lite2: rename alternative providers to witnesses (#4344)
melekes Jan 28, 2020
c5ecd80
docs: update links to rpc (#4348)
tac0turtle Jan 28, 2020
85244a4
lite2: refactor cleanup() (#4343)
cmwaters Jan 28, 2020
587ac3a
node: use GRPCMaxOpenConnections when creating the gRPC server (#4349)
melekes Jan 29, 2020
79b99f0
lite2: batch save & delete operations in DB store (#4345)
melekes Jan 29, 2020
8b80de8
build(deps): bump google.golang.org/grpc from 1.26.0 to 1.27.0 (#4355)
dependabot-preview[bot] Jan 29, 2020
71d50f7
lite2: panic if witness is on another chain (#4356)
cmwaters Jan 30, 2020
b04b752
Add ADR-053: State Sync Prototype (#4352)
erikgrinaker Jan 30, 2020
ca03e43
deps: bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#4359)
dependabot-preview[bot] Jan 30, 2020
81e3cca
docs: update npm dependencies (#4364)
tessr Feb 3, 2020
1edb542
lite2: make witnesses mandatory (#4358)
melekes Feb 3, 2020
fa34ff9
abci: fix broken spec link (#4366)
tessr Feb 3, 2020
9b9f1be
docs: update guides proto paths (#4365)
tac0turtle Feb 3, 2020
df3eee4
lite2: replace primary provider with alternative when unavailable (#4…
cmwaters Feb 4, 2020
bb7a80e
lite2: fetch missing headers (#4362)
cmwaters Feb 6, 2020
af37db3
lite2: cross-check new header with all witnesses (#4373)
cmwaters Feb 6, 2020
3e2f299
deps: bump google.golang.org/grpc from 1.27.0 to 1.27.1 (#4372)
dependabot-preview[bot] Feb 6, 2020
66a544a
Fix broken /docs/spec links (#4376)
erikgrinaker Feb 7, 2020
b2832c6
lite2: validate TrustOptions, add NewClientFromTrustedStore (#4374)
melekes Feb 7, 2020
5ac81eb
docs: fix incorrect link (#4377)
erikgrinaker Feb 7, 2020
aeb6cc4
lite2: return if there are no headers in RemoveNoLongerTrustedHeaders…
melekes Feb 7, 2020
31fd99a
proto: add buf and protogen script (#4369)
tac0turtle Feb 11, 2020
da813e4
lite2: manage witness dropout (#4380)
cmwaters Feb 11, 2020
c494070
docs: fix spec links (#4384)
tac0turtle Feb 11, 2020
9a9e8c5
proto: minor linting to proto files (#4386)
tac0turtle Feb 11, 2020
4787f7c
refactored lite client tests
Feb 11, 2020
ab6ac6d
lite2: improve string output of all existing providers (#4387)
melekes Feb 11, 2020
16aae3a
Merge branch 'master' into callum/clean-lite-tests
melekes Feb 11, 2020
831ed8f
Merge pull request #4389 from tendermint/callum/clean-lite-tests
cmwaters Feb 11, 2020
b712c1c
autofile: resolve relative paths (#4390)
erikgrinaker Feb 11, 2020
2b709e7
make: remove sentry setup cmds (#4383)
tac0turtle Feb 12, 2020
67837e5
readme: fix link to original paper (#4391)
tac0turtle Feb 12, 2020
fb5751d
release: minor release 0.33.1 (#4401)
tac0turtle Feb 13, 2020
42d8bc5
upgrade: update upgrade.md for protobuf changes
tac0turtle Feb 13, 2020
e62b21c
Merge pull request #4404 from tendermint/rc2/0.33.1
Feb 13, 2020
774aff5
docs: update Light Client Protocol page (#4405)
melekes Feb 14, 2020
3b5794f
adr: light client implementation (#4397)
melekes Feb 14, 2020
30e5619
Merge branch 'v0.33' into release/v0.33.1
Feb 14, 2020
ec9424c
Merge pull request #4402 from tendermint/release/v0.33.1
melekes Feb 14, 2020
5f5e0e1
makefile: place phony markers after targets (#4408)
erikgrinaker Feb 14, 2020
58620af
lite2: modified sequence method to match bisection (#4403)
cmwaters Feb 14, 2020
c56fd04
lite2: disconnect from bad nodes (#4388)
melekes Feb 14, 2020
da88130
Docs staging (#4407)
fadeev Feb 15, 2020
5ea1ff9
rpc: fix issue with multiple subscriptions (#4406)
antho1404 Feb 17, 2020
f5901ea
lite2: divide verify functions (#4412)
cmwaters Feb 18, 2020
6c67e24
dep: bump gokit dep (#4424)
tac0turtle Feb 18, 2020
68f37ff
Use uint64 for consensus.Reactor.SwitchToConsensus() blocksSynced (#4…
erikgrinaker Feb 19, 2020
c680507
dep: maunally bump dep (#4436)
tac0turtle Feb 19, 2020
b09cdaf
rpc: fix tx_search pagination with ordered results (#4437)
erikgrinaker Feb 19, 2020
1874a97
lite: modified bisection to loop (#4400)
cmwaters Feb 19, 2020
403f43a
rpc: fix txsearch tests (#4438)
erikgrinaker Feb 19, 2020
ee993ba
blockchain: add v2 reactor (#4361)
brapse Feb 19, 2020
b7dab3b
consensus: reduce log severity for ErrVoteNonDeterministicSignature (…
tau3 Feb 19, 2020
7ab81a7
deps: bump github.com/stretchr/testify from 1.4.0 to 1.5.0 (#4435)
dependabot-preview[bot] Feb 19, 2020
24c8b35
rpc: fix TxSearch test nits (#4446)
erikgrinaker Feb 20, 2020
d00384f
build(deps): bump github.com/stretchr/testify from 1.5.0 to 1.5.1 (#4…
dependabot-preview[bot] Feb 20, 2020
8010f3b
build(deps): bump github.com/spf13/cobra from 0.0.3 to 0.0.6 (#4440)
dependabot-preview[bot] Feb 20, 2020
8f48c49
Fix some golangci-lint warnings (#4448)
erikgrinaker Feb 20, 2020
2c7af01
lite2: return already verified headers and verify earlier headers (#4…
cmwaters Feb 20, 2020
b0683b7
p2p: use curve25519.X25519() instead of ScalarMult() (#4449)
erikgrinaker Feb 21, 2020
8d1198b
ADR-053: update with implementation plan after prototype (#4427)
erikgrinaker Feb 21, 2020
c63fd32
circleci: run P2P IPv4 and IPv6 tests in parallel (#4459)
erikgrinaker Feb 21, 2020
fe11219
Fix unexported returns (#4450)
erikgrinaker Feb 21, 2020
f934ca8
lite2: don't save intermediate headers (#4452)
cmwaters Feb 24, 2020
25d92d0
types: VerifyCommitX return when +2/3 sigs are verified (#4445)
Feb 25, 2020
c4f7256
lite2: store current validator set (#4472)
melekes Feb 26, 2020
9231b52
lite2: cross-check first header and update tests (#4471)
cmwaters Feb 26, 2020
6daea31
lite2: remove expiration checks on functions that don't require them …
melekes Feb 26, 2020
b5ce8f2
deps: bump github.com/tendermint/tm-db from 0.4.0 to 0.4.1 (#4476)
dependabot-preview[bot] Feb 26, 2020
b9535a2
blockchain (v2): comment out TestReactorTerminationScenarios (#4480)
melekes Feb 26, 2020
c45baa0
blockchain (v2): async testing notes (#4484)
brapse Feb 27, 2020
875b106
github: edit templates for use in issues and pull requests (#4483)
tac0turtle Feb 27, 2020
6be0e13
lite2: prune-headers (#4478)
cmwaters Feb 27, 2020
b5f6bfa
lite2: return height as 2nd return param in TrustedValidatorSet (#4479)
melekes Feb 27, 2020
3f883bb
lite2: actually run example tests + clock drift (#4487)
melekes Feb 27, 2020
7814430
JSON tests related changes (#4461)
Shivani912 Feb 28, 2020
b73c0b7
build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#4485)
dependabot-preview[bot] Feb 28, 2020
c837a57
rpc: stop txSearch result processing if context is done (#4418)
gterzian Feb 28, 2020
a122a55
docs: adr-046 add bisection algorithm details (#4496)
melekes Feb 28, 2020
6cebba5
swagger: update swagger port (#4498)
tac0turtle Feb 28, 2020
6f6843e
circleci: fix reproducible builds test (#4497)
erikgrinaker Feb 28, 2020
6c9e9b2
tool: add Mergify (#4490)
tac0turtle Feb 28, 2020
d1f7ef6
mergify: remove unnecessary conditions (#4501)
erikgrinaker Feb 28, 2020
72488db
mergify: use strict merges (#4502)
erikgrinaker Feb 28, 2020
c5fe733
test: simplified txsearch cancellation test (#4500)
erikgrinaker Feb 28, 2020
3f18e22
rpc: keep the original subscription "id" field when new RPCs come in …
michaelfig Feb 29, 2020
c33576e
example/kvstore: return ABCI query height (#4509)
erikgrinaker Mar 1, 2020
9bf8f41
lite2: fix tendermint lite sub command (#4505)
melekes Mar 2, 2020
67224fd
docs: `tendermint node --help` dumps all supported flags (#4511)
melekes Mar 2, 2020
51e1b4e
rpc: remove BlockStoreRPC in favor of BlockStore (#4510)
melekes Mar 2, 2020
3b2e1f2
cmd: show useful error when tm not initialised (#4512)
melekes Mar 2, 2020
a60d032
docs: write about debug kill and dump (#4516)
melekes Mar 3, 2020
c518a06
deps: bump github.com/Workiva/go-datastructures (#4519)
dependabot-preview[bot] Mar 3, 2020
ff78651
lite: add helper functions for initiating the light client (#4486)
cmwaters Mar 3, 2020
891afc2
cmd: fix debug kill and change debug dump archive filename format (#4…
melekes Mar 3, 2020
61380ff
build(deps): bump github.com/prometheus/client_golang (#4525)
dependabot-preview[bot] Mar 4, 2020
9e5b4af
.github: add markdown link checker (#4513)
tessr Mar 4, 2020
4936b23
adr-047: evidence handling (#4429)
melekes Mar 5, 2020
4c8e3c8
fix: proto-breakage (#4506)
mergify[bot] Mar 5, 2020
632b53d
fix addrbook tests (#4526)
mergify[bot] Mar 5, 2020
3a695d4
docs: fix links (#4531)
mergify[bot] Mar 5, 2020
7d00117
readme: add discord to readme (#4533)
mergify[bot] Mar 5, 2020
431618c
lite2: remove auto update (#4535)
melekes Mar 6, 2020
d3f965b
lite2: indicate success/failure of Update (#4536)
melekes Mar 6, 2020
bc89aad
rpc: create buffered subscriptions on /subscribe (#4521)
melekes Mar 6, 2020
b6f0aa3
lite2: replace primary when providing invalid header (#4523)
cmwaters Mar 6, 2020
f17717f
adr: crypto encoding for proto (#4481)
tac0turtle Mar 9, 2020
73c19bd
CONTRIBUTING: include instructions for installing protobuf
tessr Mar 9, 2020
cb8a2cc
build(deps): bump github.com/Workiva/go-datastructures (#4545)
dependabot-preview[bot] Mar 10, 2020
7466f35
mvp blacklist alg
cmwaters Mar 10, 2020
6ccd332
move reinstatement after if statement in pex reactor
cmwaters Mar 10, 2020
e18636e
separate reinstatement of peers from discovery of new peers
cmwaters Mar 10, 2020
eeb0b0d
lint fix
cmwaters Mar 10, 2020
31bea92
libs/kv: remove unused type KI64Pair (#4542)
tessr Mar 10, 2020
c534291
rc1/v0.33.2(#4541)
tac0turtle Mar 11, 2020
b215e07
Merge pull request #4550 from tendermint/release/v0.33.2
melekes Mar 11, 2020
8c749dc
build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#4551)
dependabot-preview[bot] Mar 11, 2020
2544a5c
noop commit (#4553)
melekes Mar 11, 2020
cd5a987
build(deps): bump github.com/tendermint/tm-db from 0.4.1 to 0.5.0 (#4…
dependabot-preview[bot] Mar 11, 2020
429febd
reconfigure mutexes
cmwaters Mar 11, 2020
08ccbdc
ban function requires a ban duration as an argument
cmwaters Mar 11, 2020
4110c25
make banTime an argument and set default in PEX reactor instead of Ad…
cmwaters Mar 11, 2020
60d375e
basic test for banning peers
cmwaters Mar 11, 2020
65d86bc
added banned address error
cmwaters Mar 11, 2020
2f2d62e
banned addresses can't be added again
cmwaters Mar 11, 2020
1e37a1f
added isBanned check in addrbook
cmwaters Mar 11, 2020
5de6ec7
added logs for more information
cmwaters Mar 11, 2020
dbf0220
lint fix
cmwaters Mar 11, 2020
5235736
Merge branch 'master' into callum/p2p-blacklist
cmwaters Mar 11, 2020
4ef506f
deps: bump deps that bot cant (#4555)
tac0turtle Mar 11, 2020
864ce4b
tools/build: delete stale tools (#4558)
tessr Mar 12, 2020
038aff1
lite2: add benchmarking tests (#4514)
cmwaters Mar 12, 2020
48f073d
privval: return error on getpubkey (#4534)
tac0turtle Mar 12, 2020
c8bb1cc
made suggested changes
cmwaters Mar 12, 2020
7e6b1a8
cannot decrease ban time
cmwaters Mar 12, 2020
6ae1f3c
Merge branch 'master' into callum/p2p-blacklist
cmwaters Mar 12, 2020
61a9ec1
Merge pull request #4548 from tendermint/callum/p2p-blacklist
cmwaters Mar 12, 2020
c42d530
update Changelog with PR #4548
cmwaters Mar 12, 2020
586d299
moved to changelog_pending
cmwaters Mar 12, 2020
fdc29ef
Merge pull request #4560 from tendermint/callum/update-changelog
cmwaters Mar 12, 2020
53b660e
Use docs-staging branch (#4561)
fadeev Mar 12, 2020
ab9cb0e
build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#4563)
dependabot-preview[bot] Mar 13, 2020
c06341e
removal: remove build folder (#4565)
tac0turtle Mar 13, 2020
033cac2
Update docs website (#4564)
fadeev Mar 13, 2020
fdc2efc
fix: fix spelling of comment (#4566)
tac0turtle Mar 13, 2020
629dff0
build(deps): bump github.com/prometheus/client_golang (#4574)
dependabot-preview[bot] Mar 16, 2020
c917c2d
rpc: fix panic when `Subscribe` is called (#4570)
melekes Mar 16, 2020
c05b2f2
Dockerfile updated with defaults (#4577)
greg-szabo Mar 17, 2020
a0294fe
build(deps): bump github.com/gorilla/websocket from 1.4.1 to 1.4.2 (#…
dependabot-preview[bot] Mar 20, 2020
a116dca
deps: run go mod tidy (#4587)
tac0turtle Mar 21, 2020
d9c3431
Docker image port fix (#4589)
greg-szabo Mar 21, 2020
044f1bf
format: add format cmd & goimport repo (#4586)
tac0turtle Mar 23, 2020
130b165
minor link fixing (#4598)
tac0turtle Mar 23, 2020
18d44a0
blockchain: enable v2 to be set (#4597)
tac0turtle Mar 23, 2020
43f3276
change link checker to run daily (#4601)
tac0turtle Mar 25, 2020
a25faed
lite2: cache headers in bisection (#4562)
cmwaters Mar 26, 2020
b14c0e5
tools: remove need to install buf (#4605)
tac0turtle Mar 27, 2020
53aa1ce
create style guide and update contributors section (#4576)
cmwaters Mar 27, 2020
7164c67
docs: validator setup & Key info (#4604)
tac0turtle Mar 27, 2020
ccf53a2
all: name reactors when they are initialized (#4608)
tessr Mar 27, 2020
94f5321
build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7 (#4612)
dependabot-preview[bot] Mar 30, 2020
9edf17a
build(deps): bump github.com/tendermint/tm-db from 0.5.0 to 0.5.1 (#4…
dependabot-preview[bot] Mar 30, 2020
f5651d2
proto: use docker to generate stubs (#4615)
tac0turtle Mar 30, 2020
bcf27c2
rpc: add codespace to ResultBroadcastTx (#4611)
whylee259 Mar 31, 2020
5c380cd
lite2: use bisection for some of backward verification (#4575)
cmwaters Mar 31, 2020
6c88d2b
lite2: make maxClockDrift an option (#4616)
melekes Mar 31, 2020
fdf9c7a
rpc/client: split out client packages (#4628)
erikgrinaker Apr 2, 2020
ce50dda
ADR-053: strengthen and simplify the state sync ABCI interface (#4610)
erikgrinaker Apr 2, 2020
4298bbc
add support for block pruning via ABCI Commit response (#4588)
erikgrinaker Apr 3, 2020
0c0cb9f
mempool: reserve IDs in InitPeer instead of AddPeer
tessr Mar 27, 2020
9821af8
p2p: limit the number of incoming connections
melekes Apr 3, 2020
62c1a13
update changelog and version
melekes Apr 3, 2020
61057a8
upgrading: add note on rpc/client subpackages (#4636)
erikgrinaker Apr 3, 2020
f51ca72
config: allow fastsync.version = v2 (#4639)
erikgrinaker Apr 4, 2020
379848e
lite2: Prevent falsely returned double voting error (#4620)
cmwaters Apr 6, 2020
c11013f
lite2: Default to http scheme in provider.New (#4649)
alexanderbez Apr 6, 2020
6aa469d
p2p: PEX message abuse should ban as well as disconnect (#4621)
cmwaters Apr 7, 2020
499f9ed
lint: add review dog (#4652)
tac0turtle Apr 7, 2020
88d7007
check evidence hasn't already been stored (#4632)
cmwaters Apr 7, 2020
f70785b
build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#4653)
dependabot-preview[bot] Apr 7, 2020
52f729b
run go mod tidy
Apr 8, 2020
d14bd94
Docs website update (#4658)
fadeev Apr 8, 2020
e4bb464
Merge branch 'master' into alessio/go-mod-tidy
tac0turtle Apr 8, 2020
dac030d
Merge pull request #4659 from tendermint/alessio/go-mod-tidy
Apr 8, 2020
13eff7f
Merge pull request from GHSA-v24h-pjjv-mcp6
alessio Apr 9, 2020
ff87bd9
mempool: reserve IDs in InitPeer instead of AddPeer
tessr Mar 27, 2020
e2d6859
p2p: limit the number of incoming connections
melekes Apr 3, 2020
4f88071
update changelog and version
melekes Apr 3, 2020
6ae0b11
README: specify supported versions (#4660)
tessr Apr 10, 2020
ef56e66
build(deps): bump github.com/spf13/viper from 1.6.2 to 1.6.3 (#4664)
dependabot-preview[bot] Apr 10, 2020
fcbce21
cli: add command to generate shell completion scripts (#4665)
Apr 13, 2020
ac6519d
mergify: use PR title and body for squash merge commit (#4669)
erikgrinaker Apr 14, 2020
fb35b47
blockchain/v2: allow setting nil switch, for CustomReactors()
erikgrinaker Apr 14, 2020
11fa625
evidence: both MaxAgeDuration and MaxAgeNumBlocks need to be surpasse…
melekes Apr 14, 2020
d2881d5
dep: bump protobuf, cobra, btcutil & std lib deps (#4676)
tac0turtle Apr 15, 2020
de2728f
docs/architecture: add adr-55 for proto repo design (#4623)
tac0turtle Apr 15, 2020
7b717c7
changelog: add entries from secruity releases
tac0turtle Apr 15, 2020
cadcbb2
docs: amend adr-54 with changes in the sdk (#4684)
tac0turtle Apr 16, 2020
ee9545e
blockchain/v2: don't broadcast base if height is 0
erikgrinaker Apr 16, 2020
9e0d6a9
build(deps): bump @vuepress/plugin-google-analytics in /docs (#4692)
dependabot-preview[bot] Apr 17, 2020
832bf56
minor release process change
tac0turtle Apr 17, 2020
26c9134
lite2: verify ConsensusHash in rpc client
melekes Apr 20, 2020
55909aa
docs/architecture: create adr 56: prove amnesia attack
cmwaters Apr 20, 2020
cd19471
bump ABCI version to 0.16.2 due to ResponseCommit.retain_height
erikgrinaker Apr 20, 2020
b796029
fix linter warnings
erikgrinaker Apr 20, 2020
66b0ec0
clarify service logging
erikgrinaker Apr 20, 2020
82b585c
blockstore: allow initial SaveBlock() at any height
erikgrinaker Apr 20, 2020
62feafb
ci: transition some ci to github actions
tac0turtle Apr 20, 2020
ec1c657
p2p/pex: fix DATA RACE
melekes Apr 20, 2020
349556c
lite2/rpc: verify block results and validators (#4703)
melekes Apr 20, 2020
727c15e
rc1/v0.33.4
tac0turtle Apr 21, 2020
31a0f48
Merge branch 'v0.33' into release/v0.33.4
tessr Apr 21, 2020
6018f2d
kick CI
tessr Apr 21, 2020
70a4b5e
Merge pull request #4714 from tendermint/release/v0.33.4
tessr Apr 21, 2020
6c5877f
Merge branch 'misc/v0.33.4'
brew0722 May 14, 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
  •  
  •  
  •  
146 changes: 54 additions & 92 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ executors:
machine: true
docs:
docker:
- image: tendermintdev/jq_curl
- image: tendermintdev/docker-website-deployment
environment:
AWS_REGION: us-east-1

Expand Down Expand Up @@ -73,26 +73,6 @@ jobs:
paths:
- "."

test_abci_apps:
executor: golang
steps:
- run_test:
script_path: abci/tests/test_app/test.sh

# if this test fails, fix it and update the docs at:
# https://github.com/tendermint/tendermint/blob/develop/docs/abci-cli.md
test_abci_cli:
executor: golang
steps:
- run_test:
script_path: abci/tests/test_cli/test.sh

test_apps:
executor: golang
steps:
- run_test:
script_path: test/app/test.sh

test_persistence:
executor: golang
steps:
Expand Down Expand Up @@ -155,11 +135,15 @@ jobs:
GOPATH: /home/circleci/.go_workspace
machine:
image: circleci/classic:latest
parameters:
ipv:
type: integer
default: 4
steps:
- checkout
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/hdac-io/tendermint
- run: bash test/p2p/circleci.sh
- run: bash test/p2p/circleci.sh << parameters.ipv >>
- store_artifacts:
path: /home/circleci/project/test/p2p/logs

Expand Down Expand Up @@ -191,30 +175,13 @@ jobs:
deploy_docs:
executor: docs
steps:
- restore_cache:
name: "Restore source code cache"
keys:
- go-src-v1-{{ .Revision }}
- checkout
- run:
name: Trigger website build
command: |
curl --silent \
--show-error \
-X POST \
--header "Content-Type: application/json" \
-d "{\"branch\": \"$CIRCLE_BRANCH\"}" \
"https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$WEBSITE_REPO_NAME/build?circle-token=$TENDERBOT_API_TOKEN" > response.json

RESULT=`jq -r '.status' response.json`
MESSAGE=`jq -r '.message' response.json`

if [[ ${RESULT} == "null" ]] || [[ ${RESULT} -ne "200" ]]; then
echo "CircleCI API call failed: $MESSAGE"
exit 1
else
echo "Website build started"
fi
name: "Build docs"
command: make build-docs
- run:
name: "Sync to S3"
command: make sync-docs

prepare_build:
executor: golang
Expand Down Expand Up @@ -314,10 +281,6 @@ jobs:
machine:
image: ubuntu-1604:201903-01
steps:
- restore_cache:
name: "Restore source code cache"
keys:
- go-src-v1-{{ .Revision }}
- checkout
- attach_workspace:
at: /tmp/workspace
Expand All @@ -337,17 +300,14 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
name: "Restore source code cache"
keys:
- go-src-v1-{{ .Revision }}
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run:
name: Build tendermint
no_output_timeout: 20m
command: |
sudo apt-get update
sudo apt-get install -y ruby
bash -x ./scripts/gitian-build.sh all
for os in darwin linux windows; do
Expand All @@ -364,54 +324,52 @@ jobs:
- store_artifacts:
path: /go/src/github.com/hdac-io/tendermint/tendermint-*.tar.gz

# Test RPC implementation against the swagger documented specs
contract_tests:
working_directory: /home/circleci/.go_workspace/src/github.com/hdac-io/tendermint
machine:
image: circleci/classic:latest
environment:
GOBIN: /home/circleci/.go_workspace/bin
GOPATH: /home/circleci/.go_workspace/
GOOS: linux
GOARCH: amd64
parallelism: 1
steps:
- checkout
- run:
name: Test RPC endpoints against swagger documentation
command: |
set -x
export PATH=~/.local/bin:$PATH

# install node and dredd
./scripts/get_nodejs.sh

# build the binaries with a proper version of Go
docker run --rm -v "$PWD":/go/src/github.com/hdac-io/tendermint -w /go/src/github.com/hdac-io/tendermint golang make build-linux build-contract-tests-hooks

# This docker image works with go 1.7, we can install here the hook handler that contract-tests is going to use
go get github.com/snikch/goodman/cmd/goodman
make contract-tests
# # Test RPC implementation against the swagger documented specs
# contract_tests:
# working_directory: /home/circleci/.go_workspace/src/github.com/tendermint/tendermint
# machine:
# image: circleci/classic:latest
# environment:
# GOBIN: /home/circleci/.go_workspace/bin
# GOPATH: /home/circleci/.go_workspace/
# GOOS: linux
# GOARCH: amd64
# parallelism: 1
# steps:
# - checkout
# - run:
# name: Test RPC endpoints against swagger documentation
# command: |
# set -x
# export PATH=~/.local/bin:$PATH
# # install node and dredd
# ./scripts/get_nodejs.sh
# # build the binaries with a proper version of Go
# docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang make build-linux build-contract-tests-hooks
# # This docker image works with go 1.7, we can install here the hook handler that contract-tests is going to use
# go get github.com/snikch/goodman/cmd/goodman
# make contract-tests

workflows:
version: 2
test-suite:
jobs:
- deploy_docs:
context: tendermint-docs
filters:
branches:
only:
- master
tags:
only:
- /^v.*/
- deploy_docs:
context: tendermint-docs-staging
filters:
branches:
only:
- docs-staging
- setup_dependencies
- test_abci_apps:
requires:
- setup_dependencies
- test_abci_cli:
requires:
- setup_dependencies
- test_apps:
requires:
- setup_dependencies
- test_cover:
requires:
- setup_dependencies
Expand All @@ -422,6 +380,9 @@ workflows:
requires:
- setup_dependencies
- test_p2p
- test_p2p:
name: test_p2p_ipv6
ipv: 6
- upload_coverage:
requires:
- test_cover
Expand All @@ -431,9 +392,9 @@ workflows:
only:
- master
- /v[0-9]+\.[0-9]+/
- contract_tests:
requires:
- setup_dependencies
# - contract_tests:
# requires:
# - setup_dependencies

release:
jobs:
Expand All @@ -457,3 +418,4 @@ workflows:
branches:
only:
- /v[0-9]+\.[0-9]+/
- master
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Everything goes through Bucky, Anton, Alex. For now.
* @ebuchman @melekes @xla
# Everything goes through Bucky, Anton, Tess. For now.
* @ebuchman @melekes @tessr

# Precious documentation
/docs/README.md @zramsay
Expand Down
35 changes: 29 additions & 6 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,34 @@ name: Feature Request
about: Create a proposal to request a feature

---
<!--
Please describe *in detail* the feature/behavior/change you'd like to see.

Be ready for followup questions, and please respond in a timely
manner.
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for opening an issue! ✰
v Before smashing the submit button please review the template.
v Word of caution: poorly thought-out proposals may be rejected
v without deliberation
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

Word of caution: poorly thought out proposals may be rejected without deliberation
-->
## Summary

<!-- Short, concise description of the proposed feature -->

## Problem Definition

<!-- Why do we need this feature?
What problems may be addressed by introducing this feature?
What benefits does Tendermint stand to gain by including this feature?
Are there any disadvantages of including this feature? -->

## Proposal

<!-- Detailed description of requirements of implementation -->

____

#### For Admin Use

- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate contributors tagged
- [ ] Contributor assigned/self-assigned
29 changes: 20 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
<!--
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

Thanks for filing a PR! Before hitting the button, please check the following items.
Please note that every non-trivial PR must reference an issue that explains the
changes in the PR.
Closes: #XXX

## Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review.
-->

* [ ] Referenced an issue explaining the need for the change
* [ ] Updated all relevant documentation in docs
* [ ] Updated all code comments where relevant
* [ ] Wrote tests
* [ ] Updated CHANGELOG_PENDING.md

______

For contributor use:

- [ ] Wrote tests
- [ ] Updated CHANGELOG_PENDING.md
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Updated relevant documentation (`docs/`) and code comments
- [ ] Re-reviewed `Files changed` in the Github PR explorer
47 changes: 47 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 9

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- major-release

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: true

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: true

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

Limit to only `issues` or `pulls`
only: pulls

Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
pulls:
daysUntilStale: 30
markComment: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
12 changes: 12 additions & 0 deletions .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Check Markdown links
on:
schedule:
- cron: '* */24 * * *'
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@0.6.0
with:
folder-path: "docs"
12 changes: 12 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Lint
on: [pull_request]
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
Loading