Marko and GitHub
e1644d00c5
mempool: length prefix txs when getting them from mempool ( #5483 )
...
## Description
In protobuf `[]byte` is varint encoded. When adding txs to the block we were not taking this into account.
Closes: #XXX
2020-10-13 10:33:21 +00:00
Marko and GitHub
346aa14db5
fix lint failures with 1.31 ( #5489 )
2020-10-13 10:22:53 +02:00
Anton Kaliaev and GitHub
7121f68f25
light/rpc: fix ABCIQuery ( #5375 )
...
Closes #5106
2020-10-12 16:36:37 +04:00
710ed63f55
build(deps): Bump technote-space/get-diff-action from v3 to v4 ( #5485 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com >
2020-10-12 14:13:45 +02:00
3de8d14baa
build(deps): Bump golangci/golangci-lint-action from v2.2.0 to v2.2.1 ( #5486 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com >
2020-10-12 13:28:28 +02:00
6de4bb1b6b
build(deps): Bump actions/cache from v2.1.1 to v2.1.2 ( #5487 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.1...d1255ad9362389eac595a9ae406b8e8cb3331f16 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 13:25:32 +02:00
Callum Waters and GitHub
6a2a71be07
correctly calculate evidence data size ( #5482 )
2020-10-12 11:28:41 +02:00
Erik Grinaker and GitHub
260cc5dd69
test/e2e: add random testnet generator ( #5479 )
...
Closes #5291 . Adds a randomized testnet generator. Nightly CI job will be submitted separately. A few of the testnets can be a bit flaky, even after disabling known-faulty behavior and making minor tweaks, and the larger networks may be too resource-intensive to run in CI - this will be optimized separately.
2020-10-09 12:33:48 +00:00
Anton Kaliaev and GitHub
12ebd7735a
light: cross-check the very first header ( #5429 )
...
Closes #5428
2020-10-09 14:29:22 +04:00
Alessio Treglia and GitHub
93b9bab932
simplified reproducible buildsystem ( #5477 )
2020-10-09 11:23:09 +02:00
82e4693cc5
abci: remove setOption ( #5447 )
...
Remove Response/Request SetOption from ABCI.
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2020-10-08 19:12:12 +02:00
Igor Konnov and GitHub
792767d1cb
Extending the blockchain specification (in the light client) to produce different ratios of faults ( #183 )
...
* cleaning unused definitions
* introduced the ratio of faulty processes
2020-10-08 10:42:00 +02:00
Josef Widder and GitHub
0794fc8ff2
first check latest with secondary ( #184 )
2020-10-08 09:51:00 +02:00
169fa6dcdb
build(deps-dev): Bump watchpack from 1.7.4 to 2.0.0 in /docs ( #5470 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com >
2020-10-07 21:08:11 +02:00
Callum Waters and GitHub
302aec6dcc
evidence: use bytes instead of quantity to limit size ( #5449 )
...
## Description
Closes : #5432
2020-10-07 09:29:52 +00:00
Marko and GitHub
10f30f8a99
docs: make /master the default ( #5474 )
2020-10-06 21:55:51 +02:00
Marko and GitHub
07bb7fb445
ci/e2e: avoid running job when no go files are touched ( #5471 )
2020-10-06 14:29:29 +02:00
c5576dfa69
spec: protobuf changes ( #156 )
...
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2020-10-06 12:40:25 +02:00
Cyrus Goh and GitHub
46252a9b69
docs: docs-staging → master ( #5468 )
...
## Description
- Makefile: branches and path prefixes from `versions` work on `docs-staging` https://github.com/tendermint/tendermint/pull/5467
- Expects to have:
- https://docs.tendermint.com/master
- https://docs.tendermint.com/v0.32
- https://docs.tendermint.com/v0.33
2020-10-06 07:36:46 +00:00
Erik Grinaker and GitHub
8d28e7467c
test: add E2E test for node peering ( #5465 )
...
This was a missing test case from the old P2P tests removed in #5453 , which makes sure that all nodes are able to peer with each other regardless of how they discover peers.
Fixes #2795 , since the default CI testnet uses a combination of (partially meshed) persistent peers and PEX-based seed nodes.
2020-10-06 06:00:20 +00:00
Erik Grinaker and GitHub
b894f07380
test: remove P2P tests ( #5453 )
2020-10-05 17:52:01 +02:00
Callum Waters and GitHub
6c77207055
docs: fix links to adr 56 ( #5464 )
...
## Description
fix broken link from a previous change
2020-10-05 15:29:35 +00:00
Erik Grinaker and GitHub
a6b22cfa97
circleci: remove Gitian reproducible_builds job ( #5462 )
2020-10-05 17:16:05 +02:00
Marko and GitHub
d7d0ffea13
fix RPC blockresults reutrn ( #5459 )
...
## Description
In blocks_results we use the proto definition of abciResponses: https://github.com/tendermint/tendermint/blob/2672b91ab099b8b02f3afabae4a0a745acd93c3f/rpc/core/blocks.go#L152-L155 , this leads to the use of the proto definition of the pubkey which is an interface in go (oneof). The interface must be registered with the JSON encoder to have it work correctly.
A clearer divide between proto types and native types is needed.
Closes: #XXX
2020-10-05 13:55:27 +00:00
Erik Grinaker and GitHub
7e27e9b852
test: add GitHub action for end-to-end tests ( #5452 )
...
Partial fix for #5291 .
2020-10-05 12:44:35 +02:00
Erik Grinaker and GitHub
090afe30f9
test: add basic end-to-end test cases ( #5450 )
...
Partial fix for #5291 .
This adds a basic set of test cases for core network invariants. Although small, it is sufficient to replace and extend the current set of P2P tests. Further test cases can be added later.
2020-10-05 10:23:12 +00:00
Tess Rinearson and GitHub
b9d98a61c2
changelog: add missing date to v0.33.5 release, fix indentation ( #5454 )
...
I forgot to add the date when we cut 0.33.5. This fixes that. It also fixes a header indentation issue for 0.33.8.
2020-10-05 11:55:25 +02:00
Erik Grinaker and GitHub
250c3aa92e
test: add end-to-end testing framework ( #5435 )
...
Partial fix for #5291 . For details, see [README.md](https://github.com/tendermint/tendermint/blob/erik/e2e-tests/test/e2e/README.md ) and [RFC-001](https://github.com/tendermint/tendermint/blob/master/docs/rfc/rfc-001-end-to-end-testing.md ).
This only includes a single test case under `test/e2e/tests/`, as a proof of concept - additional test cases will be submitted separately. A randomized testnet generator will also be submitted separately, there a currently just a handful of static testnets under `test/e2e/networks/`. This will eventually replace the current P2P tests and run in CI.
2020-10-05 09:35:01 +00:00
Marko and GitHub
04fb20e33d
remove setOption ( #181 )
2020-10-05 08:54:41 +02:00
Callum Waters and GitHub
a4b7018732
light: expand on errors and docs ( #5443 )
2020-10-02 20:05:15 +02:00
Callum Waters and GitHub
bf9e36d02d
docs: revise ADR 56, documenting short term decision around amnesia evidence ( #5440 )
2020-10-02 19:21:22 +02:00
Erik Grinaker and GitHub
08708046a7
privval: fix ping message encoding ( #5441 )
...
Fixes #5371 .
2020-10-01 14:46:21 +00:00
Marko and GitHub
dcdf9bbff8
ci: docker remvoe circleci and add github action ( #5420 )
2020-10-01 13:25:20 +02:00
Josef Widder and GitHub
8391fa0b89
TLA+ specs from MBT revision ( #173 )
2020-10-01 11:31:53 +02:00
Callum Waters and GitHub
433bdf5063
consensus: check block parts don't exceed maximum block bytes ( #5431 )
2020-10-01 09:59:19 +02:00
Erik Grinaker and GitHub
2a0fa665fd
config: set statesync.rpc_servers when generating config file ( #5433 )
...
Required for #5291 , to generate configuration files with state sync RPC servers.
2020-10-01 04:21:11 +00:00
Erik Grinaker and GitHub
b0130b4661
privval: allow passing options to NewSignerDialerEndpoint ( #5434 )
...
Required for #5291 to set timeouts for remote signers.
2020-09-30 16:45:46 +00:00
Anton Kaliaev and GitHub
01c32c62e8
docs: specify TM version in go tutorials ( #5427 )
...
Closes https://github.com/tendermint/tendermint/issues/5425
2020-09-30 09:10:34 +00:00
Marko and GitHub
3e56eb5fe3
fix markdown linter ( #172 )
2020-09-29 14:23:40 +02:00
Callum Waters and GitHub
733b020899
evidence: update data structures ( #165 )
2020-09-29 14:05:44 +02:00
Anton Kaliaev and GitHub
99aea7b079
mempool: fix nil pointer dereference ( #5412 )
...
previously, the second next could return nil, which would be the reason
for panic on line 275:
memTx := next.Value.(*mempoolTx)
Closes #5408
2020-09-29 12:15:54 +04:00
Anton Kaliaev and GitHub
2672b91ab0
rpc/core: more docs and a test for /blockchain endpoint ( #5417 )
...
Closes #5339
2020-09-28 15:13:00 +00:00
Callum Waters and GitHub
4f79930c12
blockchain: remove duplication of validate basic ( #5418 )
2020-09-28 17:02:46 +02:00
Anton Kaliaev and GitHub
1635d1339c
state: more test cases for block validation ( #5415 )
...
Closes #2589
2020-09-28 11:57:35 +00:00
Marko and GitHub
9df66eaa7d
codecov: disable annotations ( #5413 )
2020-09-28 11:16:25 +02:00
Marko and GitHub
b802e9c9c3
docs: add explanation of p2p configuration options ( #5397 )
...
## Description
Add information on p2p settings in documentation
Closes: #XXX
2020-09-28 07:33:09 +00:00
Marko and GitHub
95367eaf51
blockchain/v1: add noBlockResponse handling ( #5401 )
...
## Description
Add simple `NoBlockResponse` handling to blockchain reactor v1. I tested before and after with erik's e2e testing and was not able to reproduce the inability to sync after the changes were applied
Closes : #5394
2020-09-28 07:20:54 +00:00
Erik Grinaker and GitHub
7eb4e5c0b1
docs: update state sync config with discovery_time ( #5405 )
2020-09-25 09:38:22 +00:00
Callum Waters and GitHub
f02987e7bc
simplify commit and validators rpc calls ( #5393 )
2020-09-25 11:19:04 +02:00
Andrey Kuprianov and GitHub
109a73f672
describe valset sorting according to v0.34 requirements ( #169 )
2020-09-25 09:22:14 +02:00