Skip to content

Commit

Permalink
Merge branch 'main' into feature/proto-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Oct 6, 2023
2 parents 3eed8fc + 485ef36 commit ca85f82
Show file tree
Hide file tree
Showing 401 changed files with 13,988 additions and 3,929 deletions.
Empty file added .changelog/unreleased/.gitkeep
Empty file.
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))
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))
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 .changelog/unreleased/breaking-changes/1170-rm-replay-cmds.md
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))
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))
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)).
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)).
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))
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))
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)
1 change: 0 additions & 1 deletion .changelog/unreleased/bug-fixes/890-mempool-fix-cache.md

This file was deleted.

3 changes: 3 additions & 0 deletions .changelog/unreleased/enhancements/1096-config-pruner.md
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))
3 changes: 3 additions & 0 deletions .changelog/unreleased/enhancements/1096-node-pruner.md
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))
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))
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 .changelog/unreleased/features/1094-grpc-block-service-cfg.md
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))
3 changes: 3 additions & 0 deletions .changelog/unreleased/features/1094-grpc-block-service.md
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))
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))
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))
23 changes: 23 additions & 0 deletions .changelog/unreleased/features/1097-pruning-service.md
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
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/1234-pruning-metrics.md
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/1327-grpc-pruning-indexer.md
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))
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/816-grpc-client.md
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))
3 changes: 3 additions & 0 deletions .changelog/unreleased/features/816-grpc-server.md
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))
3 changes: 3 additions & 0 deletions .changelog/unreleased/features/816-grpc-version-service.md
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))
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))
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))
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))
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)
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)).
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/169-tx_index-pruning.md
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))
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))
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))
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))
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))
2 changes: 2 additions & 0 deletions .changelog/v0.34.28/bug-fixes/524-rename-peerstate-tojson.md
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))
6 changes: 6 additions & 0 deletions .changelog/v0.34.28/bug-fixes/575-fix-light-client-panic.md
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))
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))
6 changes: 6 additions & 0 deletions .changelog/v0.34.28/summary.md
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.
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))
4 changes: 4 additions & 0 deletions .changelog/v0.34.29/bug-fixes/771-pubsub-parsing-big-ints.md
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))
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))
3 changes: 3 additions & 0 deletions .changelog/v0.34.29/security-fixes/788-rpc-client-pw.md
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))
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))
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))
3 changes: 3 additions & 0 deletions .changelog/v0.34.29/security-fixes/890-mempool-fix-cache.md
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)
4 changes: 4 additions & 0 deletions .changelog/v0.34.29/summary.md
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.
2 changes: 2 additions & 0 deletions .changelog/v0.37.1/breaking-changes/558-tm10011.md
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))
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))
2 changes: 2 additions & 0 deletions .changelog/v0.37.1/bug-fixes/524-rename-peerstate-tojson.md
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))
6 changes: 6 additions & 0 deletions .changelog/v0.37.1/bug-fixes/575-fix-light-client-panic.md
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 .changelog/v0.37.1/improvements/638-json-rpc-error-message.md
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))
6 changes: 6 additions & 0 deletions .changelog/v0.37.1/summary.md
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.
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))
4 changes: 4 additions & 0 deletions .changelog/v0.37.2/bug-fixes/771-pubsub-parsing-big-ints.md
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))
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))
3 changes: 3 additions & 0 deletions .changelog/v0.37.2/security-fixes/787-rpc-client-pw.md
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))
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))
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))
3 changes: 3 additions & 0 deletions .changelog/v0.37.2/security-fixes/890-mempool-fix-cache.md
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)
4 changes: 4 additions & 0 deletions .changelog/v0.37.2/summary.md
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.
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)
2 changes: 2 additions & 0 deletions .changelog/v0.38.0/breaking-changes/1113-rm-upnp.md
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))
3 changes: 3 additions & 0 deletions .changelog/v0.38.0/breaking-changes/1120-node-api-cleanup.md
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))
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))
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))
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))
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))
2 changes: 2 additions & 0 deletions .changelog/v0.38.0/breaking-changes/558-tm10011.md
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))
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))
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))
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))
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))
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))
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))
3 changes: 3 additions & 0 deletions .changelog/v0.38.0/breaking-changes/9468-finalize-block.md
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))
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))
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))
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))
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))
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))
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))
Loading

0 comments on commit ca85f82

Please sign in to comment.