William Banfield and GitHub
b2502b5e53
tooling: use go version 1.16 as minimum version ( #6642 )
2021-07-02 14:39:50 -04: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
Sam Kleinman and GitHub
9ffa7e8a2b
types: move NodeInfo from p2p ( #6618 )
2021-06-24 12:18:19 -04:00
Sam Kleinman and GitHub
ae5f98881b
p2p: make NodeID and NetAddress public ( #6583 )
2021-06-24 09:59:14 -04:00
Cuong Manh Le and GitHub
8d0c38257e
test/fuzz: fix wrong path for some p2p fuzzing packages ( #6580 )
...
Updates #6557
2021-06-15 08:18:11 +00:00
Cuong Manh Le and GitHub
10a41ae6c8
test/fuzz: fix wrong compile fuzzer command ( #6579 )
...
Updates #6557
2021-06-15 07:32:03 +00:00
Cuong Manh Le and GitHub
e79262415c
test/fuzz: add current fuzzing to oss-fuzz-build script ( #6576 )
...
Updates #6557
2021-06-15 05:11:23 +00:00
Cuong Manh Le and GitHub
66926d31ca
fuzz: initial support for fuzzing ( #6558 )
2021-06-14 10:19:57 +02: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
Marko and GitHub
7cc32f3f0f
docs: logger updates ( #6545 )
...
## Description
Update for logging changes
2021-06-07 13:31:02 +00: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
00c284d9d7
node: change package interface ( #6540 )
2021-06-04 11:36:30 -04:00
Aleksandr Bezobchuk and GitHub
7ec123c968
improvement: update TxInfo ( #6529 )
...
Remove `Context` from the `TxInfo` type and instead require the caller to pass a `Context` to `CheckTx` which is idiomatic.
closes : #6497
2021-06-02 13:53:57 +00:00
Aleksandr Bezobchuk and GitHub
1e4bc04cd6
mempool: v1 implementation ( #6466 )
2021-06-01 11:17:45 -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
Aleksandr Bezobchuk and GitHub
09a6ad7b1e
types: Refactor EventAttribute ( #6408 )
2021-04-30 09:27:51 -04:00
Callum Waters and GitHub
3c50c5a845
github actions: fix e2e-nightly-master.yml ( #6398 )
2021-04-28 12:22:18 +02:00
Callum Waters and GitHub
be2ac87ab0
e2e: split out nightly tests ( #6395 )
2021-04-27 21:34:08 +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
d36a5905a6
statesync: improve e2e test outcomes ( #6378 )
...
I believe that this, in my testing seems to help the e2e state-sync
tests complete more reliably, by fixing some potential, range-related
slice building, as well as the way the test app hashes snapshots.
Additionally, and I'm not sure if we want to do this, but I added this
hook to the reactor that re-sends the request for snapshots during the
retry. This helps in tests prevent systems from getting stuck, but I
think in reality, it might create more traffic, and operators would
just restart a state-syncing node to get a similar effect.
2021-04-21 16:00:15 +00:00
Callum Waters and GitHub
8e8de2b2fb
node: use db provider instead of mem db ( #6362 )
2021-04-16 19:07:18 +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
JayT106 and GitHub
ca7dbea05b
Set cache control in the HTTP-RPC response header ( #6265 )
2021-04-14 14:05:27 +02: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
Aleksandr Bezobchuk and GitHub
003f394512
rpc: index block events to support block event queries ( #6226 )
2021-03-22 11:47:35 -04: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
fa781e6bb7
e2e: fix light client generator ( #6236 )
2021-03-15 13:04:33 +01:00
Callum Waters and GitHub
6b4024ad75
fix e2e app test ( #6223 )
2021-03-10 10:32:51 +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
Callum Waters and GitHub
90fe178b52
mempool: don't return an error on checktx with the same tx ( #6199 )
2021-03-03 21:02:45 +01:00
Anton Kaliaev and GitHub
36d92cd0b6
test/fuzz: fix rpc, secret_connection and pex tests ( #6190 )
...
* test/fuzz: fix rpc, secret_connection and pex tests
- ignore empty data in rpc
- provide correct IP in pex
- spawn a goroutine for Write and do multiple Read(s)
* test/fuzz: fix init in pex test
* test/fuzz: assign NewServeMux to global var
* test/fuzz: only try to Unmarshal if blob is not empty
* run fuzz tests for PRs which modify fuzz tests themselves
* test/fuzz: move MakeSwitch into init
2021-03-02 17:30:06 +04:00
Anton Kaliaev and GitHub
089b314bdb
test/fuzz: fix PEX reactor test ( #6188 )
...
* test/fuzz: fix PEX reactor test
* .github: [fuzz] increase retention period for crashers
2021-03-01 20:18:51 +04:00
Marko and GitHub
e2384a00ce
privval: return errors on loadFilePV ( #6185 )
...
## Description
- return errors on `loadFilePv`
closes #6182
2021-03-01 09:10:09 +00:00
Anton Kaliaev and GitHub
e9e5026dac
rpc/client/http: drop endpoint arg from New and add WSOptions ( #6176 )
...
also
- replace `MaxReconnectAttempts`, `ReadWait`, `WriteWait` and `PingPeriod` options with `WSOptions` in `WSClient` (rpc/jsonrpc/client/ws_client.go).
- set default write wait to 10s for `WSClient`(rpc/jsonrpc/client/ws_client.go)
- unexpose `WSEvents`(rpc/client/http.go)
Closes #6162
2021-02-25 06:57:31 +00:00