https://github.com/tendermint/tendermint

sort by:
Revision Author Date Message Commit Date
e47c43f Merge branch 'master' into tychoish/adr-node-init 30 July 2021, 13:29:00 UTC
3aec71c build(deps): Bump styfle/cancel-workflow-action from 0.9.0 to 0.9.1 (#6786) 30 July 2021, 13:21:27 UTC
6dd8984 Fix and clarify breaks from select cases. (#6781) Update those break statements inside case clauses that are intended to reach an enclosing for loop, so that they correctly exit the loop. The candidate files for this change were located using: % staticcheck -checks SA4011 ./... | cut -d: -f-2 This change is intended to preserve the intended semantics of the code, but since the code as-written did not have its intended effect, some behaviour may change. Specifically: Some loops may have run longer than they were supposed to, prior to this change. In one case I was not able to clearly determine the intended outcome. That case has been commented but otherwise left as-written. Fixes #6780. 30 July 2021, 02:28:32 UTC
9a2a7d4 state/privval: vote timestamp fix (#6748) 29 July 2021, 10:52:53 UTC
8f06e0c cleanup: remove redundant error plumbing (#6778) This is a mostly-automated fixup using Comby (https://comby.dev) to remove lexically-obvious redundant error checks. No functional changes are intended. To reproduce the core change: # Collapse redundant error check conditionals % comby -in-place 'if err != nil { return err } return nil' 'return err' .go # Fold out unnecessary error temporaries % comby -in-place ':[spc~^\s*]err :[~:?]= :[any] return err' ':[spc]return :[any]' .go Fixes #6479 and related cases. 28 July 2021, 19:38:46 UTC
6a94b55 rpc: add documentation for genesis chunked api (#6776) 28 July 2021, 18:20:40 UTC
9e41414 light: replace homegrown mock with mockery (#6735) This pull request removes the homegrown mocks in `light/provider/mock` in favor of mockery mocks. Adds a simple benchmark only mock to avoid the overhead of `reflection` that `mockery` incurs. part of #5274 28 July 2021, 16:12:11 UTC
4beeebc Merge remote-tracking branch 'origin/master' into tychoish/adr-node-init 28 July 2021, 16:07:13 UTC
30ebf48 cr comments 28 July 2021, 16:06:32 UTC
6ff4c31 blockchain: rename to blocksync service (#6755) 28 July 2021, 15:25:42 UTC
334146f add additional content 28 July 2021, 14:37:10 UTC
a8a212d update chagnge log 28 July 2021, 14:37:10 UTC
a911c9a more drating and updating 28 July 2021, 14:37:10 UTC
3c63dc3 write proposal background 28 July 2021, 14:37:10 UTC
b5b64b4 normalize 28 July 2021, 14:37:10 UTC
a4b4fda be more clear about future work 28 July 2021, 14:37:10 UTC
1b8c906 add clear proposal 28 July 2021, 14:37:10 UTC
d2a1348 answer questions 28 July 2021, 14:37:10 UTC
ae3f1f6 add status 28 July 2021, 14:37:10 UTC
46863a3 avoid first person 28 July 2021, 14:37:10 UTC
bfa8ac3 add changlog 28 July 2021, 14:37:10 UTC
c9fe1c2 Apply suggestions from code review Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Callum Waters <cmwaters19@gmail.com> 28 July 2021, 14:37:10 UTC
c589c90 adr: add sketch of node initialization work 28 July 2021, 14:37:10 UTC
e87b039 cli/indexer: Reindex events (#6676) 27 July 2021, 22:04:54 UTC
4f73748 mempool v1: tweak broadcastTxRoutine (#6771) 27 July 2021, 19:34:06 UTC
9a3861f light: wait for tendermint node to start before running example test (#6744) 27 July 2021, 16:59:34 UTC
44ac574 abci: add changelog entry for mempool_error field (#6770) Follow up from PR: #6740 27 July 2021, 13:33:20 UTC
76376e3 avoid issues already labeled (#6767) 27 July 2021, 06:17:32 UTC
dd97ac6 test/fuzz: add mechanism to reproduce found fuzz errors (#6768) * test/fuzz: add test to reproduce found fuzz errors 26 July 2021, 21:30:43 UTC
a751eee p2p: add test for pqueue dequeue full error (#6760) This adds a test for closing the `pqueue` while the `pqueue` contains data that has not yet been dequeued. This issue was found while debugging #6705 This test will fail until @cmwaters fix for this condition is merged. 26 July 2021, 19:22:32 UTC
c5dc3b2 test/fuzz: add test to reproduce found fuzz errors (#6757) This change does two things: 1. It fixes the json fuzzer to account for receiving array results. Arrays are returned by the rpc server when the input data is an array. 2. Adds a `fuzz_test.go` file and corresponding `testdata` directory containing the failing test case. This seems like a reasonable way to add and track previous crash issues in our fuzz test cases. The upcoming stdlib go fuzz tool does effectively this automatically. 26 July 2021, 14:58:51 UTC
93f462e build(deps): Bump codecov/codecov-action from 2.0.1 to 2.0.2 (#6764) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.1 to 2.0.2. - [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.0.1...v2.0.2) --- updated-dependencies: - dependency-name: codecov/codecov-action 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: Marko <marbar3778@yahoo.com> 26 July 2021, 14:17:02 UTC
91e277d enable pex reactor depending on config param (#6762) 26 July 2021, 13:22:12 UTC
a341a62 p2p: avoid blocking on the dequeCh (#6765) 26 July 2021, 13:09:07 UTC
c3ae6f5 p2p: add coverage for mConnConnection.TrySendMessage (#6754) This change adds additional coverage to the `mConnConnection.TrySendMessage` code path. Adds test to ensure it returns `io.EOF` when closed. Addresses: #6570 23 July 2021, 17:29:19 UTC
a393cf8 internal: update blockchain reactor godoc (#6749) 23 July 2021, 12:15:57 UTC
0e2752a light: improve error handling and allow providers to be added (#6733) 22 July 2021, 16:12:34 UTC
97a8f12 e2e: allow for both v0 and v1 mempool implementations (#6752) 22 July 2021, 15:59:02 UTC
84c1585 mempool: return mempool errors to the abci client (#6740) This changes adds an `MempoolError` field to the `ResponseCheckTx`. This will allow clients to understand that their transaction was rejected from the mempool despite passing the ABCI check. This change also updates the code to make use of early returns to prevent highly nested code blocks. Namely, it returns when the type assertion fails at the beginning of the method, instead of wrapping the entire method in a large if statement. This has a somewhat large effect on the diff as rendered by github. addresses: #3546 22 July 2021, 14:52:29 UTC
e70445f statesync/event: emit statesync start/end event (#6700) 22 July 2021, 06:16:50 UTC
478f532 light: run examples as integration tests (#6745) 21 July 2021, 13:54:14 UTC
08e4e2e ignore issues for stale bot (#6747) 21 July 2021, 10:39:16 UTC
7d63e99 build(deps): Bump codecov/codecov-action from 1.5.2 to 2.0.1 (#6739) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.2 to 2.0.1. - [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/v1.5.2...v2.0.1) --- 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> Co-authored-by: Sam Kleinman <garen@tychoish.com> 20 July 2021, 21:38:25 UTC
7638235 e2e: longer test harness timeouts (#6728) 20 July 2021, 19:57:48 UTC
2abfe20 e2e: prevent adding light clients as persistent peers (#6743) 20 July 2021, 18:11:43 UTC
0bf7813 fix makefile test target to rely on test makefile (#6746) The Makefile at the root of the repo [includes](https://github.com/tendermint/tendermint/blob/cd19ef244efda1d666fe4e73b045f94dd5f646ff/Makefile#L61) the Makefile under the `test` package. This fix removes the target defined in the root Makefile in favor of the included one. 20 July 2021, 18:00:51 UTC
ff9038e e2e: run tests in fewer groups (#6742) 20 July 2021, 17:45:08 UTC
00a4083 e2e: remove cartesian testing of ipv6 (#6734) Having looked at our network address parsing and connection code, it really looks like we're not doing anything on top of what the standard library is doing (both in terms using `net.ParseIP` and also `net.Dial`,) and I don't think we need to run the tests 2x the number of times just to run through different areas of the standard library. I think most of our users are going to be using IPv4, and would be down to fully remove this dimension as well, if we find it's making noise, but for now I think it's fine. 20 July 2021, 15:47:35 UTC
c4f77ab fastsync/event: emit fastsync status event when switching consensus/fastsync (#6619) closes #2498 solves part of #3365 Note: difficult to test the event emit in SwitchToFastSync part, might need to change `stateSyncReactor` to an interface in the `nodeImpl` struct 20 July 2021, 15:36:47 UTC
2030875 e2e: drop single node hybrid configurations (#6737) 20 July 2021, 15:23:51 UTC
639e145 e2e: avoid systematic key-type variation (#6736) 20 July 2021, 13:25:00 UTC
68ffe8b mempool: add TTL configuration to mempool (#6715) 19 July 2021, 19:54:44 UTC
21309cc clist: add a few basic clist tests (#6727) 19 July 2021, 14:02:21 UTC
f70396c add and run make target for generating existing mocks (#6732) There are many `//go:generate mockery` lines in the source code. This change adds a make target to invoke these mock generations. This change also invokes the mock invocations and adds the resulting mocks to the repo. Related to #5274 18 July 2021, 00:46:04 UTC
fdc246e libs/clist: revert clear and detach changes while debugging (#6731) 17 July 2021, 16:10:53 UTC
78a0a5f blockchain: error on v2 selection (#6730) ## Description Remove v2 flag from toml 16 July 2021, 10:19:55 UTC
4f88520 RPC: mark grpc as deprecated (#6725) ## Description Mark gRPC as deprecated in the RPC layer. closes #6718 15 July 2021, 22:05:21 UTC
6dd0cf9 router/statesync: add helpful log messages (#6724) 15 July 2021, 17:26:35 UTC
626d9b4 build(deps): Bump actions/stale from 3.0.19 to 4 (#6726) Bumps [actions/stale](https://github.com/actions/stale) from 3.0.19 to 4. - [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/v3.0.19...v4) --- 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> 15 July 2021, 14:17:51 UTC
8addf99 e2e: tweak sleep for pertubations (#6723) This tweaks sleeps around pertubations, based on a theory that our tests with "kill" pertubations restart the nodes fast enough the peers haven't marked it down when it tries to reconnect. In my local test runs, this clears out *most* of the test failures that I've seen, except for one evidence-related test-harness problem (which should be handled separately.) 14 July 2021, 21:07:25 UTC
76c6c67 docs: fix broken links (#6719) ## Description Fix broken links closes #6695 14 July 2021, 14:31:08 UTC
a46724e statesync: dispatcher test uses internal channel for timing (#6713) This code change amends the dispatcher tests to read from the dispatcher's `requestCh`. This ensures that a request is waiting when the test calls `dispatcher.respond`. addresses: #6711 14 July 2021, 14:16:09 UTC
40fba39 add missing context catch and tests (#6701) 14 July 2021, 09:23:15 UTC
36a859a e2e: ensure evidence validator set matches nodes validator set (#6712) 13 July 2021, 17:47:36 UTC
ab5c63e statesync: increase dispatcher timeout (#6714) 13 July 2021, 17:04:18 UTC
8228936 e2e: extend timeouts in test harness (#6694) 13 July 2021, 15:28:07 UTC
a12e2bb statesync: use initial height as a floor to backfilling (#6709) 13 July 2021, 14:36:16 UTC
11bebfb build(deps): Bump github.com/google/uuid from 1.2.0 to 1.3.0 (#6708) Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.2.0 to 1.3.0. - [Release notes](https://github.com/google/uuid/releases) - [Commits](https://github.com/google/uuid/compare/v1.2.0...v1.3.0) --- updated-dependencies: - dependency-name: github.com/google/uuid 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> 13 July 2021, 13:15:09 UTC
4009102 statesync: remove outgoingCalls race condition in dispatcher (#6699) * statesync: remove outgoing calls race condition 12 July 2021, 23:05:47 UTC
cabd916 Revert "statesync: keep peer despite lightblock query fail (#6692)" (#6696) * Revert "statesync: keep peer despite lightblock query fail (#6692)" This reverts commit 50b00dff7191a31b40310cc016a9543892669d67. 12 July 2021, 19:20:02 UTC
363ea56 abci: remove counter app (#6684) * remove counter app * remove unneeeded ci * lint fix * modify tx sizes * cleanup docs * Update abci/cmd/abci-cli/abci-cli.go Co-authored-by: Callum Waters <cmwaters19@gmail.com> * Update docs/app-dev/getting-started.md Co-authored-by: Callum Waters <cmwaters19@gmail.com> * Update docs/app-dev/getting-started.md Co-authored-by: Callum Waters <cmwaters19@gmail.com> * bring back comment * migrate to kvstore and not persistent * remove unused func * test persistent Co-authored-by: Callum Waters <cmwaters19@gmail.com> 12 July 2021, 14:55:32 UTC
aa4854f docs: add docs file for the peer exchange (#6665) 12 July 2021, 12:11:29 UTC
581dd01 Update CODEOWNERS to include williambanfield (#6683) 09 July 2021, 22:50:13 UTC
50b00df statesync: keep peer despite lightblock query fail (#6692) When a peer responds with no lightblock for the height we queried, we call the [removePeer method](https://github.com/tendermint/tendermint/blob/master/internal/statesync/reactor.go#L339). This removes the peer from the [dispatcher's list of called peer's](https://github.com/tendermint/tendermint/blob/ad6588315256162a9ef799a5a77ab7237cd46f38/internal/statesync/dispatcher.go#L159). When the dispatcher then receives responses from the removed peer, it [drops their responses](https://github.com/tendermint/tendermint/blob/ad6588315256162a9ef799a5a77ab7237cd46f38/internal/statesync/dispatcher.go#L130). These responses may be meaningful or contain a block or data that will help statesync proceed. [The logs](https://gist.github.com/tychoish/34a1f61eaae3c36c23efc7d0001e805c), when this change is applied, show an additional 3 networking testnets passing. addresses: #6691 09 July 2021, 21:20:25 UTC
051e127 light: correctly handle contexts (#6687) 09 July 2021, 16:48:18 UTC
5530726 tools: move tools.go to subdir (#6689) ## Description Move tools to subdir to fix `go get` 09 July 2021, 13:05:27 UTC
decac69 p2p: remove annoying error log (#6688) I put this error log in here because I thought it might be a helpful indicator to see when a reactor sends a message to a peer that doesn't have that channel open but it turns out this is happening all the time and it's kind of annoying 09 July 2021, 12:48:33 UTC
7ca0f24 build(deps): Bump github.com/golangci/golangci-lint (#6686) Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.38.0 to 1.41.1. - [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.38.0...v1.41.1) --- 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> 09 July 2021, 11:47:01 UTC
69848be deps: run go mod tidy (#6677) ## Description Run go mod tidy 09 July 2021, 08:17:28 UTC
2c14d49 fix leaking statesync test (#6680) 08 July 2021, 13:26:35 UTC
cd24857 e2e: remove colorized output from docker-compose (#6670) 08 July 2021, 12:54:13 UTC
c256edc fix evidence rpc test by extending wait time (#6678) 08 July 2021, 12:43:41 UTC
9d93607 adjust tx load (#6681) 08 July 2021, 12:22:50 UTC
c7c11fc build(deps): Bump gaurav-nelson/github-action-markdown-link-check (#6679) Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check) from 1.0.12 to 1.0.13. - [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.12...1.0.13) --- 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 08 July 2021, 11:17:41 UTC
37bc1d7 internal/blockchain/v0: prevent all possible race for blockchainCh.Out (#6637) This commit extends the fix in #6518, so all other goroutine which run concurrently with processBlockchainCh can safely send data to blockchain out channel via a bridge channel. This helps eliminating all possible data race with sending and closing blockchainCh.Out channel at the same time. Fixes #6516 08 July 2021, 09:42:54 UTC
d882f31 use tools.go pattern for managing linter (#6643) 07 July 2021, 18:52:10 UTC
ba3f710 abci: Fix gitignore abci-cli (#6668) Closes #6663 07 July 2021, 16:01:38 UTC
3ccfb26 psql: close opened rows in tests (#6669) 07 July 2021, 15:37:42 UTC
96863de deps: remove pkg errors (#6666) ## Description remove pkg/errors since we use the provided fmt.Errorf 07 July 2021, 11:39:19 UTC
d4cda54 fastsync/rpc: add TotalSyncedTime & RemainingTime to SyncInfo in /status RPC (#6620) 07 July 2021, 11:26:01 UTC
800cce8 e2e: allow variable tx size (#6659) 07 July 2021, 10:59:27 UTC
e850863 state/indexer: close row after query (#6664) Closes: #6661 Note: see another error during the events indexing, guess the raw tx size exceeds the limitation? ``` 3:17PM ERR failed to index block txs err="pq: index row size 2768 exceeds btree version 4 maximum 2704 for index \"tx_results_tx_result_key\"" height=5205112 module=txindex 07 July 2021, 10:28:54 UTC
1dec3e1 add stacktrace to panic logs (#6662) 06 July 2021, 18:26:18 UTC
11b9204 docs: add sentence about windows support (#6655) ## Description Add sentence about windows support. closes #1887 06 July 2021, 13:15:39 UTC
4f8bcb1 docs: update events (#6658) * docs: update events * lint++ * lint++ 06 July 2021, 12:48:05 UTC
2d95e38 Revert "consensus: skip all messages during sync (#6577)" (#6654) This reverts commit 13b95e71274e6eed250eb1b2d0afee08f79c0251. 06 July 2021, 12:27:20 UTC
6bb4b68 use grpc abci protocol in e2e tests (#6652) 05 July 2021, 16:18:52 UTC
a1e1e6c test: fix non-deterministic backfill test (#6648) 05 July 2021, 14:42:36 UTC
7363641 fix typo in log message (#6653) Co-authored-by: Callum Waters <cmwaters19@gmail.com> 05 July 2021, 14:00:09 UTC
a99c718 build(deps): Bump github.com/spf13/cobra from 1.2.0 to 1.2.1 (#6650) Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.2.0 to 1.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spf13/cobra/releases">github.com/spf13/cobra's releases</a>.</em></p> <blockquote> <h2>v1.2.1</h2> <h3>Bug fixes</h3> <ul> <li>Quickfix for <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1437">spf13/cobra#1437</a> after v1.2.0 where parallel use of the <code>cmd.RegisterFlagCompletionFunc()</code> (and subsequent map) now works correctly and flag completions now work again</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/spf13/cobra/commit/de187e874d1ca382320088f8f6d76333408e5c2e"><code>de187e8</code></a> Fix flag completion (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1438">#1438</a>)</li> <li>See full diff in <a href="https://github.com/spf13/cobra/compare/v1.2.0...v1.2.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/spf13/cobra&package-manager=go_modules&previous-version=1.2.0&new-version=1.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> 05 July 2021, 13:06:11 UTC
back to top