forked from cometbft/cometbft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/proto-upgrade
- Loading branch information
Showing
401 changed files
with
13,988 additions
and
3,929 deletions.
There are no files selected for viewing
Empty file.
4 changes: 4 additions & 0 deletions
4
.changelog/unreleased/breaking-changes/1010-mempool-interface.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]` Change the signature of `CheckTx` in the `Mempool` interface to | ||
`CheckTx(tx types.Tx) (*abcicli.ReqRes, error)`. Also, add new method | ||
`SetTxRemovedCallback`. | ||
([\#1010](https://github.com/cometbft/cometbft/issues/1010)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/breaking-changes/1096-state-store-adr101-methods.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]` The `state.Store` interface has been expanded | ||
to accommodate the data pull companion API of ADR 101 | ||
([\#1096](https://github.com/cometbft/cometbft/issues/1096)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/breaking-changes/1146-mempool-remove-ids.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]` Remove `mempoolIDs` for internally storing peer ids as `p2p.ID` | ||
instead of `uint16`. | ||
([\#1146](https://github.com/cometbft/cometbft/pull/1146)) |
4 changes: 4 additions & 0 deletions
4
.changelog/unreleased/breaking-changes/1170-rm-replay-cmds.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 @@ | ||
- `[cmd]` Remove `replay` and `replay-console` subcommands | ||
and corresponding consensus file replay code, such as | ||
`consensus.RunReplayFile`, and `consensus.State.ReplayFile` | ||
([\#1170](https://github.com/cometbft/cometbft/pull/1170)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/breaking-changes/1176-blockindexer-pruning.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/block]` BlockIndexer now has additional method `Prune`, `GetRetainHeight`, `SetRetainHeight` ([\#1176](https://github.com/cometbft/cometbft/pull/1176)) | ||
- `[state/txindex]` TxIndexer now has additional methods: `Prune`, `GetRetainHeight`, `SetRetainHeight` ([\#1176](https://github.com/cometbft/cometbft/pull/1176)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/breaking-changes/1287-genesis-doc-hash-from-file.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 @@ | ||
- `[node]` Change the signature of `GenesisDocProvider` to | ||
return the checksum of JSON content alongside the parsed genesis data | ||
([\#1287](https://github.com/cometbft/cometbft/issues/1287)). |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/breaking-changes/1324-load-state-from-gen-file-api.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 @@ | ||
- `[node]` Go-API breaking: Change the signature of `LoadStateFromDBOrGenesisDocProvider` | ||
to accept an optional operator provided hash of the genesis file | ||
([\#1324](https://github.com/cometbft/cometbft/pull/1324)). |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/breaking-changes/1411-bump-p2p-version.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 @@ | ||
- `[version]` Bumped the P2P version from 8 to 9, as this release contains new P2P messages. | ||
([\#1411](https://github.com/cometbft/cometbft/pull/1411)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/bug-fixes/1175-consensus-prevote-improve-logic.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]` \#1203 consensus now prevotes `nil` when the proposed value | ||
does not match the value the local validator has locked on | ||
([\#1203](https://github.com/cometbft/cometbft/pull/1203)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/bug-fixes/1175-consensus-remove-unlock-behavior.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]` \#1175 remove logic to unlock block on +2/3 prevote for nil | ||
([\#1175](https://github.com/cometbft/cometbft/pull/1175): @BrendanChou) |
This file was deleted.
Oops, something went wrong.
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 `[storage.pruning]` and `[storage.pruning.data_companion]` | ||
sections to facilitate background pruning and data companion (ADR 101) | ||
operations ([\#1096](https://github.com/cometbft/cometbft/issues/1096)) |
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 @@ | ||
- `[node]` The `node.Node` struct now manages a | ||
`state.Pruner` service to facilitate background pruning | ||
([\#1096](https://github.com/cometbft/cometbft/issues/1096)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/enhancements/1096-state-abcires-pruning.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]` ABCI response pruning has been added for use by the data companion | ||
([\#1096](https://github.com/cometbft/cometbft/issues/1096)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/enhancements/1096-state-background-pruning.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]` Block pruning has been moved from the block executor into a | ||
background process ([\#1096](https://github.com/cometbft/cometbft/issues/1096)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/features/1094-grpc-block-service-cfg.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 @@ | ||
- `[config]` Add `[grpc.block_service]` section to configure gRPC `BlockService` | ||
([\#1094](https://github.com/cometbft/cometbft/issues/1094)) |
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 @@ | ||
- `[grpc]` Add `BlockService` with client to facilitate fetching of blocks and | ||
streaming of the latest committed block height | ||
([\#1094](https://github.com/cometbft/cometbft/issues/1094)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/features/1095-grpc-block-results-service-cfg.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 @@ | ||
- `[config]` Add `[grpc.block_results_service]` gRPC configuration `BlockResultsService` | ||
([\#1095](https://github.com/cometbft/cometbft/issues/1095)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/features/1095-grpc-block-results-service.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 @@ | ||
- `[grpc]` Add `BlockResultsService` with client to fetch BlockResults | ||
for a given height, or latest. | ||
([\#1095](https://github.com/cometbft/cometbft/issues/1095)) |
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,23 @@ | ||
- `[proto]` Add definitions and generated code for [ADR-101] `PruningService` | ||
in the `tendermint.services.pruning.v1` proto package | ||
([\#1097](https://github.com/cometbft/cometbft/issues/1097)). | ||
- `[rpc/grpc]` Add privileged gRPC server and client facilities, in | ||
`server/privileged` and `client/privileged` packages respectively, to | ||
enable a separate API server within the node which serves trusted clients | ||
without authentication and should never be exposed to public internet | ||
([\#1097](https://github.com/cometbft/cometbft/issues/1097)). | ||
- `[rpc/grpc]` Add a pruning service adding on the privileged gRPC | ||
server API to give an [ADR-101] data companion control over block data | ||
retained by the node. The `WithPruningService` option method in | ||
`server/privileged` is provided to configure the pruning service | ||
([\#1097](https://github.com/cometbft/cometbft/issues/1097)). | ||
- `[rpc/grpc]` Add `PruningServiceClient` interface | ||
for the gRPC client in `client/privileged` along with a configuration option | ||
to enable it | ||
([\#1097](https://github.com/cometbft/cometbft/issues/1097)). | ||
- `[config]` Add `[grpc.privileged]` section to configure the privileged | ||
gRPC server for the node, and `[grpc.privileged.pruning_service]` section | ||
to control the pruning service | ||
([\#1097](https://github.com/cometbft/cometbft/issues/1097)). | ||
|
||
[ADR-101]: https://github.com/cometbft/cometbft/pull/82 |
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 metrics to monitor pruning and current available data in stores: `PruningServiceBlockRetainHeight`, `PruningServiceBlockResultsRetainHeight`, `ApplicationBlockRetainHeight`, `BlockStoreBaseHeight`, `ABCIResultsBaseHeight`. | ||
([\#1234](https://github.com/cometbft/cometbft/pull/1234)) |
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/grpc]` Add gRPC endpoint for pruning the block and transaction indexes | ||
([\#1327](https://github.com/cometbft/cometbft/pull/1327)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/features/1334-metrics-for-index-pruning.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]` Add TxIndexer and BlockIndexer pruning metrics | ||
([\#1334](https://github.com/cometbft/cometbft/issues/1334)) |
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/grpc]` Add gRPC client with support for version service | ||
([\#816](https://github.com/cometbft/cometbft/issues/816)) |
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/grpc]` Add gRPC server to the node, configurable | ||
via a new `[grpc]` section in the configuration file | ||
([\#816](https://github.com/cometbft/cometbft/issues/816)) |
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/grpc]` Add gRPC version service to allow clients to | ||
establish the software and protocol versions of the node | ||
([\#816](https://github.com/cometbft/cometbft/issues/816)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/improvements/1017-remove-genesis-persistence-in-state-db.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 @@ | ||
- `[node]` Remove genesis persistence in state db, replaced by a hash | ||
([cometbft/cometbft\#1017](https://github.com/cometbft/cometbft/pull/1017), | ||
[cometbft/cometbft\#1295](https://github.com/cometbft/cometbft/pull/1295)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/1022-log-invalid-vote-extension.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]` Log vote validation failures at info level | ||
([\#1022](https://github.com/cometbft/cometbft/pull/1022)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/improvements/1230-consensus-process-proposal-once.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]` When prevoting, avoid calling PropocessProposal when we know the | ||
proposal was already validated by correct nodes. | ||
([\#1230](https://github.com/cometbft/cometbft/pull/1230)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/1297-remove-genesis-from-db-upgrade.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 @@ | ||
- `[node]` On upgrade, after [\#1296](https://github.com/cometbft/cometbft/pull/1296), delete the genesis file existing in the DB. | ||
([cometbft/cometbft\#1297](https://github.com/cometbft/cometbft/pull/1297) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/improvements/1324-cli-genesis-hash-checked-on-load.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 @@ | ||
- `[cli/node]` The genesis hash provided with the `--genesis-hash` is now | ||
forwarded to the node, instead of reading the file. | ||
([\#1324](https://github.com/cometbft/cometbft/pull/1324)). |
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]` Add transaction and block index pruning | ||
([\#1176](https://github.com/cometbft/cometbft/pull/1176)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/896-consensus-metric-duplicates.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]` New metrics (counters) to track duplicate votes and block parts. | ||
([\#896](https://github.com/cometbft/cometbft/pull/896)) |
6 changes: 6 additions & 0 deletions
6
.changelog/unreleased/improvements/904-gossip-sleep-had-block-part.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,6 @@ | ||
- `[consensus]` Optimize vote and block part gossip with new message `HasProposalBlockPartMessage`, | ||
which is similar to `HasVoteMessage`; and random sleep in the loop broadcasting those messages. | ||
The sleep can be configured with new config `peer_gossip_intraloop_sleep_duration`, which is set to 0 | ||
by default as this is experimental. | ||
Our scale tests show substantial bandwith improvement with a value of 50 ms. | ||
([\#904](https://github.com/cometbft/cometbft/pull/904)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/minimum-go-version/1244-bump-go-version.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 @@ | ||
- Bump minimum Go version to v1.21 | ||
([\#1244](https://github.com/cometbft/cometbft/pull/1244)) |
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
.changelog/v0.34.28/bug-fixes/496-error-on-applyblock-should-panic.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]` Unexpected error conditions in `ApplyBlock` are non-recoverable, so ignoring the error and carrying on is a bug. We replaced a `return` that disregarded the error by a `panic`. | ||
([\#496](https://github.com/cometbft/cometbft/pull/496)) |
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]` Rename `(*PeerState).ToJSON` to `MarshalJSON` to fix a logging data race | ||
([\#524](https://github.com/cometbft/cometbft/pull/524)) |
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,6 @@ | ||
- `[light]` Fixed an edge case where a light client would panic when attempting | ||
to query a node that (1) has started from a non-zero height and (2) does | ||
not yet have any data. The light client will now, correctly, not panic | ||
_and_ keep the node in its list of providers in the same way it would if | ||
it queried a node starting from height zero that does not yet have data | ||
([\#575](https://github.com/cometbft/cometbft/issues/575)) |
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/sr25519]` Upgrade to go-schnorrkel@v1.0.0 ([\#475](https://github.com/cometbft/cometbft/issues/475)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*April 26, 2023* | ||
|
||
This release fixes several bugs, and has had to introduce one small Go | ||
API-breaking change in the `crypto/merkle` package in order to address what | ||
could be a security issue for some users who directly and explicitly make use of | ||
that code. |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.34.29/bug-fixes/771-kvindexer-parsing-big-ints.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/kvindex]` Querying event attributes that are bigger than int64 is now | ||
enabled. ([\#771](https://github.com/cometbft/cometbft/pull/771)) |
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 @@ | ||
- `[pubsub]` Pubsub queries are now able to parse big integers (larger than | ||
int64). Very big floats are also properly parsed into very big integers | ||
instead of being truncated to int64. | ||
([\#771](https://github.com/cometbft/cometbft/pull/771)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.34.29/improvements/654-rpc-rm-response-data-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,3 @@ | ||
- `[rpc]` Remove response data from response failure logs in order | ||
to prevent large quantities of log data from being produced | ||
([\#654](https://github.com/cometbft/cometbft/issues/654)) |
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/jsonrpc/client]` **Low severity** - Prevent RPC | ||
client credentials from being inadvertently dumped to logs | ||
([\#788](https://github.com/cometbft/cometbft/pull/788)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.34.29/security-fixes/794-cli-debug-kill-unsafe-cast.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 @@ | ||
- `[cmd/cometbft/commands/debug/kill]` **Low severity** - Fix unsafe int cast in | ||
`debug kill` command ([\#794](https://github.com/cometbft/cometbft/pull/794)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.34.29/security-fixes/865-fix-peerstate-marshaljson.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]` **Low severity** - Avoid recursive call after rename to | ||
`(*PeerState).MarshalJSON` | ||
([\#863](https://github.com/cometbft/cometbft/pull/863)) |
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/clist_mempool]` **Low severity** - Prevent a transaction from | ||
appearing twice in the mempool | ||
([\#890](https://github.com/cometbft/cometbft/pull/890): @otrack) |
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 @@ | ||
*June 14, 2023* | ||
|
||
Provides several minor bug fixes, as well as fixes for several low-severity | ||
security issues. |
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 @@ | ||
- `[crypto/merkle]` Do not allow verification of Merkle Proofs against empty trees (`nil` root). `Proof.ComputeRootHash` now panics when it encounters an error, but `Proof.Verify` does not panic | ||
([\#558](https://github.com/cometbft/cometbft/issues/558)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.37.1/bug-fixes/496-error-on-applyblock-should-panic.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]` Unexpected error conditions in `ApplyBlock` are non-recoverable, so ignoring the error and carrying on is a bug. We replaced a `return` that disregarded the error by a `panic`. | ||
([\#496](https://github.com/cometbft/cometbft/pull/496)) |
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]` Rename `(*PeerState).ToJSON` to `MarshalJSON` to fix a logging data race | ||
([\#524](https://github.com/cometbft/cometbft/pull/524)) |
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,6 @@ | ||
- `[light]` Fixed an edge case where a light client would panic when attempting | ||
to query a node that (1) has started from a non-zero height and (2) does | ||
not yet have any data. The light client will now, correctly, not panic | ||
_and_ keep the node in its list of providers in the same way it would if | ||
it queried a node starting from height zero that does not yet have data | ||
([\#575](https://github.com/cometbft/cometbft/issues/575)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.37.1/improvements/638-json-rpc-error-message.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 @@ | ||
- `[jsonrpc/client]` Improve the error message for client errors stemming from | ||
bad HTTP responses. | ||
([cometbft/cometbft\#638](https://github.com/cometbft/cometbft/pull/638)) |
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,6 @@ | ||
*April 26, 2023* | ||
|
||
This release fixes several bugs, and has had to introduce one small Go | ||
API-breaking change in the `crypto/merkle` package in order to address what | ||
could be a security issue for some users who directly and explicitly make use of | ||
that code. |
4 changes: 4 additions & 0 deletions
4
.changelog/v0.37.2/bug-fixes/771-kvindexer-parsing-big-ints.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 @@ | ||
- `[state/kvindex]` Querying event attributes that are bigger than int64 is now | ||
enabled. We are not supporting reading floats from the db into the indexer | ||
nor parsing them into BigFloats to not introduce breaking changes in minor | ||
releases. ([\#771](https://github.com/cometbft/cometbft/pull/771)) |
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 @@ | ||
- `[pubsub]` Pubsub queries are now able to parse big integers (larger than | ||
int64). Very big floats are also properly parsed into very big integers | ||
instead of being truncated to int64. | ||
([\#771](https://github.com/cometbft/cometbft/pull/771)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.37.2/improvements/654-rpc-rm-response-data-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,3 @@ | ||
- `[rpc]` Remove response data from response failure logs in order | ||
to prevent large quantities of log data from being produced | ||
([\#654](https://github.com/cometbft/cometbft/issues/654)) |
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/jsonrpc/client]` **Low severity** - Prevent RPC | ||
client credentials from being inadvertently dumped to logs | ||
([\#787](https://github.com/cometbft/cometbft/pull/787)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.37.2/security-fixes/793-cli-debug-kill-unsafe-cast.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 @@ | ||
- `[cmd/cometbft/commands/debug/kill]` **Low severity** - Fix unsafe int cast in | ||
`debug kill` command ([\#793](https://github.com/cometbft/cometbft/pull/793)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.37.2/security-fixes/865-fix-peerstate-marshaljson.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]` **Low severity** - Avoid recursive call after rename to | ||
`(*PeerState).MarshalJSON` | ||
([\#863](https://github.com/cometbft/cometbft/pull/863)) |
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/clist_mempool]` **Low severity** - Prevent a transaction from | ||
appearing twice in the mempool | ||
([\#890](https://github.com/cometbft/cometbft/pull/890): @otrack) |
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 @@ | ||
*June 14, 2023* | ||
|
||
Provides several minor bug fixes, as well as fixes for several low-severity | ||
security issues. |
4 changes: 4 additions & 0 deletions
4
.changelog/v0.38.0/breaking-changes/1057-bootstrap-state-api.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 @@ | ||
- `[node/state]` Add Go API to bootstrap block store and state store to a height. Make sure block sync starts syncing from bootstrapped height. | ||
([\#1057](https://github.com/tendermint/tendermint/pull/#1057)) (@yihuang) | ||
- `[state/store]` Added Go functions to save height at which offline state sync is performed. | ||
([\#1057](https://github.com/tendermint/tendermint/pull/#1057)) (@jmalicevic) |
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]` Remove UPnP functionality | ||
([\#1113](https://github.com/cometbft/cometbft/issues/1113)) |
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 @@ | ||
- `[node]` Removed `ConsensusState()` accessor from `Node` | ||
struct - all access to consensus state should go via the reactor | ||
([\#1120](https://github.com/cometbft/cometbft/pull/1120)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.0/breaking-changes/1270-executor_extend_vote.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]` Signature of `ExtendVote` changed in `BlockExecutor`. | ||
It now includes the block whose precommit will be extended, an the state object. | ||
([\#1270](https://github.com/cometbft/cometbft/pull/1270)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/260-remove-priority-mempool-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 @@ | ||
- `[config]` Remove `Version` field from `MempoolConfig`. | ||
([\#260](https://github.com/cometbft/cometbft/issues/260)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/260-remove-priority-mempool-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 @@ | ||
- `[protobuf]` Remove fields `sender`, `priority`, and `mempool_error` from | ||
`ResponseCheckTx`. ([\#260](https://github.com/cometbft/cometbft/issues/260)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/260-remove-priority-mempool.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]` Remove priority mempool. | ||
([\#260](https://github.com/cometbft/cometbft/issues/260)) |
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 @@ | ||
- `[crypto/merkle]` Do not allow verification of Merkle Proofs against empty trees (`nil` root). `Proof.ComputeRootHash` now panics when it encounters an error, but `Proof.Verify` does not panic | ||
([\#558](https://github.com/cometbft/cometbft/issues/558)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/6541-state-move-pruneblocks-execution.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]` Move pruneBlocks from node/state to state/execution. | ||
([\#6541](https://github.com/tendermint/tendermint/pull/6541)) |
3 changes: 3 additions & 0 deletions
3
...og/v0.38.0/breaking-changes/774-state-indexerevent-remove-function-type copy.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 @@ | ||
- `[rpc]` Removed `begin_block_events` and `end_block_events` from `BlockResultsResponse`. | ||
The events are merged into one field called `finalize_block_events`. | ||
([\#9427](https://github.com/tendermint/tendermint/issues/9427)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.0/breaking-changes/774-state-indexerevent-remove-function-type.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/kvindexer]` Remove the function type from the event key stored in the database. This should be breaking only | ||
for people who forked CometBFT and interact directly with the indexers kvstore. | ||
([\#774](https://github.com/cometbft/cometbft/pull/774)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.0/breaking-changes/797-kvindexer-support-for-big-numbers.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 @@ | ||
- `[kvindexer]` Added support for big integers and big floats in the kvindexer. | ||
Breaking changes: function `Number` in package `libs/pubsub/query/syntax` changed its return value. | ||
([\#797](https://github.com/cometbft/cometbft/pull/797)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.0/breaking-changes/797-pubsub-support-for-big-numbers.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 @@ | ||
- `[pubsub]` Added support for big integers and big floats in the pubsub event query system. | ||
Breaking changes: function `Number` in package `libs/pubsub/query/syntax` changed its return value. | ||
([\#797](https://github.com/cometbft/cometbft/pull/797)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/8664-move-app-hash-to-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 @@ | ||
- `[abci]` Move `app_hash` parameter from `Commit` to `FinalizeBlock` | ||
([\#8664](https://github.com/tendermint/tendermint/pull/8664)) |
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 @@ | ||
- `[abci]` Introduce `FinalizeBlock` which condenses `BeginBlock`, `DeliverTx` | ||
and `EndBlock` into a single method call | ||
([\#9468](https://github.com/tendermint/tendermint/pull/9468)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/9625-p2p-remove-trust-package.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]` Remove unused p2p/trust package | ||
([\#9625](https://github.com/tendermint/tendermint/pull/9625)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.38.0/breaking-changes/9655-inspect-add-command.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 @@ | ||
- `[inspect]` Add a new `inspect` command for introspecting | ||
the state and block store of a crashed tendermint node. | ||
([\#9655](https://github.com/tendermint/tendermint/pull/9655)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/9655-node-move-DB-vars-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 @@ | ||
- `[node]` Move DBContext and DBProvider from the node package to the config | ||
package. ([\#9655](https://github.com/tendermint/tendermint/pull/9655)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.38.0/breaking-changes/9655-rpc-remove-environment-var.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]` Remove global environment and replace with constructor | ||
([\#9655](https://github.com/tendermint/tendermint/pull/9655)) |
4 changes: 4 additions & 0 deletions
4
.changelog/v0.38.0/breaking-changes/9682-metrics-refactor-state-block-synching.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 @@ | ||
- `[metrics]` Move state-syncing and block-syncing metrics to | ||
their respective packages. Move labels from block_syncing | ||
-> blocksync_syncing and state_syncing -> statesync_syncing | ||
([\#9682](https://github.com/tendermint/tendermint/pull/9682)) |
9 changes: 9 additions & 0 deletions
9
.changelog/v0.38.0/breaking-changes/980-max-size-more-control.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,9 @@ | ||
- `[mempool]` Application can now set `ConsensusParams.Block.MaxBytes` to -1 | ||
to have visibility on all transactions in the | ||
mempool at `PrepareProposal` time. | ||
This means that the total size of transactions sent via `RequestPrepareProposal` | ||
might exceed `RequestPrepareProposal.max_tx_bytes`. | ||
If that is the case, the application MUST make sure that the total size of transactions | ||
returned in `ResponsePrepareProposal.txs` does not exceed `RequestPrepareProposal.max_tx_bytes`, | ||
otherwise CometBFT will panic. | ||
([\#980](https://github.com/cometbft/cometbft/issues/980)) |
Oops, something went wrong.