William Banfield
4ce9ef26c8
Update consensus/reactor.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
William Banfield
0e130f5e2c
change lock handling in consensus reactor
3 years ago
mergify[bot]
db60bbad54
statesync: assert app version matches (backport #7856 ) ( #7885 )
3 years ago
mergify[bot]
5487718cff
Restore building docs for master on docs.tendermint.com. ( #7969 ) ( #7970 )
There are a lot of existing links to the master section of the site, and my
attempts to get a redirector working have so far not succeeded. While it still
makes sense to not publish docs for unreleased code, a 404 is almost certainly
more disruptive than seeing docs for unreleased stuff.
This includes the docs in the build again, but does not add them back to the
selector menu. That allows URLs to resolve but encourages folks to use the
released versions when they have a choice.
I left the redirect for the RPC link in place, since that's still useful.
Updates #7935 .
(cherry picked from commit 926c469fcc
)
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
M. J. Fromberger
cf58c4191b
docs: fix cosmos theme version. ( #7967 )
The various package locks got out of sync, reunify them.
3 years ago
Callum Waters
ce70b10f81
docs: remove spec section from v0.34 docs ( #7940 )
3 years ago
mergify[bot]
98c75c9429
docs: redirect master links to the latest release version (backport #7936 ) ( #7953 )
* docs: redirect master links to the latest release version (#7936 )
(cherry picked from commit 70ee282d9e
)
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
mergify[bot]
9fe245025f
docs: Pin the RPC docs to v0.35 instead of master (backport #7909 ) ( #7910 )
* docs: Pin the RPC docs to v0.35 instead of master (#7909 )
(cherry picked from commit 3b20931da3
)
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
mergify[bot]
de423678eb
Remove master from the docs site version config. (backport #7874 ) ( #7902 )
* Remove master from the docs site version config. (#7874 )
(cherry picked from commit 351adf8ddb
)
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
M. J. Fromberger
6a14fc2105
Update absolute links in v0.34.x to reference that branch. ( #7871 )
3 years ago
mergify[bot]
89bb82617a
fix app hash in state rollback (backport #7837 ) ( #7881 )
When testing rollback feature in the Cosmos SDK, we found that the app hash
in Tendermint after rollback was the value after the latest block, rather than
before it.
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
Co-authored-by: yihuang <huang@crypto.com>
(cherry picked from commit 8a238fdcb4
)
Inline factory function that does not exist in this branch.
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
M. J. Fromberger
df9b1676f9
Remove ADR and RFC docs from the v0.34.x backport branch. ( #7867 )
3 years ago
dependabot[bot]
f88aad5903
build(deps): Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0 ( #7831 )
3 years ago
dependabot[bot]
75c6af7dcf
build(deps): Bump github.com/prometheus/client_golang ( #7730 )
3 years ago
dependabot[bot]
bc63f213da
build(deps): Bump google.golang.org/grpc from 1.43.0 to 1.44.0 ( #7694 )
3 years ago
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