forked from cometbft/cometbft
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from 0xPolygon/mardizzone/upstream-v0.38.15
Merge upstream v0.38.15
- Loading branch information
Showing
255 changed files
with
5,740 additions
and
3,027 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[rpc]` Fix an issue where a legacy ABCI response, created on `v0.37` or before, is not returned properly in `v0.38` and up | ||
on the `/block_results` RPC endpoint. | ||
([\#3002](https://github.com/cometbft/cometbft/issues/3002)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.10/bug-fixes/3406-blocksync-dont-stall-if-blocking-chain.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[blocksync]` Do not stay in blocksync if the node's validator voting power | ||
is high enough to block the chain while it is not online | ||
([\#3406](https://github.com/cometbft/cometbft/pull/3406)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[p2p]` Node respects configured `max_num_outbound_peers` limit when dialing | ||
peers provided by a seed node | ||
([\#486](https://github.com/cometbft/cometbft/issues/486)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.10/improvements/3382-single-send-monitor-per-packet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[p2p/conn]` Update send monitor, used for sending rate limiting, once per batch of packets sent | ||
([\#3382](https://github.com/cometbft/cometbft/pull/3382)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.10/improvements/3401-allow-dash-in-event-tags.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[libs/pubsub]` Allow dash (`-`) in event tags | ||
([\#3401](https://github.com/cometbft/cometbft/issues/3401)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.10/improvements/3403-remove-pool-buffer-usage-in-secretconn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[p2p/conn]` Remove the usage of a synchronous pool of buffers in secret connection, storing instead the buffer in the connection struct. This reduces the synchronization primitive usage, speeding up the code. | ||
([\#3403](https://github.com/cometbft/cometbft/issues/3403)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*July 16, 2024* | ||
|
||
This release fixes a bug in `v0.38.x` that prevented ABCI responses from being | ||
correctly read when upgrading from `v0.37.x` or below. It also includes a few other | ||
bug fixes and performance improvements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[types]` Only check IFF vote is a non-nil Precommit if extensionsEnabled | ||
types ([\#3565](https://github.com/cometbft/cometbft/issues/3565)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.11/improvements/3544-indexer-break-statement.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[indexer]` Fixed ineffective select break statements; they now | ||
point to their enclosing for loop label to exit | ||
([\#3544](https://github.com/cometbft/cometbft/issues/3544)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*August 12, 2024* | ||
|
||
This release fixes a panic in consensus where CometBFT would previously panic | ||
if there's no extension signature in non-nil Precommit EVEN IF vote extensions | ||
themselves are disabled. | ||
|
||
It also includes a few other bug fixes and performance improvements. |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.12/bug-fixes/0016-abc-light-proposer-priorities.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[light]` Cross-check proposer priorities in retrieved validator sets | ||
([\#ASA-2024-009](https://github.com/cometbft/cometbft/security/advisories/GHSA-g5xx-c4hv-9ccc)) |
1 change: 1 addition & 0 deletions
1
.changelog/v0.38.12/bug-fixes/3828-privval-drop-duplicate-listen.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- `[privval]` Ignore duplicate privval listen when already connected ([\#3828](https://github.com/cometbft/cometbft/issues/3828) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- `[crypto/secp256k1]` Adjust to breaking interface changes in | ||
`btcec/v2` latest release, while avoiding breaking changes to | ||
local CometBFT functions | ||
([\#3728](https://github.com/cometbft/cometbft/pull/3728)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.12/improvements/0016-abc-types-validator-set.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[types]` Check that proposer is one of the validators in `ValidateBasic` | ||
([\#ASA-2024-009](https://github.com/cometbft/cometbft/security/advisories/GHSA-g5xx-c4hv-9ccc)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[e2e]` Add `log_level` option to manifest file | ||
([#3819](https://github.com/cometbft/cometbft/pull/3819)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[e2e]` Add `log_format` option to manifest file | ||
([#3836](https://github.com/cometbft/cometbft/issues/3836)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*September 3, 2024* | ||
|
||
This release includes a security fix for the light client and is recommended | ||
for all users. |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.13/bug-fixes/4019-mempool-metric-rejected-txs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[metrics]` Call unused `rejected_txs` metric in mempool | ||
([\#4019](https://github.com/cometbft/cometbft/pull/4019)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.13/bug-fixes/4295-copy-value-state-indexer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[state/indexer]` Fix the tx_search results not returning all results by changing the logic in the indexer to copy the key and values instead of reusing an iterator. This issue only arises when upgrading to cometbft-db v0.13 or later. | ||
([\#4295](https://github.com/cometbft/cometbft/issues/4295)). Special thanks to @faddat for reporting the issue. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[go/runtime]` Bump Go version to 1.22 | ||
([\#4073](https://github.com/cometbft/cometbft/pull/4073)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Bump cometbft-db version to v0.14.1 | ||
([\#4321](https://github.com/cometbft/cometbft/pull/4321)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- `[crypto]` use decred secp256k1 directly ([#4294](https://github.com/cometbft/cometbft/pull/4294)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.13/improvements/4019-mempool-metric-evicted-txs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[metrics]` Add `evicted_txs` metric to mempool | ||
([\#4019](https://github.com/cometbft/cometbft/pull/4019)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[log]` Change "mempool is full" log to debug level | ||
([\#4123](https://github.com/cometbft/cometbft/pull/4123)) Special thanks to @yihuang. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*October 24, 2024* | ||
|
||
This patch release addresses the issue where tx_search was not returning all results, which only arises when upgrading | ||
to CometBFT-DB version 0.13 or later. It includes a fix in the state indexer to resolve this problem. We recommend | ||
upgrading to this patch release if you are affected by this issue. | ||
|
||
|
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.14/bug-fixes/0021-abc-panic-precommit-validator-index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[consensus]` Do not panic if the validator index of a `Vote` message is out | ||
of bounds, when vote extensions are enabled | ||
([\#ABC-0021](https://github.com/cometbft/cometbft/security/advisories/GHSA-p7mv-53f2-4cwj)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Bump cometbft-db version to v0.15.0 | ||
([\#4297](https://github.com/cometbft/cometbft/pull/4297)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[go/runtime]` Bump Go version to 1.23 | ||
([\#4297](https://github.com/cometbft/cometbft/pull/4297)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.14/improvements/3519-p2p-reconnect-interval-1day.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[p2p]` fix exponential backoff logic to increase reconnect retries close to 24 hours | ||
([\#3519](https://github.com/cometbft/cometbft/issues/3519)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*November 6, 2024* | ||
|
||
This release fixes a security vulnerability in the vote extensions (VE) | ||
validation logic. For more details, please refer to | ||
[ASA-2024-011](https://github.com/cometbft/cometbft/security/advisories/GHSA-p7mv-53f2-4cwj). | ||
|
||
We recommend upgrading ASAP if you’re using vote extensions (VE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*November 6, 2024* | ||
|
||
This release supersedes [`v0.38.14`](#v03814), which mistakenly updated the Go version to | ||
`1.23`, introducing an unintended breaking change. It sets the Go version back | ||
to `1.22.7` by reverting [\#4297](https://github.com/cometbft/cometbft/pull/4297). | ||
|
||
The release includes the bug fixes, performance improvements, and importantly, | ||
the fix for the security vulnerability in the vote extensions (VE) validation | ||
logic that were part of `v0.38.14`. For more details, please refer to [ASA-2024-011](https://github.com/cometbft/cometbft/security/advisories/GHSA-p7mv-53f2-4cwj). |
1 change: 1 addition & 0 deletions
1
.changelog/v0.38.6/bug-fixes/2047-privval-retry-accepting-conn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- `[privval]` Retry accepting a connection ([\#2047](https://github.com/cometbft/cometbft/pull/2047)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[state]` Fix rollback to a specific height | ||
([\#2136](https://github.com/cometbft/cometbft/pull/2136)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[e2e]` Add `block_max_bytes` option to the manifest file. | ||
([\#2362](https://github.com/cometbft/cometbft/pull/2362)) |
2 changes: 2 additions & 0 deletions
2
...og/v0.38.6/improvements/2016-blocksync-avoid-double-calling-block-from-proto.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[blocksync]` Avoid double-calling `types.BlockFromProto` for performance | ||
reasons ([\#2016](https://github.com/cometbft/cometbft/pull/2016)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[e2e]` Add manifest option `load_max_txs` to limit the number of transactions generated by the | ||
`load` command. ([\#2094](https://github.com/cometbft/cometbft/pull/2094)) |
1 change: 1 addition & 0 deletions
1
.changelog/v0.38.6/improvements/2434-jsonrpc-websocket-basic-auth.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- `[jsonrpc]` enable HTTP basic auth in websocket client ([#2434](https://github.com/cometbft/cometbft/pull/2434)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.6/improvements/2467-decrease-n-of-requested-blocks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[blocksync]` make the max number of downloaded blocks dynamic. | ||
Previously it was a const 600. Now it's `peersCount * maxPendingRequestsPerPeer (20)` | ||
[\#2467](https://github.com/cometbft/cometbft/pull/2467) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.6/improvements/2475-blocksync-2nd-request.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[blocksync]` Request a block from peer B if we are approaching pool's height | ||
(less than 50 blocks) and the current peer A is slow in sending us the | ||
block [\#2475](https://github.com/cometbft/cometbft/pull/2475) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.6/improvements/2475-blocksync-no-block-response.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[blocksync]` Request the block N from peer B immediately after getting | ||
`NoBlockResponse` from peer A | ||
[\#2475](https://github.com/cometbft/cometbft/pull/2475) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[blocksync]` Sort peers by download rate (the fastest peer is picked first) | ||
[\#2475](https://github.com/cometbft/cometbft/pull/2475) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*March 12, 2024* | ||
|
||
This release fixes a security bug in the light client. It also introduces many | ||
improvements to the block sync in collaboration with the | ||
[Osmosis](https://osmosis.zone/) team. |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.7/bug-fixes/2225-fix-checktx-request-returns-error.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [`mempool`] Panic when a CheckTx request to the app returns an error | ||
([\#2225](https://github.com/cometbft/cometbft/pull/2225)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [`bits`] prevent `BitArray.UnmarshalJSON` from crashing on 0 bits | ||
([\#2774](https://github.com/cometbft/cometbft/pull/2774)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [`node`] Add `BootstrapStateWithGenProvider` to boostrap state using a custom | ||
genesis doc provider ([\#2793](https://github.com/cometbft/cometbft/pull/2793)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.7/improvements/2839-tx_index-lower-heap-allocation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[state/indexer]` Lower the heap allocation of transaction searches | ||
([\#2839](https://github.com/cometbft/cometbft/pull/2839)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.7/improvements/2841-speedup-bits-pick-random.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[internal/bits]` 10x speedup and remove heap overhead of bitArray.PickRandom (used extensively in consensus gossip) | ||
([\#2841](https://github.com/cometbft/cometbft/pull/2841)). |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.7/improvements/2846-speedup-json-encoding.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[libs/json]` Lower the memory overhead of JSON encoding by using JSON encoders internally | ||
([\#2846](https://github.com/cometbft/cometbft/pull/2846)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*April 26, 2024* | ||
|
||
This release contains a few bug fixes and performance improvements. |
4 changes: 4 additions & 0 deletions
4
.changelog/v0.38.8/breaking-changes/3314-mempool-preupdate.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- `[mempool]` Add to the `Mempool` interface a new method `PreUpdate()`. This method should be | ||
called before acquiring the mempool lock, to signal that a new update is coming. Also add to | ||
`ErrMempoolIsFull` a new field `RecheckFull`. | ||
([\#3314](https://github.com/cometbft/cometbft/pull/3314)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- `[blockstore]` Added peer banning in blockstore | ||
([\#ABC-0013](https://github.com/cometbft/cometbft/security/advisories/GHSA-hg58-rf2h-6rr7)) | ||
- `[blockstore]` Send correct error message when vote extensions do not align with received packet | ||
([\#ABC-0014](https://github.com/cometbft/cometbft/security/advisories/GHSA-hg58-rf2h-6rr7)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [`mempool`] Fix data race when rechecking with async ABCI client | ||
([\#1827](https://github.com/cometbft/cometbft/issues/1827)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/bug-fixes/3092-consensus-timeout-ticker-data-race.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[consensus]` Fix a race condition in the consensus timeout ticker. Race is caused by two timeouts being scheduled at the same time. | ||
([\#3092](https://github.com/cometbft/cometbft/pull/2136)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[types]` Do not batch verify a commit if the validator set keys have different | ||
types. ([\#3195](https://github.com/cometbft/cometbft/issues/3195) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.8/improvements/1827-config-mempool-recheck-timeout.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[config]` Added `recheck_timeout` mempool parameter to set how much time to wait for recheck | ||
responses from the app (only applies to non-local ABCI clients). | ||
([\#1827](https://github.com/cometbft/cometbft/issues/1827/)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/2867-rpc-batch-size-config.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[rpc]` Add a configurable maximum batch size for RPC requests. | ||
([\#2867](https://github.com/cometbft/cometbft/pull/2867)). |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/2911-remove-event-bus-debug-logs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[event-bus]` Remove the debug logs in PublishEventTx, which were noticed production slowdowns. | ||
([\#2911](https://github.com/cometbft/cometbft/pull/2911)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/2924-consensus-cache-block-hash.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[state/execution]` Cache the block hash computation inside of the Block Type, so we only compute it once. | ||
([\#2924](https://github.com/cometbft/cometbft/pull/2924)) |
2 changes: 2 additions & 0 deletions
2
....38.8/improvements/2928-remove-redundant-verifyblock-call-in-finalize-commit.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[consensus/state]` Remove a redundant `VerifyBlock` call in `FinalizeCommit` | ||
([\#2928](https://github.com/cometbft/cometbft/pull/2928)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/2949-reduce-protoio-writer-creation-time.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[p2p/channel]` Speedup `ProtoIO` writer creation time, and thereby speedup channel writing by 5%. | ||
([\#2949](https://github.com/cometbft/cometbft/pull/2949)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/2952-lower-next-packet-msg-time.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[p2p/conn]` Minor speedup (3%) to connection.WritePacketMsgTo, by removing MinInt calls. | ||
([\#2952](https://github.com/cometbft/cometbft/pull/2952)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/2959-speedup-initialized-bitarray-construction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[internal/bits]` 10x speedup creating initialized bitArrays, which speedsup extendedCommit.BitArray(). This is used in consensus vote gossip. | ||
([\#2959](https://github.com/cometbft/cometbft/pull/2841)). |
2 changes: 2 additions & 0 deletions
2
...v0.38.8/improvements/2964-skip-revalidation-of-blockstore-LoadBlockFromMeta-.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[blockstore]` Remove a redundant `Header.ValidateBasic` call in `LoadBlockMeta`, 75% reducing this time. | ||
([\#2964](https://github.com/cometbft/cometbft/pull/2964)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/2986-lower-memory-allocation-in-packet-writing.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[p2p/conn]` Speedup connection.WritePacketMsgTo, by reusing internal buffers rather than re-allocating. | ||
([\#2986](https://github.com/cometbft/cometbft/pull/2986)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/3003-use-lru-caches-in-blockstore.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [`blockstore`] Use LRU caches in blockstore, significiantly improving consensus gossip routine performance | ||
([\#3003](https://github.com/cometbft/cometbft/issues/3003) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.8/improvements/3017-speedup-consensus-metrics.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [`consensus`] Improve performance of consensus metrics by lowering string operations | ||
([\#3017](https://github.com/cometbft/cometbft/issues/3017) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.8/improvements/3019-reduce-allocations-in-packet-reads.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- [`protoio`] Remove one allocation and new object call from `ReadMsg`, | ||
leading to a 4% p2p message reading performance gain. | ||
([\#3018](https://github.com/cometbft/cometbft/issues/3018) |
3 changes: 3 additions & 0 deletions
3
...gelog/v0.38.8/improvements/3314-mempool-update-consider-full-when-rechecking.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- `[mempool]` Before updating the mempool, consider it as full if rechecking is still in progress. | ||
This will stop accepting transactions in the mempool if the node can't keep up with re-CheckTx. | ||
([\#3314](https://github.com/cometbft/cometbft/pull/3314)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*June 27, 2024* | ||
|
||
This release contains a few bug fixes and performance improvements. |
4 changes: 4 additions & 0 deletions
4
.changelog/v0.38.9/breaking-changes/3361-mempool-preupdate.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- `[mempool]` Revert adding the method `PreUpdate()` to the `Mempool` interface, recently introduced | ||
in the previous patch release (v0.38.8). Its logic is now moved into the `Lock` method. With this change, | ||
the `Mempool` interface is the same as in v0.38.7. | ||
([\#3361](https://github.com/cometbft/cometbft/pull/3361)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[rpc]` Fix nil pointer error in `/tx` and `/tx_search` when block is | ||
absent ([\#3352](https://github.com/cometbft/cometbft/issues/3352)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*July 1, 2024* | ||
|
||
This release reverts the API-breaking change to the Mempool interface introduced in the last patch | ||
release (v0.38.8) while still keeping the performance improvement added to the mempool. It also | ||
includes a minor fix to the RPC endpoints /tx and /tx_search. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.