M. J. Fromberger
12a0559d67
Prepare changelog for release v0.35.5. ( #8601 )
v0.35.5
2022-05-26 09:08:41 -07:00
mergify[bot]
a22f7bec39
migrate: reorder collection ordering ( #8613 ) ( #8616 )
...
(cherry picked from commit f33722b423 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-05-25 13:26:56 -04:00
dependabot[bot]
3784371dd8
build(deps): Bump github.com/vektra/mockery/v2 from 2.12.2 to 2.12.3 ( #8608 )
2022-05-25 05:12:51 -04:00
mergify[bot]
4ee91663da
p2p: reduce ability of SendError to disconnect peers (backport #8597 ) ( #8603 )
2022-05-25 04:12:43 -04:00
M. J. Fromberger
87763a3d6a
rpc: fix encoding of block_results responses (backport #8593 ) ( #8594 )
...
The block results include validator updates in ABCI protobuf format, which does
not encode "correctly" according to the expected Amino style RPC clients expect.
- Write a regression test for this issue.
- Add JSON marshaling overrides for ABCI ValidatorUpdate messages.
Patches for v0.35.x:
- Replace jsontypes with tmjson (removed in v0.36)
- Regress test data for BeginBlock / EndBlock
2022-05-24 07:21:28 -07:00
dependabot[bot]
ad9e875376
build(deps): Bump goreleaser/goreleaser-action from 2 to 3 ( #8589 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 08:31:18 -04:00
mergify[bot]
2f8483aa85
p2p: remove unused get height methods (backport #8569 ) ( #8571 )
2022-05-17 11:32:13 -04:00
dependabot[bot]
0e6b85efa9
build(deps): Bump github.com/lib/pq from 1.10.5 to 1.10.6 ( #8568 )
2022-05-17 04:57:37 -07:00
dependabot[bot]
13cc1931a7
build(deps): Bump google.golang.org/grpc from 1.46.0 to 1.46.2 ( #8560 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.46.0 to 1.46.2.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.0...v1.46.2 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
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-05-16 09:10:13 -07:00
dependabot[bot]
f6b13f8c95
build(deps): Bump docker/login-action from 1.10.0 to 2.0.0 ( #8536 )
...
* build(deps): Bump docker/login-action from 1.10.0 to 2.0.0
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.10.0 to 2.0.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1.10.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 12:57:07 -07:00
dependabot[bot]
248cb26845
build(deps): Bump actions/stale from 4 to 5 ( #8534 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 4 to 5.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 12:55:22 -07:00
dependabot[bot]
79d83cea15
build(deps): Bump docker/setup-buildx-action from 1.6.0 to 2.0.0 ( #8533 )
...
* build(deps): Bump docker/setup-buildx-action from 1.6.0 to 2.0.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1.6.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.6.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 12:53:42 -07:00
dependabot[bot]
643eaef146
build(deps): Bump docker/build-push-action from 2.7.0 to 3.0.0 ( #8530 )
...
* build(deps): Bump docker/build-push-action from 2.7.0 to 3.0.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.7.0 to 3.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2.7.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 12:49:56 -07:00
dependabot[bot]
552e1e78b8
build(deps): Bump codecov/codecov-action from 2.1.0 to 3.1.0 ( #8529 )
...
* build(deps): Bump codecov/codecov-action from 2.1.0 to 3.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 12:45:04 -07:00
dependabot[bot]
fcf0579f0e
build(deps): Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 ( #8526 )
...
* build(deps): Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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-05-13 12:42:15 -07:00
dependabot[bot]
3df465c353
build(deps): Bump github.com/prometheus/client_golang ( #8542 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.12.2/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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: M. J. Fromberger <fromberger@interchain.io >
2022-05-13 11:42:44 -07:00
dependabot[bot]
142b273c2f
build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 1.0.13 to 1.0.14 ( #8523 )
...
* build(deps): Bump gaurav-nelson/github-action-markdown-link-check
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases )
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/1.0.13...1.0.14 )
---
updated-dependencies:
- dependency-name: gaurav-nelson/github-action-markdown-link-check
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Target fork.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2022-05-13 08:42:47 -07:00
M. J. Fromberger
74267a062e
Remove backport-specific Dependabot config (v0.35.x). ( #8520 )
...
After #8518 , this separate configuration is no longer needed.
The master copy will target updates to this branch.
2022-05-13 08:10:15 -07:00
mergify[bot]
12fed0ed53
blocksync: validate block before persisting it (backport #8493 ) ( #8496 )
2022-05-12 10:36:48 +02:00
Sam Kleinman
bdd59c892c
statesync: avoid potential race ( #8494 )
2022-05-11 15:09:41 -04:00
dependabot[bot]
23834b6b31
build(deps): Bump github.com/creachadair/tomledit from 0.0.19 to 0.0.22 ( #8503 )
2022-05-11 12:38:25 -04:00
Callum Waters
b40a7b63b7
docs: remove developer sessions ( #8497 )
2022-05-10 22:09:47 -07:00
dependabot[bot]
923d14c439
build(deps): Bump github.com/golangci/golangci-lint ( #8489 )
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.45.2 to 1.46.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.45.2...v1.46.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-05-10 09:02:42 -07:00
dependabot[bot]
5b634976dc
build(deps): Bump github.com/vektra/mockery/v2 from 2.12.1 to 2.12.2 ( #8473 )
2022-05-06 05:26:23 -07:00
mergify[bot]
383408479d
keymigrate: improve filtering for legacy transaction hashes ( #8466 ) ( #8467 )
...
This is a follow-up to #8352 . The check for legacy evidence keys is only based
on the prefix of the key. Hashes, which are unprefixed, could easily have this
form and be misdiagnosed.
Because the conversion for evidence checks the key structure, this should not
cause corruption. The probability that a hash is a syntactically valid evidence
key is negligible. The tool will report an error rather than storing bad data.
But this does mean that such transaction hashes could cause the migration to
stop and report an error before it is complete.
To ensure we convert all the data, refine the legacy key check to filter these
keys more precisely. Update the test cases to exercise this condition.
(cherry picked from commit dd4fee88ef )
2022-05-04 13:32:40 -07:00
dependabot[bot]
f383e8fa98
build(deps): Bump github.com/creachadair/atomicfile from 0.2.5 to 0.2.6 ( #8461 )
...
Bumps [github.com/creachadair/atomicfile](https://github.com/creachadair/atomicfile ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/creachadair/atomicfile/releases )
- [Commits](https://github.com/creachadair/atomicfile/compare/v0.2.5...v0.2.6 )
---
updated-dependencies:
- dependency-name: github.com/creachadair/atomicfile
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-05-04 06:49:09 -07:00
dependabot[bot]
df66afab99
build(deps): Bump github.com/btcsuite/btcd from 0.22.0-beta to 0.22.1 ( #8438 )
2022-04-29 08:08:40 -04:00
dependabot[bot]
971bd1487e
build(deps): Bump github.com/creachadair/tomledit from 0.0.18 to 0.0.19 ( #8437 )
2022-04-29 04:11:01 -07:00
dependabot[bot]
512a0bf356
build(deps): Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 ( #8421 )
2022-04-27 06:24:47 -07:00
dependabot[bot]
06d3d41623
build(deps): Bump github.com/vektra/mockery/v2 from 2.12.0 to 2.12.1 ( #8418 )
2022-04-26 12:31:13 -04:00
dependabot[bot]
5b14d27ccf
build(deps): Bump google.golang.org/grpc from 1.45.0 to 1.46.0 ( #8409 )
2022-04-25 08:59:51 -04:00
M. J. Fromberger
ad7c501359
Update common actions versions on v0.35.x to match master. ( #8400 )
2022-04-23 09:07:15 -07:00
dependabot[bot]
70d771ead2
build(deps): Bump github.com/vektra/mockery/v2 from 2.11.0 to 2.12.0 ( #8394 )
...
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery ) from 2.11.0 to 2.12.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.11.0...v2.12.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 >
2022-04-22 10:26:52 -07:00
dependabot[bot]
5b3b3065ad
build(deps): Bump github.com/creachadair/tomledit from 0.0.16 to 0.0.18 ( #8395 )
2022-04-22 10:23:49 -04:00
mergify[bot]
9195a005bd
Add config samples from TM v26, v27, v28, v29. ( #8384 ) ( #8387 )
2022-04-21 08:58:18 -07:00
mergify[bot]
2a91d21b61
Add confix testdata for Tendermint v0.30. ( #8380 ) ( #8381 )
...
Some additional testdata I grabbed while writing up the draft of RFC 019.
(cherry picked from commit d56392cee9 )
2022-04-20 10:04:21 -07:00
mergify[bot]
14f0d60f24
p2p: fix setting in con-tracker ( #8370 ) ( #8371 )
...
(cherry picked from commit 889341152a )
2022-04-19 23:32:54 -07:00
dependabot[bot]
21d68441a1
build(deps): Bump github.com/vektra/mockery/v2 from 2.10.6 to 2.11.0 ( #8373 )
...
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery ) from 2.10.6 to 2.11.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.10.6...v2.11.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 >
2022-04-19 10:07:33 -07:00
M. J. Fromberger
4d9ad115b0
build: clean up an unnecessary dependency ( #8363 )
2022-04-18 11:05:10 -07:00
dependabot[bot]
e646bd77ca
build(deps): Bump github.com/creachadair/atomicfile from 0.2.4 to 0.2.5 ( #8366 )
...
Bumps [github.com/creachadair/atomicfile](https://github.com/creachadair/atomicfile ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/creachadair/atomicfile/releases )
- [Commits](https://github.com/creachadair/atomicfile/compare/v0.2.4...v0.2.5 )
---
updated-dependencies:
- dependency-name: github.com/creachadair/atomicfile
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-04-18 10:18:18 -04:00
M. J. Fromberger
8682489551
Prepare changelog for release v0.35.4. ( #8360 )
v0.35.4
2022-04-17 22:34:09 -07:00
mergify[bot]
04c1f76569
rpc: avoid leaking threads during checktx (backport #8328 ) ( #8333 )
2022-04-17 09:17:03 -04:00
Ethan Reesor
226bc94c5f
node: always close database engine ( #7113 ) ( #8330 )
2022-04-15 14:37:34 -07:00
mergify[bot]
641d290a6d
keymigrate: fix conversion of transaction hash keys (backport #8352 ) ( #8353 )
...
In the legacy database format, keys were generally stored with a string prefix
to partition the key space. Transaction hashes, however, were not prefixed: The
hash of a transaction was the entire key for its record.
When the key migration script scans its input, it checks the format of each
key to determine whether it has already been converted, so that it is safe to run
the script over an already-converted database.
After checking for known prefixes, the migration script used two heuristics to
distinguish ABCI events and transaction hashes: For ABCI events, whose keys
used the form "name/value/height/index", it checked for the right number of
separators. For hashes, it checked that the length is exactly 32 bytes (the
length of a SHA-256 digest) AND that the value does not contain a "/".
This last check is problematic: Any hash containing the byte 0x2f (the code
point for "/") would be incorrectly filtered out from conversion. This leads to
some transaction hashes not being converted.
To fix this problem, this changes how the script recognizes keys:
1. Use a more rigorous syntactic check to filter out ABCI metadata.
2. Use only the length to identify hashes among what remains.
This change is still not a complete fix: It is possible, though unlikely, that
a valid hash could happen to look exactly like an ABCI metadata key. However,
the chance of that happening is vastly smaller than the chance of generating a
hash that contains at least one "/" byte.
Similarly, it is possible that an already-converted key of some other type
could be mistaken for a hash (not a converted hash, ironically, but another
type of the right length). Again, we can't do anything about that.
(cherry picked from commit 34e727676c )
2022-04-14 17:04:28 -07:00
William Banfield
8579cc382e
invoke callbacks when set late in socket client (Forward-Port #8331 ) ( #8336 )
2022-04-14 18:36:09 -04:00
dependabot[bot]
1d8b1c7507
build(deps): Bump github.com/vektra/mockery/v2 from 2.10.4 to 2.10.6 ( #8345 )
2022-04-14 09:32:11 -07:00
dependabot[bot]
118ff02272
build(deps): Bump github.com/spf13/viper from 1.10.1 to 1.11.0 ( #8347 )
2022-04-14 08:49:19 -07:00
mergify[bot]
52bcd56d60
confix: convert tx-index.indexer from string to array (backport #8342 ) ( #8348 )
...
The format of this config value was changed in v0.35.
- Move plan to its own file (for ease of reading).
- Convert indexer string to an array if not already done.
(cherry picked from commit 69874c2050 )
2022-04-14 06:59:16 -07:00
M. J. Fromberger
12e0ea6ea7
confix: add default mempool.version = "v1" in v0.35. ( #8335 )
2022-04-13 14:28:54 -07:00
M. J. Fromberger
1c3921f5df
Revert CI cache override. ( #8324 )
...
The caches for golangci-lint failed to update correctly causing spurious
failures on #8300 . To work around this, I disabled caching temporarily.
This change removes that override, restoring the default.
2022-04-12 21:34:57 -07:00