Sam Kleinman and GitHub
77615b900f
e2e: wait for all nodes rather than just one ( #6892 )
2021-09-03 13:03:16 -04:00
Sam Kleinman and GitHub
21b5e5931a
e2e: skip light clients when waiting for height ( #6891 )
2021-09-03 10:19:15 -04:00
Callum Waters and GitHub
bda948e814
statesync: implement p2p state provider ( #6807 )
2021-09-02 13:19:18 +02:00
Sam Kleinman and GitHub
9a0081f076
e2e: change restart mechanism ( #6883 )
2021-09-01 12:49:45 -04:00
Sam Kleinman and GitHub
7169d26ddf
e2e: more reliable method for selecting node to inject evidence ( #6880 )
...
In retrospect my previous implementation of this node, could get
unlucky and never find the correct node. This method is more reliable.
2021-08-31 21:56:06 +00:00
Sam Kleinman and GitHub
6e921f6644
p2p: change default to use new stack ( #6862 )
...
This is just a configuration change to default to using the new stack
unless explicitly disabled (e.g. `UseLegacy`) this renames the
configuration value and makes the configuration logic more clear.
The legacy option is good to retain as a fallback if the new stack has
issues operationally, but we should make sure that most of the time
we're using the new stack.
2021-08-25 17:33:38 +00:00
Sam Kleinman and GitHub
9c8379ef30
e2e: more consistent node selection during tests ( #6857 )
...
In the transaction load generator, the e2e test harness previously distributed load randomly to hosts, which was a source of test non-determinism. This change distributes the load generation to the different nodes in the set in a round robin fashion, to produce more reliable results, but does not otherwise change the behavior of the test harness.
2021-08-25 12:24:01 +00:00
Sam Kleinman and GitHub
a374f74f7c
e2e: cleanup node start function ( #6842 )
...
I realized after my last commit that my change made a following line of code a bit redundant.
(alternatively my last change was redunadnt to the existing code.)
I took this oppertunity to make some minor cleanups and logging changes to the node changes which I hope will make tests a bit more clear.
2021-08-20 17:26:04 +00:00
Sam Kleinman and GitHub
a4cc8317da
e2e: avoid starting nodes from the future ( #6835 )
2021-08-18 14:33:28 -04:00
M. J. Fromberger and GitHub
8f06e0c9e7
cleanup: remove redundant error plumbing ( #6778 )
...
This is a mostly-automated fixup using Comby (https://comby.dev ) to remove
lexically-obvious redundant error checks. No functional changes are intended.
To reproduce the core change:
# Collapse redundant error check conditionals
% comby -in-place 'if err != nil {
return err
}
return nil' 'return err' .go
# Fold out unnecessary error temporaries
% comby -in-place ':[spc~^\s*]err :[~:?]= :[any]
return err' ':[spc]return :[any]' .go
Fixes #6479 and related cases.
2021-07-28 15:38:46 -04:00
Callum Waters and GitHub
6ff4c3139c
blockchain: rename to blocksync service ( #6755 )
2021-07-28 17:25:42 +02:00
Callum Waters and GitHub
97a8f125e0
e2e: allow for both v0 and v1 mempool implementations ( #6752 )
2021-07-22 17:59:02 +02:00
Sam Kleinman and GitHub
7638235d33
e2e: longer test harness timeouts ( #6728 )
2021-07-20 15:57:48 -04:00
Callum Waters and GitHub
6dd0cf92c8
router/statesync: add helpful log messages ( #6724 )
2021-07-15 19:26:35 +02:00
Sam Kleinman and GitHub
8addf99f90
e2e: tweak sleep for pertubations ( #6723 )
...
This tweaks sleeps around pertubations, based on a theory that our
tests with "kill" pertubations restart the nodes fast enough the peers
haven't marked it down when it tries to reconnect. In my local test
runs, this clears out *most* of the test failures that I've seen,
except for one evidence-related test-harness problem (which should be
handled separately.)
2021-07-14 21:07:25 +00:00
Callum Waters and GitHub
36a859ae54
e2e: ensure evidence validator set matches nodes validator set ( #6712 )
2021-07-13 19:47:36 +02:00
Sam Kleinman and GitHub
8228936155
e2e: extend timeouts in test harness ( #6694 )
2021-07-13 11:28:07 -04:00
Sam Kleinman and GitHub
cd248576ea
e2e: remove colorized output from docker-compose ( #6670 )
2021-07-08 12:54:13 +00:00
Callum Waters and GitHub
9d9360774f
adjust tx load ( #6681 )
2021-07-08 14:22:50 +02:00
Callum Waters and GitHub
800cce80b7
e2e: allow variable tx size ( #6659 )
2021-07-07 12:59:27 +02:00
Marko and GitHub
0e9bec1b53
pkg: expose p2p functions ( #6627 )
...
## Description
Expose p2p functions for use in the sdk.
These functions could also be copied over to the sdk. I dont have a preference of which is better.
2021-07-02 15:04:42 +00:00
Callum Waters and GitHub
74af343f28
statesync: tune backfill process ( #6565 )
...
This PR make some tweaks to backfill after running e2e tests:
- Separates sync and backfill as two distinct processes that the node calls. The reason is because if sync fails then the node should fail but if backfill fails it is still possible to proceed.
- Removes peers who don't have the block at a height from the local peer list. As the process goes backwards if a node doesn't have a block at a height they're likely pruning blocks and thus they won't have any prior ones either.
- Sleep when we've run out of peers, then try again.
2021-06-11 15:26:18 +00:00
Callum Waters and GitHub
2c81638787
e2e: fix looping problem while waiting ( #6568 )
2021-06-11 14:47:55 +02:00
Callum Waters and GitHub
6f6ac5c04e
state sync: reverse sync implementation ( #6463 )
2021-06-08 19:23:52 +02:00
Sam Kleinman and GitHub
a855f96946
p2p: renames for reactors and routing layer internal moves ( #6547 )
2021-06-08 08:17:09 -04:00
Aleksandr Bezobchuk and GitHub
3635c7a382
logger: refactor Tendermint logger by using zerolog ( #6534 )
2021-06-07 08:30:48 -04:00
Sam Kleinman and GitHub
7bf84d9d7f
config: seperate priv validator config into seperate section ( #6462 )
...
Addresses a beginning component of #6255
2021-05-31 13:16:46 +00:00
Sam Kleinman and GitHub
e2a26c732c
e2e: prevent non-viable testnets ( #6486 )
2021-05-24 14:10:56 -04:00
Sam Kleinman and GitHub
fa891c5a4b
node: cleanup pex initialization ( #6467 )
2021-05-14 10:05:59 -04:00
Callum Waters and GitHub
a91680efee
test: create common functions for easily producing tm data structures ( #6435 )
2021-05-07 17:00:02 +02:00
Callum Waters and GitHub
ec5e3b0b02
p2p: wire pex v2 reactor to router ( #6407 )
2021-05-05 18:46:51 +02:00
Callum Waters and GitHub
5bafedff17
evidence: fix bug with hashes ( #6375 )
2021-04-21 18:50:39 +02:00
Sam Kleinman and GitHub
4d03d7516b
test/e2e: produce structured reporting from benchmarks ( #6343 )
2021-04-14 10:12:46 -04:00
Aleksandr Bezobchuk and GitHub
47b28fd6aa
p2p: minor cleanup + update router options ( #6353 )
2021-04-14 09:35:43 -04:00
Callum Waters and GitHub
2b8aa65e4f
e2e: tx load to use broadcast sync instead of commit ( #6347 )
2021-04-13 17:59:15 +02:00
Sam Kleinman and GitHub
0f41f7465c
p2p: extend e2e tests for new p2p framework ( #6323 )
2021-04-08 11:09:21 -04:00
Callum Waters and GitHub
358d1a28b8
node: remove mode defaults. Make node mode explicit ( #6282 )
2021-04-02 09:31:25 +02:00
Callum Waters and GitHub
cbae3613dd
e2e: add evidence generation and testing ( #6276 )
2021-03-29 20:00:20 +02:00
Aleksandr Bezobchuk and GitHub
a554005136
p2p: revised router message scheduling ( #6126 )
2021-03-25 16:58:46 -04:00
Callum Waters and GitHub
7d53cb232c
e2e: fix perturbation of seed nodes ( #6272 )
2021-03-25 15:50:27 +01:00
9f7051d38a
node: implement tendermint modes ( #6241 )
...
Co-authored-by: dongsam <dongsamb@gmail.com >
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
2021-03-18 11:17:53 +01:00
Callum Waters and GitHub
418e2c140f
e2e: integrate light clients ( #6196 )
2021-03-05 14:24:45 +01:00
Callum Waters and GitHub
0566bea8b2
e2e: add benchmarking functionality ( #6210 )
2021-03-05 13:26:18 +01:00
Aleksandr Bezobchuk and GitHub
be88fd3e63
mempool/rpc: log grooming ( #6201 )
2021-03-03 19:45:35 -05:00
Callum Waters and GitHub
cab10db725
e2e: adjust timeouts to be dynamic to size of network ( #6202 )
2021-03-03 18:41:07 -05:00
Erik Grinaker and GitHub
b6be889b97
node: feature flag for legacy p2p support ( #6056 )
2021-02-16 11:57:16 -05:00
Callum Waters and GitHub
d4b04776bd
e2e: disconnect maverick ( #6099 )
2021-02-11 15:09:57 -05:00
Callum Waters and GitHub
162f67cf26
correct spelling to US english ( #6077 )
2021-02-11 18:59:18 +01:00
Anton Kaliaev and GitHub
b1646e51e2
test/e2e: enable pprof server to help debugging failures ( #6003 )
2021-01-28 15:21:07 +00:00
Anton Kaliaev and GitHub
a54f1544f8
.github: rename crashers output (fuzz-nightly-test) ( #5993 )
2021-01-28 19:12:48 +04:00