mergify[bot]
80f656d8d7
consensus: check proposal non-nil in prevote message delay metric (backport #7625 ) ( #7631 )
* consensus: check proposal non-nil in prevote message delay metric (#7625 )
(cherry picked from commit b6307c42e0
)
# Conflicts:
# consensus/state.go
* fix merge conflicts
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: William Banfield <wbanfield@gmail.com>
3 years ago
mergify[bot]
f36cc80568
consensus: calculate prevote message delay metric (backport #7551 ) ( #7617 )
* consensus: calculate prevote message delay metric (#7551 )
## What does this pull request do?
This pull requests adds two metrics intended for use in calculating an experimental value for `MessageDelay`.
The metrics are as follows:
```
# HELP tendermint_consensus_complete_prevote_message_delay Difference in seconds between the proposal timestamp and the timestamp of the prevote that achieved 100% of the voting power in the prevote step.
# TYPE tendermint_consensus_complete_prevote_message_delay gauge
tendermint_consensus_complete_prevote_message_delay{chain_id="test-chain-aZbwF1"} 0.013025505
# HELP tendermint_consensus_quorum_prevote_message_delay Difference in seconds between the proposal timestamp and the timestamp of the prevote that achieved a quorum in the prevote step.
# TYPE tendermint_consensus_quorum_prevote_message_delay gauge
tendermint_consensus_quorum_prevote_message_delay{chain_id="test-chain-aZbwF1"} 0.013025505
```
## Why this change?
For more information on what these metrics are calculating, see #7202 . The aim is to merge to backport these metrics to v0.34 and run nodes on a few popular chains with these metrics to determine the experimental values for `MessageDelay` on these popular chains and use these to select our default `SynchronyParams.MessageDelay` value.
## Why Gauges for the metrics?
Gauges allow us to overwrite the metric on each successive observation. We can then capture these metrics over time to track the highest and lowest observed value.
(cherry picked from commit 0c82ceaa5f
)
# Conflicts:
# consensus/metrics.go
# consensus/state.go
* fix merge conflicts
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: William Banfield <wbanfield@gmail.com>
3 years ago
dependabot[bot]
c477c810f3
build(deps): Bump github.com/prometheus/client_golang ( #7638 )
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.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>
3 years ago
dependabot[bot]
3757810247
build(deps): Bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 ( #7561 )
3 years ago
dependabot[bot]
3b467f951d
build(deps): Bump github.com/rs/cors from 1.8.0 to 1.8.2 ( #7483 )
Bumps [github.com/rs/cors](https://github.com/rs/cors ) from 1.8.0 to 1.8.2.
- [Release notes](https://github.com/rs/cors/releases )
- [Commits](https://github.com/rs/cors/compare/v1.8.0...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/rs/cors
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>
3 years ago
Marko
b14dc70664
Reduce p2p log noise ( #7465 )
* reduce some logs
* reduce error logs
* remove debug
3 years ago
dependabot[bot]
2cbb35f980
build(deps): Bump github.com/spf13/viper from 1.10.0 to 1.10.1 ( #7462 )
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
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>
3 years ago
dependabot[bot]
c9c570e151
build(deps): Bump google.golang.org/grpc from 1.42.0 to 1.43.0 ( #7454 )
* build(deps): Bump google.golang.org/grpc from 1.42.0 to 1.43.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
dependabot[bot]
e6700355f6
build(deps): Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 ( #7453 )
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
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>
3 years ago
dependabot[bot]
40f18b8d8f
build(deps): Bump github.com/adlio/schema from 1.2.2 to 1.2.3 ( #7431 )
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/adlio/schema/releases )
- [Commits](https://github.com/adlio/schema/compare/v1.2.2...v1.2.3 )
---
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>
3 years ago
dependabot[bot]
4d0b6e7c5a
build(deps): Bump github.com/spf13/viper from 1.9.0 to 1.10.0 ( #7433 )
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.9.0...v1.10.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
6695e525f9
build(deps): Bump github.com/adlio/schema from 1.1.15 to 1.2.2 ( #7421 )
* build(deps): Bump github.com/adlio/schema from 1.1.15 to 1.2.2
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.1.15 to 1.2.2.
- [Release notes](https://github.com/adlio/schema/releases )
- [Commits](https://github.com/adlio/schema/compare/v1.1.15...v1.2.2 )
---
updated-dependencies:
- dependency-name: github.com/adlio/schema
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update usage of Migrator API.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
dependabot[bot]
6eeb1b3a5d
build(deps): Bump github.com/adlio/schema from 1.1.14 to 1.1.15 ( #7405 )
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.1.14 to 1.1.15.
- [Release notes](https://github.com/adlio/schema/releases )
- [Commits](https://github.com/adlio/schema/compare/v1.1.14...v1.1.15 )
---
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>
3 years ago
mergify[bot]
cac59a7677
Update Mergify configuration. (backport #7388 ) ( #7389 )
Per https://docs.mergify.com/actions/merge/#commit-message , the
commit_message option is deprecated and will be removed in 2022.
Replace it with the template suggested here:
https://docs.mergify.com/actions/queue/
(cherry picked from commit 02d456b8b8
)
3 years ago
mergify[bot]
dfd5bae784
Update mergify configuration. (backport #7385 ) ( #7386 )
Per https://blog.mergify.com/strict-mode-deprecation/ , the strict mode
has been deprecated and will be turned off on 10-Jan-2022. This updates
the config to use the new, approved thing instead of the old thing.
(cherry picked from commit 2d4844f97f
)
3 years ago
M. J. Fromberger
41c176ccc6
Prepare release v0.34.15. ( #7371 )
3 years ago
mergify[bot]
05340ca069
cmd: add integration test for rollback functionality (backport #7315 ) ( #7368 )
* cmd: add integration test and fix bug in rollback command (#7315 )
(cherry picked from commit bca2080c01
)
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
3 years ago
M. J. Fromberger
9994396e59
pubsub: Report a non-nil error when shutting down. ( #7309 )
If a subscriber arrives while the pubsub service is shutting down, the existing
code will return a nil subscription without error. With unlucky timing, this
may lead to a nil indirection panic in the RPC service.
To avoid that problem, make sure that when a subscription fails for this
reason, we report a non-nil error so that the client will detect it and give up
gracefully.
3 years ago
dependabot[bot]
c4834df3f3
build(deps): Bump github.com/tendermint/tm-db from 0.6.4 to 0.6.6 ( #7286 )
Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db ) from 0.6.4 to 0.6.6.
- [Release notes](https://github.com/tendermint/tm-db/releases )
- [Changelog](https://github.com/tendermint/tm-db/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tendermint/tm-db/compare/v0.6.4...v0.6.6 )
---
updated-dependencies:
- dependency-name: github.com/tendermint/tm-db
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>
3 years ago
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>
3 years ago
dependabot[bot]
9ec863f948
build(deps): Bump github.com/lib/pq from 1.10.3 to 1.10.4 ( #7259 )
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Sam Kleinman
4ef140f6ca
lint: cleanup pending lint errors ( #7237 )
3 years ago
Sam Kleinman
61831cf5ef
codeowners: backport master codeowners ( #7229 )
3 years ago
Sam Kleinman
8a2dcbafae
ci: backport lint configuration changes ( #7225 )
3 years ago
dependabot[bot]
3e119fc6c4
build(deps): Bump github.com/spf13/cobra from 1.1.1 to 1.2.1 ( #7215 )
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Callum Waters
85870def7b
release: prepare changelog for 0.34.14 ( #7105 )
3 years ago
Callum Waters
ff2758b32e
dep: remove IAVL dependency (backport #6550 ) ( #7104 )
3 years ago
mergify[bot]
a82cb7dcda
Revert "abci: change client to use multi-reader mutexes ( #6306 )" (backport #7106 ) ( #7109 )
3 years ago
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>
3 years ago
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
)
3 years ago
mergify[bot]
16ba782fa6
cli: allow node operator to rollback last state (backport #7033 ) ( #7080 )
3 years ago
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 .
3 years ago
Callum Waters
2d8287d0f7
e2e: allow running of single node using the e2e app (backport) ( #7024 )
3 years ago
Sam Kleinman
294a9695b4
e2e: backport minor reliability improvements ( #6967 )
3 years ago
M. J. Fromberger
849461aab2
Release v0.34.13
https://github.com/tendermint/tendermint/blob/v0.34.13/CHANGELOG.md#v0.34.12
3 years ago
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.
3 years ago
Callum Waters
0f8932f4ef
light: fix early erroring ( #6905 )
3 years ago
Callum Waters
73ef2675ce
statesync: improve stateprovider handling in the syncer (backport) ( #6881 )
3 years ago