Marko
e7d7ad85d5
crypto: adopt zip215 ed25519 verification ( #5632 )
4 years ago
Aleksandr Bezobchuk
b508045eff
Merge PR #5624 : Types ValidateBasic Tests
4 years ago
Callum Waters
ca46cbc781
move broadcast_evidence rpc call from info to evidence ( #5634 )
4 years ago
Marko
bf35cc6443
cmd: add support for --key ( #5612 )
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
4 years ago
dependabot[bot]
27895a27a4
build(deps): Bump actions/cache from v2.1.2 to v2.1.3 ( #5633 )
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.2...0781355a23dac32fd3bac414512f4b903437991a )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Callum Waters
9fe7b4fe77
remove misbehaviors from e2e generator ( #5629 )
4 years ago
Tess Rinearson
ec32df2d8a
CHANGELOG: add breaking Version name change ( #5628 )
The good folks at Regen pointed out that this was an additional breaking change when they upgraded to use RC6: https://github.com/cosmos/cosmos-sdk/pull/7828#discussion_r518337441
4 years ago
Tess Rinearson
d0c87ff27e
.github: move codecov config into .github
4 years ago
Tess Rinearson
e52f9de148
.github: move codecov.yml into .github
4 years ago
Tess Rinearson
8ae5c60637
scripts: move build.sh into scripts
4 years ago
Tess Rinearson
47687dba31
remove unused PHILOSOPHY file
4 years ago
Tess Rinearson
865234e113
remove appveyor.yml
4 years ago
Tess Rinearson
fdb7421ae8
.github: move mergify config
4 years ago
Tess Rinearson
a65c23a526
CHANGELOG: update to reflect v0.34.0-rc6 ( #5622 )
Note that this also deletes everything from CHANGELOG_PENDING that was included in RC6.
4 years ago
Anton Kaliaev
335e97433c
blockchain/v2: remove peers from the processor ( #5607 )
after they were pruned by the scheduler
Closes #5513
4 years ago
Callum Waters
3922dde05d
evidence: structs can independently form abci evidence ( #5610 )
4 years ago
dependabot[bot]
83c7bd17bf
build(deps-dev): Bump watchpack from 2.0.0 to 2.0.1 in /docs ( #5605 )
Bumps [watchpack](https://github.com/webpack/watchpack ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/webpack/watchpack/releases )
- [Commits](https://github.com/webpack/watchpack/compare/v2.0.0...v2.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Cyrus Goh
f471affad5
docs: bump vuepress-theme-cosmos ( #5614 )
## Description
- bump to 1.0.175
### Related:
- https://github.com/cosmos/vuepress-theme-cosmos/pull/125
- https://github.com/cosmos/vuepress-theme-cosmos/pull/151
4 years ago
Marko
0e9798f39f
ci: use gh pages ( #5609 )
4 years ago
Anton Kaliaev
627f7b5989
light: run detector for sequentially validating light client ( #5538 )
Closes #5445
4 years ago
Anton Kaliaev
8e6194626e
light: model-based tests ( #5461 )
This is the first iteration of model-based testing in Go Tendermint. The test runner is using the static JSON fixtures located under the ./json directory. In the future, the Rust tensgen binary will be used to generate those (given the static intermediate scenarios and the test seed, which will be published along with each testgen release).
Closes : #5322
4 years ago
Erik Grinaker
886235311f
p2p: remove p2p.FuzzedConnection and its config settings ( #5598 )
Removes `p2p.FuzzedConnection`, since it does not appear to be in use. While these sorts of test wrappers may be useful, they should be injected directly instead of bleeding through into the main application configuration. We'll implement something similar if and when necessary, for the new P2P abstractions in #2067 .
4 years ago
Erik Grinaker
b5d9da5d89
docs: add ADR on P2P refactor scope ( #5592 )
[Rendered](https://github.com/tendermint/tendermint/blob/erik/adr-p2p-refactor/docs/architecture/adr-061-p2p-refactor-scope.md )
This summarizes recent discussions on the scope of the upcoming P2P refactor.
4 years ago
Anton Kaliaev
bcf9b0aa39
blockchain/v2: make the removal of an already removed peer a noop ( #5553 )
also, since multiple StopPeerForError calls may be executed in parallel,
only execute StopPeerForError once
Closes #5541
4 years ago
Marko
cafad28293
privval: make response values non nullable ( #5583 )
## Description
make response values non nullable in privval
Does this need a changelog for master?
Closes : #5581
cc @tarcieri
4 years ago
dependabot[bot]
cd41091b18
build(deps): Bump codecov/codecov-action from v1.0.13 to v1.0.14 ( #5582 )
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.0.13 to v1.0.14.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...7d5dfa54903bd909319c580a00535b483d1efcf3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Erik Grinaker
53022220f6
test: fix various E2E test issues ( #5576 )
* Don't use state sync for nodes starting at initial height.
* Also remove stopped containers when cleaning up.
* Start nodes in order of startAt, mode, name to avoid full nodes starting before their seeds.
* Tweak network waiting to avoid halts caused by validator changes and perturbations.
* Disable most tests for seed nodes, which aren't always able to join consensus.
* Disable `blockchain/v2` due to known bugs.
4 years ago
Callum Waters
651d8f087b
evidence: don't send committed evidence and ignore inbound evidence that is already committed ( #5574 )
4 years ago
Tess Rinearson
1488b0a33b
docs: remove DEV_SESSIONS list ( #5579 )
4 years ago
Marko
3be4800810
docs: footer cleanup ( #5457 )
## Description
Switch maintainer information
Closes: #XXX
4 years ago
Marko
eeb92a632b
ci: tests ( #5577 )
- use matrix builds to run multiple test jobs
- upload code coverage once not 4 times (produce more accurate codecov reports)
4 years ago
Marko
d0db59e16c
ci: add goreleaser ( #5527 )
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
4 years ago
Marko
38587d83c4
types: move `MakeBlock` to block.go ( #5573 )
4 years ago
dependabot[bot]
80b9eb8f0f
build(deps): Bump golangci/golangci-lint-action from v2.2.1 to v2.3.0 ( #5571 )
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from v2.2.1 to v2.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.2.1...e868220d9fd3b523f1a8fcfb69749e8c7521ba14 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Erik Grinaker
7daf6a1a03
test: disable E2E misbehaviors due to bugs ( #5569 )
Disables misbehaviors in E2E testnets due to failures caused by #5554 and #5560 . Should be re-enabled once these are fixed.
4 years ago
Erik Grinaker
10dda219a1
test: fix handling of start height in generated E2E testnets ( #5563 )
In #5488 the E2E testnet generator changed to setting explicit `StartAt` heights for initial nodes. This broke the runner, which expected all initial nodes to have `StartAt: 0`, as well as validator set scheduling in the generator. Testnet loading now normalizes initial nodes to have `StartAt: 0`.
This also tweaks waiting for misbehavior heights to only use an additional wait if there actually is any misbehavior in the testnet, and to output information when waiting.
4 years ago
Callum Waters
d1ef5028a0
block: fix max commit sig size ( #5567 )
4 years ago
Erik Grinaker
20d66803c5
abci/grpc: fix ordering of sync/async callback combinations ( #5556 )
Fixes #5540 , fixes #2965 . This is a hack that patches over the problem, but really the whole async handling in gRPC should be redesigned, as should ReqRes callback dispatch.
4 years ago
Callum Waters
50b91867c3
test: add evidence e2e tests ( #5488 )
4 years ago
Erik Grinaker
d11e5993b1
test: tag E2E Docker resources and autoremove them ( #5558 )
Fixes #5555 .
4 years ago
Erik Grinaker
99f645d200
github: only notify nightly E2E failures once ( #5559 )
4 years ago
Erik Grinaker
e0e006d10f
test: run remaining E2E testnets on run-multiple.sh failure ( #5557 )
Fixes #5542 .
4 years ago
dependabot[bot]
d4f906609a
build(deps): Bump google.golang.org/grpc from 1.32.0 to 1.33.1 ( #5544 )
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.32.0 to 1.33.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.32.0...v1.33.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
4 years ago
dependabot[bot]
a24a58207a
build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 1.0.7 to 1.0.8 ( #5543 )
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases )
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/1.0.7...e3c371c731b2f494f856dc5de7f61cea4d519907 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Erik Grinaker
8c5fe166a6
test: enable restart/kill perturbations in E2E tests ( #5537 )
When #5536 lands we can re-enable restart/kill perturbations in E2E tests.
4 years ago
Erik Grinaker
17383be202
consensus: open target WAL as read/write during autorepair ( #5536 )
Fixes #5422 . That turned out to be a whole lot easier than expected.
4 years ago
Callum Waters
257b34b459
evidence: don't gossip consensus evidence too soon ( #5528 )
and don't return errors on seeing the same evidence twice
4 years ago
Erik Grinaker
9e6248c0d7
test: enable blockchain v2 in E2E testnet generator ( #5533 )
When #5499 and #5530 land, we can re-enable v2 in the E2E testnet generator (and thus the nightly E2E tests).
4 years ago
Anton Kaliaev
b4adeab8b9
blockchain/v2: fix panic: processed height X+1 but expected height X ( #5530 )
Before: scheduler receives psBlockProcessed event, but does not mark block as processed because peer timed out (or was removed for other reasons) and all associated blocks were rescheduled.
After: scheduler receives psBlockProcessed event and marks block as processed in any case (even if peer who provided this block errors).
Closes #5387
4 years ago
Anton Kaliaev
d785036e0b
blockchain/v2: fix "panic: duplicate block enqueued by processor" ( #5499 )
When a peer is stopped due to some network issue, the Reactor calls scheduler#handleRemovePeer, which removes the peer from the scheduler. BUT the peer stays in the processor, which sometimes could lead to "duplicate block enqueued by processor" panic WHEN the same block is requested by the scheduler again from a different peer. The solution is to return scPeerError, which will be propagated to the processor. The processor will clean up the blocks associated with the peer in purgePeer.
Closes #5513 , #5517
4 years ago