mergify[bot]
6321ef2936
logging: implement lazy sprinting (backport #8898 ) ( #9110 )
...
(cherry picked from commit 48147e1fb9 )
2022-08-01 12:23:47 -04:00
mergify[bot]
c76639b5e9
Improve handling of -short flag in tests ( #9075 ) ( #9127 )
...
As a small developer quality of life improvement, I found many individual unit tests that take longer than around a second to complete, and set them to skip when run under `go test -short`.
On my machine, the wall timings for tests (with `go test -count=1 ./...` and optionally `-short` and `-race`) are roughly:
- Long tests, no race detector: about 1m42s
- Short tests, no race detector: about 17s
- Long tests, race detector enabled: about 2m1s
- Short tests, race detector enabled: about 28s
This PR is split into many commits each touching a single package, with commit messages detailing the approximate timing change per package.
(cherry picked from commit d433ebe68d )
Co-authored-by: Mark Rushakoff <mark.rushakoff@gmail.com >
2022-07-29 18:11:42 -04:00
dependabot[bot]
c287a94153
build(deps): Bump github.com/creachadair/tomledit from 0.0.22 to 0.0.23 ( #9088 )
...
Bumps [github.com/creachadair/tomledit](https://github.com/creachadair/tomledit ) from 0.0.22 to 0.0.23.
- [Release notes](https://github.com/creachadair/tomledit/releases )
- [Commits](https://github.com/creachadair/tomledit/compare/v0.0.22...v0.0.23 )
---
updated-dependencies:
- dependency-name: github.com/creachadair/tomledit
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>
2022-07-25 06:36:26 -07:00
dependabot[bot]
cc435de365
build(deps): Bump docker/build-push-action from 3.0.0 to 3.1.0 ( #9083 )
2022-07-25 14:58:54 +02:00
mergify[bot]
10b20cb848
Documentation: update go tutorials ( #9048 ) ( #9081 )
2022-07-25 11:05:44 +02:00
dependabot[bot]
b8101360c7
build(deps): Bump github.com/golangci/golangci-lint ( #9072 )
2022-07-25 10:35:57 +02:00
dependabot[bot]
e3b248d57c
build(deps): Bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 ( #9065 )
...
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/BurntSushi/toml/releases )
- [Commits](https://github.com/BurntSushi/toml/compare/v1.1.0...v1.2.0 )
---
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>
2022-07-21 09:19:05 -04:00
M. J. Fromberger
8e9ae68459
Fix unbounded heap growth in the priority mempool. ( #9058 )
...
This is a manual forward-port of #8944 and related fixes from v0.35.x.
One difference of note is that the CheckTx response messages no longer have a
field to record an error from the ABCI application. The code is set up so that
these could be reported directly to the CheckTx caller, but it would be an API
change, and right now a bunch of test plumbing depends on the existing semantics.
Also fix up tests relying on implementation-specific mempool behavior.
- Commit was setting the expected mempool size incorrectly.
- Fix sequence test not to depend on the incorrect size.
2022-07-20 15:53:55 -07:00
dependabot[bot]
7798489a3a
build(deps): Bump github.com/golangci/golangci-lint ( #9046 )
2022-07-20 12:27:00 +02:00
dependabot[bot]
71a92c12ef
build(deps): Bump github.com/golangci/golangci-lint ( #9039 )
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.46.2 to 1.47.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.46.2...v1.47.0 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
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>
2022-07-19 06:56:34 -07:00
mergify[bot]
77075a6ad4
Updated potential errors in abci.md ( #9003 ) ( #9031 )
...
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com >
(cherry picked from commit 48f3062d9d )
Co-authored-by: Rishabh Goel <36698583+Coder-RG@users.noreply.github.com >
2022-07-18 13:48:11 +02:00
mergify[bot]
25976c8fbc
migration: scope key migration to stores ( #9005 ) ( #9028 )
...
(cherry picked from commit cc07318866 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-16 09:27:04 -04:00
mergify[bot]
a2ca86a107
Extract a library from the confix command-line tool. ( #9012 ) ( #9024 )
...
(cherry picked from commit 18b5a500da )
Pull out the library functionality from scripts/confix and move it to
internal/libs/confix. Replace scripts/confix with a simple stub that has the
same command-line API, but uses the library instead.
Related:
- Move and update unit tests.
- Move scripts/confix/condiff to scripts/condiff.
- Update test data for v34, v35, and v36.
- Update reference diffs.
- Update testdata README.
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2022-07-15 08:50:38 -07:00
dependabot[bot]
6e7f5e1893
build(deps): Bump github.com/prometheus/common from 0.36.0 to 0.37.0 ( #9016 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
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: Sam Kleinman <garen@tychoish.com >
2022-07-15 10:38:18 -04:00
dependabot[bot]
7ff305a97c
build(deps): Bump pgregory.net/rapid from 0.4.7 to 0.4.8 ( #9017 )
...
Bumps [pgregory.net/rapid](https://github.com/flyingmutant/rapid ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/flyingmutant/rapid/releases )
- [Commits](https://github.com/flyingmutant/rapid/compare/v0.4.7...v0.4.8 )
---
updated-dependencies:
- dependency-name: pgregory.net/rapid
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>
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-15 10:02:53 -04:00
mergify[bot]
b1fbd37226
typo ( #9001 ) ( #9019 )
...
(cherry picked from commit 31457ad361 )
Co-authored-by: Sergio Mena <sergio@informal.systems >
2022-07-15 14:03:29 +02:00
mergify[bot]
a10078fab2
config: update config to reflect simple-priority queue ( #9007 ) ( #9009 )
...
Update the queue documentation to reflect the types of queues and current default queue.
(cherry picked from commit c1c501ecd4 )
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-07-14 16:55:04 -04:00
mergify[bot]
318c3028f2
mempool: return error when mempool is full and inbound tx is rejected ( #8942 ) ( #8952 )
...
Addresses: https://github.com/tendermint/tendermint/issues/8928
(cherry picked from commit 27c523dccb )
2022-07-14 06:17:44 -07:00
dependabot[bot]
b48ef893ec
build(deps): Bump google.golang.org/grpc from 1.47.0 to 1.48.0 ( #8994 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.47.0...v1.48.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: Sam Kleinman <garen@tychoish.com >
2022-07-13 13:17:01 -04:00
dependabot[bot]
e5114de7ac
build(deps): Bump github.com/prometheus/common from 0.35.0 to 0.36.0 ( #8995 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
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: Sam Kleinman <garen@tychoish.com >
2022-07-13 11:53:57 -04:00
mergify[bot]
2787329e5f
doc: fix typos in quick-start.md. ( #8990 ) ( #8998 )
...
(cherry picked from commit b71ec8c83f )
Co-authored-by: kuniseichi <kuniseichi@gmail.com >
2022-07-13 07:12:48 -07:00
mergify[bot]
b2d4b9ffef
p2p: switch default queue implementation (backport #8976 ) ( #8981 )
2022-07-12 13:18:36 -04:00
mergify[bot]
6ad10114a8
p2p: make p2p.Channel an interface ( #8967 ) ( #8977 )
...
This is (#8446 ) pulled from the `main/libp2p` branch but without any
of the libp2p content, and is perhaps the easiest first step to enable
pluggability at the peer layer, and makes it possible hoist shims
(including for, say 0.34) into tendermint without touching the reactors.
(cherry picked from commit d5fb82e414 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-12 07:51:48 -04:00
mergify[bot]
5fc52c7d8e
p2p: make peer gossiping coinflip safer ( #8949 ) ( #8964 )
...
Closes #8948
(cherry picked from commit 61ce384d75 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-08 12:26:21 -04:00
mergify[bot]
df61cf0899
p2p: delete cruft ( #8958 ) ( #8960 )
...
I think the decision in #8806 is that we shouldn't do this yet, so I think it's best to just drop this.
(cherry picked from commit 636320f901 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-07 15:18:29 -04:00
mergify[bot]
deb30f06c1
p2p: simpler priority queue ( #8929 ) ( #8957 )
...
(cherry picked from commit d1a16e8ff0 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-07 12:39:51 -04:00
Sergio Mena
1c719813ca
Remove references to "same-block execution" in ABCI++ specification and protobufs ( #8937 )
...
* Changes to spec
* Changes to proto-bufs
* make proto-gen
* Remove typo
2022-07-07 13:13:58 +02:00
mergify[bot]
38b671a294
Work around indexing problem for duplicate transactions (forward port: #8625 ) ( #8945 ) ( #8951 )
...
Port the bug fix terra-money#76 to upstream. This is critical for ethermint json-rpc to work.
fix: prevent duplicate tx index if it succeeded before
fix: use CodeTypeOk instead of 0
fix: handle duplicate txs within the same block
Co-authored-by: jess jesse@soob.co
ref: #5281
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
(cherry picked from commit be6d74e657 )
Co-authored-by: yihuang <huang@crypto.com >
2022-07-06 14:33:26 -04:00
dependabot[bot]
e9ae5305e2
build(deps): Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 ( #8816 )
2022-07-06 09:51:35 -07:00
dependabot[bot]
b462929e4f
build(deps): Bump github.com/libp2p/go-buffer-pool from 0.0.2 to 0.1.0 ( #8934 )
2022-07-05 11:55:53 +02:00
mergify[bot]
c9b2a0f401
Restore Commit to the ABCI++ spec, and other late modifications (backport #8796 ) ( #8936 )
...
* Restore `Commit` to the ABCI++ spec, and other late modifications (#8796 )
* Added VoteExtensionsEnableHeight
* Fix reference to `modified`
* Removed old pseudo-code, now included in spec
* Removed markdown warnings in abci++_basic_concepts_002_draft.md
* Restored `Commit` in the Methods section
* Addressed remaining markdown warnings
* Revisited intro and basic concepts section
* Extra pass at all spec sections to recover Commit, and other ABCI++ spec modifications
* Fixed links
* make proto-gen
* Remove _primes_ from spec notation
* Update proto/tendermint/abci/types.proto
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* Addressed @cmwaters' comments
* Addressed @angbrav's and @mpoke's comments on spec
* make proto-gen
* Fix MD anchor reference
* Clarify throughout the spec when `ProcessProposal` and `VerifyVoteExtension` are called
* Update spec/abci++/abci++_app_requirements_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_app_requirements_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_app_requirements_002_draft.md
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
* Update spec/abci++/abci++_methods_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
* Addresed comments
* Renamed 'draft' files
* Adatped links to new filenames
* Fixed links and minor cosmetic changes
* Renamed 'byzantine_validators' to 'misbehavior' in ABCI++ spec and protobufs
* make proto-gen
* Renamed 'byzantine_validators' to 'misbehavior' in the code
* Fixed link
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_basic_concepts.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update spec/abci++/abci++_methods.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Addressed @cason's comments
* Clarified conditions for `ProcessProposal` call at proposer
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
Co-authored-by: Daniel <daniel.cason@usi.ch >
(cherry picked from commit 331860c2a8 )
# Conflicts:
# docs/rfc/rfc-013-abci++.md
# docs/tools/debugging/proposer-based-timestamps-runbook.md
* Fixed merge conflicts
Co-authored-by: Sergio Mena <sergio@informal.systems >
2022-07-04 20:19:24 +02:00
mergify[bot]
7e2defb24a
p2p: fix typo ( #8922 ) ( #8927 )
...
Fix minor typos in peermanager
(cherry picked from commit 1d96faa35a )
Co-authored-by: Ian Jungyong Um <31336310+code0xff@users.noreply.github.com >
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-01 10:26:12 -04:00
dependabot[bot]
def3c2270c
build(deps): Bump github.com/vektra/mockery/v2 from 2.13.1 to 2.14.0 ( #8926 )
...
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery ) from 2.13.1 to 2.14.0.
- [Release notes](https://github.com/vektra/mockery/releases )
- [Changelog](https://github.com/vektra/mockery/blob/master/.goreleaser.yml )
- [Commits](https://github.com/vektra/mockery/compare/v2.13.1...v2.14.0 )
---
updated-dependencies:
- dependency-name: github.com/vektra/mockery/v2
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>
2022-07-01 10:05:34 -04:00
mergify[bot]
171985df2a
p2p: use correct context error ( #8916 ) ( #8921 )
...
handshakeCtx is the internal context carrying the timeout. Its error should be used for the error return.
(cherry picked from commit 921530c352 )
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-06-30 18:20:43 -04:00
mergify[bot]
68691935c8
p2p: fix flakey test due to disconnect cooldown ( #8917 ) ( #8919 )
...
This test was made flakey by #8839 . The cooldown period means that the node in the test will not try to reconnect as quickly as the test expects. This change makes the cooldown shorter in the test so that the node quickly reconnects.
(cherry picked from commit 5274f80de4 )
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-06-30 18:01:18 -04:00
mergify[bot]
346b5ff4d0
p2p: set outgoing connections to around 20% of total connections ( #8913 ) ( #8915 )
...
(cherry picked from commit 47cb30fc1d )
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-06-30 17:04:11 -04:00
dependabot[bot]
2773e11a61
build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 ( #8910 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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>
2022-06-30 13:16:21 -04:00
mergify[bot]
8dc08b3ab3
p2p: stop mconn channel sends without timeout ( #8906 ) ( #8911 )
...
(cherry picked from commit 60881f1d06 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-06-30 09:12:36 -04:00
mergify[bot]
52e9e8257d
log: do not pre-process log results ( #8895 ) ( #8897 )
...
I was digging around in the zero log functions, and the following
functions using the `Fields()` method directly in zerolog,
- https://github.com/rs/zerolog/blob/v1.27.0/event.go#L161
- e9344a8c50/fields.go (L15)
Have meaningfully equivalent semantics and our pre-processing of
values is getting us much (except forcing zerolog to always sort our
keys, and nooping in the case when you miss the last field.)
With this change also, we can pass maps (or, pratically a single map)
to the logger, which might be a less wacky seeming interface.
(cherry picked from commit 37f9d59969 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-06-28 10:59:37 -04:00
mergify[bot]
ed7f51460b
libs/strings: move to internal ( #8890 ) ( #8891 )
2022-06-27 18:27:46 -04:00
dependabot[bot]
f63c9b0d28
build(deps): Bump bufbuild/buf-setup-action from 1.5.0 to 1.6.0 ( #8884 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
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: Sam Kleinman <garen@tychoish.com >
2022-06-27 09:15:02 -04:00
dependabot[bot]
a5f2ba3025
build(deps): Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 ( #8885 )
...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases )
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.10.0 )
---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
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>
2022-06-27 09:11:17 -04:00
dependabot[bot]
516bb63fe4
build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 ( #8867 )
2022-06-24 19:18:27 -07:00
mergify[bot]
b483058898
p2p: remove dial sleep and provide disconnect cooldown (backport #8839 ) ( #8876 )
...
* p2p: remove dial sleep and provide disconnect cooldown (#8839 )
Alternative proposal for #8826
(cherry picked from commit 52b6dc19ba )
# Conflicts:
# internal/p2p/router.go
* fix merge
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-06-24 16:35:27 -04:00
mergify[bot]
2fa467fe9b
e2e: disable another network test ( #8862 ) ( #8874 )
...
Follow up on: https://github.com/tendermint/tendermint/pull/8849
(cherry picked from commit c4d24eed7d )
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2022-06-24 12:47:54 -04:00
mergify[bot]
a0e1224435
fix light client select statement ( #8871 ) ( #8872 )
...
(cherry picked from commit 409e057d73 )
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-06-24 12:27:10 -04:00
William Banfield
3f1404257d
p2p: set empty timeouts to small values. (manual backport of #8847 ) ( #8868 )
...
These timeouts default to 'do not time out' if they are not set. This times up resources, potentially indefinitely. If node on the other side of the the handshake is up but unresponsive, the[ handshake call](edec79448a/internal/p2p/router.go (L720) ) will _never_ return.
This change wires up the values from the config file so that they are actually used.
2022-06-24 10:52:07 -04:00
mergify[bot]
6c8e350110
e2e: add tolerance to peer discovery test ( #8849 ) ( #8858 )
...
(cherry picked from commit fb209136f8 )
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2022-06-23 13:33:50 -04:00
mergify[bot]
14b14989f7
p2p: track peers by address ( #8841 ) ( #8856 )
...
(cherry picked from commit 436a38f876 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-06-23 10:34:59 -04:00
mergify[bot]
007e98a4e6
e2e: report peer heights in error message ( #8843 ) ( #8854 )
...
(cherry picked from commit 52b2efb827 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-06-23 08:55:50 -04:00