dependabot[bot]
476f8fa7a8
build(deps): Bump bufbuild/buf-setup-action from 1.6.0 to 1.7.0 ( #9131 )
2022-08-01 10:15:33 +02:00
Thane Thomson
75d51e18f7
Import latest root documentation ( #9130 )
...
Import the readme, contributing guidelines, code of conduct, security
guide and releases guide. Format all of these documents, replacing
references to `master` by references to `main`, and use Markdown link
references instead of embedded links wherever it improves legibility.
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-07-30 13:58:20 -04:00
Callum Waters
e32b86b549
docs: migrate adrs and rfcs across from master ( #9115 )
2022-07-30 16:57:02 +02:00
Thane Thomson
85636f6a00
Prepare main to become new default branch ( #9095 )
...
* Update Makefile with changes from #7372
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Sync main GitHub config with master and update
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unnecesary dot folders
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Sync dotfiles
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unused Jepsen tests for now
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* tools: remove k8s (#6625 )
Remove mintnet as discussed on team call.
closes #1941
* Restore nightly fuzz testing of P2P addrbook and pex
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix YAML lints
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix YAML formatting nits
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* More YAML nits
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* github: fix linter configuration errors and occluded errors (#6400 )
* Minor fixes to OpenAPI spec to sync with structs on main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove .github/auto-comment.yml - does not appear to be used
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add issue config with link to discussions
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Adjust issue/PR templates to suit current process
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unused RC branch config from release workflow
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix wildcard matching in build jobs config
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Document markdownlint config
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Restore manual E2E test group config
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Document linter workflow with local execution instructions
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Document and fix minor nit in Super-Linter markdownlint config
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update .github/ISSUE_TEMPLATE/bug-report.md
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
* Update pull request template to add language around discussions/issues
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* .golangci.yml: Deleted commented-out lines
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ci: Drop "-2" from e2e-nightly-fail workflow
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Address triviality concern in PR template
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Co-authored-by: Marko <marbar3778@yahoo.com >
Co-authored-by: Sam Kleinman <garen@tychoish.com >
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-07-29 15:20:03 -04:00
Thane Thomson
8834a0dbae
Update CODEOWNERS to use teams ( #9129 )
...
* Update CODEOWNERS to use teams
Update the `CODEOWNERS` file to use the
@tendermint/tendermint-engineering and @tendermint/tendermint-research
teams as opposed to adding people one by one. This makes repository
administration somewhat easier to manage, especially when
onboarding/offboarding people.
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add Ethan as superuser
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-07-29 15:12:28 -04:00
Mark Rushakoff
4309f54349
libs/pubsub/query: specify peg version in go.mod ( #9099 )
...
* libs/pubsub/query: specify peg version in go.mod
The code to generate the pubsub queries was dependent on an unspecified
version of the peg tool. This brings peg into go.mod so it is on a fixed
version. This should also enable dependabot to notify us of future
updates to peg.
The version of query.peg.go generated from the current version of peg
correctly contains the special "Code generated by..." line to indicate
to other tools that the file is automatically generated and should
therefore be excluded from linters, etc.
I removed the make target as there were no git grep results referencing
"gen_query_parser"; directly running "go generate" is a reasonable
expectation in Go projects.
Now that "go run" is module aware, I would typically use "go run" inside
the go:generate directive, but in this case we go build to a gitignore-d
directory in order to work around the nondeterministic output detailed
in pointlander/peg#129 .
* libs/pubsub/query: check error from (*QueryParser).Init()
The newly generated peg code returns an error from Init(); the previous
version was niladic.
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2022-07-27 16:35:15 -04:00
Mark Rushakoff
c4e235243b
test: stop abci server started in addr test ( #9093 )
...
This test would fail if run with "go test -count=2" because it uses a
fixed address and was not closing the server, so the subsequent run
could not bind to the address.
While closing the server is correct, it would probably be better if the
API was able to report the bound address so that we could pass
"localhost:0" for an anonymous port. But I am currently focusing on test
cleanup, not ready to change any existing APIs.
2022-07-27 10:25:00 -04:00
Joonkyo Kim
18c7e3aae5
Fix unsafe-reset-all for working with default home ( #9103 )
2022-07-27 16:01:17 +02:00
Callum Waters
a7049ed3fc
spec: migrate spec at v0.7.1. into main ( #9098 )
2022-07-27 00:12:36 +02:00
Callum Waters
0323bd5365
Merge branch 'main' into cal/spec-migrations
2022-07-27 00:05:03 +02:00
Callum Waters
a11b7743d4
fix mockery generation script ( #9094 )
2022-07-26 22:53:15 +02:00
Callum Waters
1ad0683189
Merge tag 'v0.7.1' of github.com:tendermint/spec into cal/spec-migrations
...
Tendermint specification version 0.7.1
2022-07-26 15:01:36 +02:00
Marko
46badfabd9
cli: add command to manually reindex tx and block events (backport: #6676 ) ( #9034 )
2022-07-22 16:37:08 +02:00
dependabot[bot]
eb465a3f4f
build(deps): Bump github.com/golangci/golangci-lint ( #9071 )
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.47.1 to 1.47.2.
- [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.47.1...v1.47.2 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
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-22 10:16:06 -04:00
dependabot[bot]
d6be59788b
build(deps): Bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 ( #9062 )
...
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:25:40 -04:00
dependabot[bot]
f9f3bed808
build(deps): Bump github.com/golangci/golangci-lint ( #9043 )
2022-07-20 12:26:25 +02:00
M. J. Fromberger
64dfeb775c
mempool: rework lock discipline to mitigate callback deadlocks (backport #9030 ) ( #9033 )
...
(manual cherry-pick of commit 22ed610083 )
2022-07-19 13:48:47 -07:00
dependabot[bot]
6688db7be1
build(deps): Bump github.com/golangci/golangci-lint ( #9036 )
...
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:57:04 -07:00
M. J. Fromberger
d32df22c8b
Prepare changelog for Release v0.34.20 ( #9032 )
v0.34.20
2022-07-18 10:04:38 -07:00
M. J. Fromberger
223ece93c8
mempool: ensure async requests are flushed to the server ( #9010 )
...
In the v0.34 line, the socket and gRPC clients require explicit flushes to
ensure that the client and server have received an async request. Add these
calls explicitly where required in the backport of the priority mempool.
In addition, the gRPC client's flush plumbing was not fully hooked up in the
v0.34 line, so this change includes that update as well.
2022-07-14 15:45:58 -07:00
M. J. Fromberger
ba1711e706
mempool: ensure evicted transactions are removed from the cache (backport #9000 ) ( #9004 )
...
This is a manual cherry-pick of commit b94470a6a4 .
In the original implementation transactions evicted for priority were also
removed from the cache. In addition, remove expired transactions from the
cache.
Related:
- Add Has method to cache implementations.
- Update tests to exercise this condition.
2022-07-14 07:23:50 -07:00
dependabot[bot]
8df725f92f
build(deps): Bump google.golang.org/grpc from 1.47.0 to 1.48.0 ( #8991 )
...
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 10:16:18 -07:00
M. J. Fromberger
2b3737333f
config: remove obsolete mempool v1 warning ( #8987 )
2022-07-13 18:27:06 +02:00
M. J. Fromberger
bbb5f3bfef
Prepare changelog for v0.34.20-rc1. ( #8966 )
v0.34.20-rc1
2022-07-12 11:03:23 -07:00
M. J. Fromberger
d6b413ff8e
mempool: release lock during app connection flush ( #8986 )
...
A manual backport of #8984 .
This case is symmetric to what we did for CheckTx calls, where we release the
mempool mutex to ensure callbacks can fire during call setup. We also need
this behaviour for application flush, for the same reason: The caller holds the
lock by contract from the Mempool interface.
2022-07-12 10:46:27 -07:00
M. J. Fromberger
7b615f8123
mempool: reduce lock contention during CheckTx (backport #8983 ) ( #8985 )
...
A manual cherry-pick of 9e64c95 .
The way this was originally structured, we reacquired the lock after issuing
the initial ABCI CheckTx call, only to immediately release it. Restructure the
code so that this redundant acquire is no longer necessary.
2022-07-12 10:28:41 -07:00
M. J. Fromberger
7d9447198c
mempool: minor cleanup after backport from v0.35 ( #8971 )
...
- Remove warning log for issue #8775 .
- Fix call to FlushAsync (no error is reported).
- Don't log on rechecks, it's the default (manual backport of #8969 ).
2022-07-11 08:26:05 -07:00
M. J. Fromberger
5276400c30
Update generated mocks after upgrade of Mockery v2. ( #8974 )
2022-07-11 09:18:43 -04:00
M. J. Fromberger
493dd69f31
Backport priority mempool fixes from v0.35.x to v0.34.x. ( #8962 )
...
This is a manual backport of the changes from these commits:
- bc49f66 Add more unit tests for the priority mempool. (#8961 )
- 9b02094 Fix unbounded heap growth in the priority mempool. (#8944 )
Imports and type signatures have been updated to match the v0.34 usage.
2022-07-08 07:22:07 -07:00
dependabot[bot]
1d9d947d88
build(deps): Bump github.com/libp2p/go-buffer-pool from 0.0.2 to 0.1.0 ( #8933 )
2022-07-05 11:56:20 +02:00
dependabot[bot]
479bdd71e6
build(deps): Bump github.com/vektra/mockery/v2 from 2.13.1 to 2.14.0 ( #8923 )
...
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:04:58 -04:00
dependabot[bot]
17f4ea3680
build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 ( #8909 )
...
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 08:35:54 -07:00
yihuang
5c32cfa00e
Work around indexing problem for duplicate transactions ( #8625 )
...
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
2022-06-30 07:53:48 -07:00
Callum Waters
5e354a3a57
release: prepare v0.34.20-rc0 ( #8888 )
v0.34.20-rc0
2022-06-27 18:44:21 +02:00
dependabot[bot]
9e14e954f9
build(deps): Bump bufbuild/buf-setup-action from 1.5.0 to 1.6.0 ( #8880 )
...
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 10:20:25 -04:00
Aleksandr Bezobchuk
6b7d30cf37
feat: v0.34.x Prioritized Mempool ( #8695 )
...
* Updated mocks
* add reactor tests
* add v1 reactor tests
* Fix fuzz test for priority mempool
* e2e adapted to mempool v1; prio pool is default now
* Reverted default mempool to be fifo
* Changed buf version
* Added priority mempool to ci testnet
* Fixed linter
* Updated makefile
* Aligned makefile changes to v0.34.x
* Added go install for proto
* Add log message to warn about prioritized mempool bug
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Changelog message
Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Sam Kleinman <garen@tychoish.com >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-06-27 11:34:28 +02:00
dependabot[bot]
25101d1116
build(deps): Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 ( #8865 )
2022-06-24 17:15:22 -07:00
Jasmina Malicevic
b83cc0aeda
makefile: buf setup backport v0.34 ( #8863 )
2022-06-24 13:58:25 -04:00
Joe Abbey
4a1df4911d
fix: "Lazy" Stringers to defer Sprintf and Hash until logs print ( #8845 )
2022-06-23 14:56:34 -04:00
Jasmina Malicevic
a3cc3d98b9
makefile: change buf to use tools.go ; backport v0.34 ( #8852 )
...
* makefile: update buf commands to use tools.go (#8609 )
This will keep the version of `buf` consistent between all developer machines.
2022-06-23 16:47:44 +02:00
mergify[bot]
fe024521ef
cmd: add tool for compaction of goleveldb (backport #8564 ) ( #8674 )
2022-06-21 23:04:58 +02:00
dependabot[bot]
02def9ca64
build(deps): Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 ( #8810 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.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>
2022-06-21 14:42:30 -04:00
dependabot[bot]
ce2409f3ff
build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.4 ( #8809 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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-06-21 11:14:07 -07:00
dependabot[bot]
30915e9337
build(deps): Bump github.com/adlio/schema from 1.3.0 to 1.3.3 ( #8799 )
...
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.3.0 to 1.3.3.
- [Release notes](https://github.com/adlio/schema/releases )
- [Commits](https://github.com/adlio/schema/compare/v1.3.0...v1.3.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>
2022-06-20 07:58:56 -04:00
M. J. Fromberger
8a7affe3a0
Update default config docs for PSQL indexer settings. ( #8728 )
2022-06-08 13:59:49 -07:00
dependabot[bot]
851f404305
build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 ( #8709 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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-06-07 04:59:20 -04:00
dependabot[bot]
f63496dcd6
build(deps): Bump google.golang.org/grpc from 1.46.2 to 1.47.0 ( #8665 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.46.2 to 1.47.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.2...v1.47.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>
2022-06-01 06:22:12 -04:00
dependabot[bot]
044b12585f
build(deps): Bump github.com/spf13/viper from 1.11.0 to 1.12.0 ( #8629 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.11.0...v1.12.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>
2022-05-27 12:19:27 -04:00
dependabot[bot]
ac2e7fab3d
build(deps): Bump goreleaser/goreleaser-action from 2 to 3 ( #8588 )
...
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:32 -04:00
dependabot[bot]
e6f0711648
build(deps): Bump github.com/lib/pq from 1.10.5 to 1.10.6 ( #8566 )
2022-05-17 04:57:23 -07:00