Thane Thomson
12e3419f2b
rpc: Add experimental config params to allow for subscription buffer size control (tm v0.34.x) ( #7230 )
...
A workaround for #6729 . Add parameters to control buffer sizes for
event subscription RPC clients. On some networks, buffering causes
clients to be dropped and/or events to be lost.
For additional context, see the discussion on #7188 .
- Add experimental_subscription_buffer_size config parameter
- Add experimental_websocket_write_buffer_size config parameter
- Add experimental_close_on_slow_client config parameter
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2021-11-09 12:35:45 -08:00
dependabot[bot]
9ec863f948
build(deps): Bump github.com/lib/pq from 1.10.3 to 1.10.4 ( #7259 )
2021-11-09 12:47:41 +01:00
dependabot[bot]
d0031b0503
build(deps): Bump github.com/go-kit/kit from 0.10.0 to 0.12.0 ( #7213 )
...
* build(deps): Bump github.com/go-kit/kit from 0.10.0 to 0.12.0
Bumps [github.com/go-kit/kit](https://github.com/go-kit/kit ) from 0.10.0 to 0.12.0.
- [Release notes](https://github.com/go-kit/kit/releases )
- [Commits](https://github.com/go-kit/kit/compare/v0.10.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/go-kit/kit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* add nolint
* fix lint
* fix build
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tycho garen <garen@tychoish.com >
2021-11-08 14:39:00 -05:00
dependabot[bot]
d35b50b528
build(deps): Bump github.com/spf13/viper from 1.7.1 to 1.9.0 ( #7211 )
...
* build(deps): Bump github.com/spf13/viper from 1.7.1 to 1.9.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.7.1 to 1.9.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.7.1...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* add nolint
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tycho garen <garen@tychoish.com >
2021-11-08 14:19:54 -05:00
dependabot[bot]
bd48acb2ca
build(deps): Bump google.golang.org/grpc from 1.38.0 to 1.42.0 ( #7232 )
...
* build(deps): Bump google.golang.org/grpc from 1.38.0 to 1.42.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.38.0 to 1.42.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.38.0...v1.42.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix Unix-domain socket paths.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
Co-authored-by: tycho garen <garen@tychoish.com >
2021-11-08 12:39:15 -05:00
dependabot[bot]
0b835bea7a
build(deps): Bump github.com/minio/highwayhash from 1.0.1 to 1.0.2 ( #7234 )
...
Bumps [github.com/minio/highwayhash](https://github.com/minio/highwayhash ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/minio/highwayhash/releases )
- [Commits](https://github.com/minio/highwayhash/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: github.com/minio/highwayhash
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-05 11:35:05 +01:00
dependabot[bot]
12ecfb0383
build(deps): Bump github.com/prometheus/client_golang ( #7233 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.8.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.8.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-04 17:48:23 +01:00
dependabot[bot]
3e7fc468e4
build(deps): Bump github.com/Workiva/go-datastructures ( #7236 )
...
Bumps [github.com/Workiva/go-datastructures](https://github.com/Workiva/go-datastructures ) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/Workiva/go-datastructures/releases )
- [Commits](https://github.com/Workiva/go-datastructures/compare/v1.0.52...v1.0.53 )
---
updated-dependencies:
- dependency-name: github.com/Workiva/go-datastructures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-04 15:36:27 +01:00
dependabot[bot]
113118ec00
build(deps): Bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1 ( #7235 )
...
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml ) from 0.3.1 to 0.4.1.
- [Release notes](https://github.com/BurntSushi/toml/releases )
- [Commits](https://github.com/BurntSushi/toml/compare/v0.3.1...v0.4.1 )
---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-04 09:18:51 -04:00
Sam Kleinman
4ef140f6ca
lint: cleanup pending lint errors ( #7237 )
2021-11-04 08:08:55 -04:00
Sam Kleinman
61831cf5ef
codeowners: backport master codeowners ( #7229 )
2021-11-03 12:49:01 -04:00
Sam Kleinman
8a2dcbafae
ci: backport lint configuration changes ( #7225 )
2021-11-03 12:43:22 -04:00
dependabot[bot]
3e119fc6c4
build(deps): Bump github.com/spf13/cobra from 1.1.1 to 1.2.1 ( #7215 )
2021-11-03 16:57:32 +01:00
dependabot[bot]
f721bf5154
build(deps): Bump github.com/btcsuite/btcd ( #7209 )
...
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd ) from 0.21.0-beta to 0.22.0-beta.
- [Release notes](https://github.com/btcsuite/btcd/releases )
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES )
- [Commits](https://github.com/btcsuite/btcd/compare/v0.21.0-beta...v0.22.0-beta )
---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 11:15:23 -04:00
dependabot[bot]
3567d3ab38
build(deps): Bump github.com/rs/cors from 1.7.0 to 1.8.0 ( #7208 )
...
Bumps [github.com/rs/cors](https://github.com/rs/cors ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/rs/cors/releases )
- [Commits](https://github.com/rs/cors/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/rs/cors
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 11:14:55 -04:00
dependabot[bot]
46a6691e11
build(deps): Bump github.com/golang/protobuf from 1.5.0 to 1.5.2 ( #7207 )
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/golang/protobuf/releases )
- [Commits](https://github.com/golang/protobuf/compare/v1.5.0...v1.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 11:14:41 -04:00
dependabot[bot]
876b3c0dbe
build(deps): Bump github.com/adlio/schema from 1.1.13 to 1.1.14 ( #7212 )
...
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.1.13 to 1.1.14.
- [Release notes](https://github.com/adlio/schema/releases )
- [Commits](https://github.com/adlio/schema/compare/v1.1.13...v1.1.14 )
---
updated-dependencies:
- dependency-name: github.com/adlio/schema
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 10:23:19 -04:00
dependabot[bot]
31b3e279fc
build(deps): Bump github.com/go-logfmt/logfmt from 0.5.0 to 0.5.1 ( #7214 )
...
Bumps [github.com/go-logfmt/logfmt](https://github.com/go-logfmt/logfmt ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/go-logfmt/logfmt/releases )
- [Changelog](https://github.com/go-logfmt/logfmt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-logfmt/logfmt/compare/v0.5.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: github.com/go-logfmt/logfmt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 10:22:26 -04:00
Callum Waters
85870def7b
release: prepare changelog for 0.34.14 ( #7105 )
v0.34.14
2021-10-13 10:47:16 +02:00
Callum Waters
ff2758b32e
dep: remove IAVL dependency (backport #6550 ) ( #7104 )
2021-10-12 18:09:08 +02:00
mergify[bot]
a82cb7dcda
Revert "abci: change client to use multi-reader mutexes ( #6306 )" (backport #7106 ) ( #7109 )
2021-10-12 18:00:22 +02:00
mergify[bot]
1dfb3451ea
e2e: light nodes should use builtin abci app ( #7095 ) ( #7096 )
...
(cherry picked from commit befd669794 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-10-09 00:32:41 -04:00
mergify[bot]
9f13b9b083
e2e: abci protocol should be consistent across networks (backport #7078 ) ( #7085 )
...
* e2e: abci protocol should be consistent across networks (#7078 )
It seems weird in retrospect that we allow networks to contain
applications that use different ABCI protocols.
(cherry picked from commit f2a8f5e054 )
2021-10-08 10:37:12 -04:00
mergify[bot]
16ba782fa6
cli: allow node operator to rollback last state (backport #7033 ) ( #7080 )
2021-10-08 14:35:13 +02:00
M. J. Fromberger
474ed04273
Import Postgres driver support for the psql indexer (backport). ( #7057 )
...
I accidentally omitted this from the backport in #6906 .
Fixes #7043 .
2021-10-04 16:40:12 -07:00
Callum Waters
2d8287d0f7
e2e: allow running of single node using the e2e app (backport) ( #7024 )
2021-09-29 16:17:32 +02:00
Sam Kleinman
294a9695b4
e2e: backport minor reliability improvements ( #6967 )
2021-09-21 17:29:56 -04:00
M. J. Fromberger
849461aab2
Release v0.34.13
...
https://github.com/tendermint/tendermint/blob/v0.34.13/CHANGELOG.md#v0.34.12
v0.34.13
2021-09-08 15:09:15 -04:00
M. J. Fromberger
8ba6d218e4
Backport the psql indexer into v0.34.x ( #6906 )
...
This change backports the PostgreSQL indexing sink, addressing part of #6828 .
Development on the main branch has diverged substantially since the v0.34.x
release. It includes package moves, breaking API and protobuf schema changes,
and new APIs, all of which together have a large footprint on the mapping
between the implementation at tip and the v0.34 release branch.
To avoid the need to retrofit all of those improvements, this change works by
injecting the new indexing sink into the existing (v0.34) indexing interfaces
by delegation. This means the backport does _not_ pull in all the newer APIs
for event handling, and thus has minimal impact on existing code written
against the v0.34 package structure.
This change includes the test for the `psql` implementation, and thus updates
some Go module dependencies. Because it does not interact with any other types,
however, I did not add any unit tests to other packages in this change.
Related changes:
* Update module dependencies for psql backport.
* Update test data to be type-compatible with the old protobuf types.
* Add config settings for the PostgreSQL indexer.
* Clean up some linter settings.
* Hook up the psql indexer in the node main.
2021-09-07 18:57:44 -04:00
Callum Waters
0f8932f4ef
light: fix early erroring ( #6905 )
2021-09-07 12:02:16 +02:00
Callum Waters
73ef2675ce
statesync: improve stateprovider handling in the syncer (backport) ( #6881 )
2021-09-01 16:18:07 +02:00
mergify[bot]
e0c6199aae
abci: change client to use multi-reader mutexes (backport #6306 ) ( #6873 )
2021-08-30 11:57:39 -04:00
mergify[bot]
0c05841902
internal/consensus: update error log ( #6863 ) ( #6867 )
...
Issues reported in Osmosis, where the message is extremely long. Also, there is absolutely no reason to log the message IMO. If we must, we can make the message log DEBUG.
(cherry picked from commit 58a6cfff9a )
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
2021-08-26 09:35:26 -04:00
mergify[bot]
4023580a25
e2e: cleanup node start function ( #6842 ) ( #6848 )
...
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.
(cherry picked from commit a374f74f7c )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-08-20 16:12:13 -04:00
mergify[bot]
2db1e422d8
e2e: avoid starting nodes from the future ( #6835 ) ( #6838 )
...
(cherry picked from commit a4cc8317da )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-08-18 14:42:27 -04:00
William Banfield
093961ae2d
test: install abci-cli when running make tests_integrations ( #6834 )
2021-08-17 11:46:09 -04:00
Tess Rinearson
d030cddca0
version: bump for 0.34.12 ( #6832 )
v0.34.12
2021-08-17 16:37:25 +02:00
Tess Rinearson
3dff227c5b
changelog: prepare for v0.34.12 ( #6831 )
2021-08-17 16:18:15 +02:00
Tess Rinearson
e290bd624f
changelog_pending: add missing entry ( #6830 )
2021-08-17 16:05:36 +02:00
mergify[bot]
0366c2b688
rpc: log update (backport #6825 ) ( #6826 )
2021-08-14 09:54:02 -04:00
mergify[bot]
6fde228e9d
state/privval: vote timestamp fix (backport #6748 ) ( #6783 )
2021-07-30 17:48:49 +02:00
mergify[bot]
b69ac23fd2
light: add case to catch cancelled contexts within the detector (backport #6701 ) ( #6720 )
2021-07-14 15:26:03 +02:00
mergify[bot]
da9eefd111
rpc: add chunked rpc interface (backport #6445 ) ( #6717 )
...
* rpc: add chunked rpc interface (#6445 )
(cherry picked from commit d9134063e7 )
# Conflicts:
# light/proxy/routes.go
# node/node.go
# rpc/core/net.go
# rpc/core/routes.go
* fix conflicts
Co-authored-by: Sam Kleinman <garen@tychoish.com >
Co-authored-by: marbar3778 <marbar3778@yahoo.com >
2021-07-14 09:22:53 +00:00
Callum Waters
2c2f511f24
light: correctly handle contexts (backport -> v0.34.x) ( #6685 )
2021-07-09 14:30:33 +02:00
Callum Waters
8b84c7c168
e2e: disable app tests for light client ( #6672 )
2021-07-07 20:06:55 +02:00
mergify[bot]
0712063ec8
config: add example on external_address (backport #6621 ) ( #6624 )
2021-06-30 15:52:19 +02:00
Callum Waters
c2908ef785
release: prepare changelog for v0.34.11 ( #6597 )
v0.34.11
2021-06-18 11:44:39 +02:00
Callum Waters
d515bbcf1d
statesync: increase chunk priority and robustness ( #6582 )
2021-06-18 09:59:52 +02:00
mergify[bot]
be8c9833ca
state sync: tune request timeout and chunkers (backport #6566 ) ( #6581 )
...
* state sync: tune request timeout and chunkers (#6566 )
(cherry picked from commit 7d961b55b2 )
# Conflicts:
# CHANGELOG_PENDING.md
# config/config.go
# internal/statesync/reactor.go
# internal/statesync/reactor_test.go
# node/node.go
# statesync/syncer.go
* fix build
* fix config
* fix config
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com >
2021-06-15 15:10:16 -04:00
mergify[bot]
358b1f23c0
p2p/conn: check for channel id overflow before processing receive msg (backport #6522 ) ( #6528 )
...
* p2p/conn: check for channel id overflow before processing receive msg (#6522 )
Per tendermint spec, each Channel has a globally unique byte id, which
is mapped to uint8 in Go. However, the proto PacketMsg.ChannelID field
is declared as int32, and when receive the packet, we cast it to a byte
without checking for possible overflow. That leads to a malform packet
with invalid channel id is sent successfully.
To fix it, we just add a check for possible overflow, and return invalid
channel id error.
Fixed #6521
(cherry picked from commit 1f46a4c90e )
2021-06-04 20:20:36 -04:00