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.
BREAKING CHANGES
[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)
BUG FIXES
[rpc] Fix nil pointer error in /tx and /tx_search when block is
absent (#3352)
v0.38.8
June 27, 2024
This release contains a few bug fixes and performance improvements.
BREAKING CHANGES
[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)
BUG FIXES
[mempool] Fix data race when rechecking with async ABCI client
(#1827)
[consensus] Fix a race condition in the consensus timeout ticker. Race is caused by two timeouts being scheduled at the same time.
(#3092)
[types] Do not batch verify a commit if the validator set keys have different
types. (#3195
IMPROVEMENTS
[blockstore] Added peer banning in blockstore
(#ABC-0013)
[blockstore] Send correct error message when vote extensions do not align with received packet
(#ABC-0014)
[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).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/cometbft/cometbft from 0.37.7 to 0.38.9.
Release notes
Sourced from github.com/cometbft/cometbft's releases.
Changelog
Sourced from github.com/cometbft/cometbft's changelog.
... (truncated)
Commits
4e83f9d
Release/v0.38.9 (#3387)1fd2b98
build(deps): Bump docker/build-push-action from 6.1.0 to 6.2.0 (#3381)1e22f66
refactor(mempool)!: remove PreUpdate from Mempool interface and move its logi...4027622
fix(rpc): fix nil pointer error in/tx
and/tx_search
(backport #3355) (#...6959205
Release/v0.38.8 (#3350)8ba2e4f
Merge pull request from GHSA-hg58-rf2h-6rr70a89ec1
Update blocksync/pool_test.go065810c
Readded good peer to test007efd7
Removed defers from test4199f27
Remove one thread to make test more compactDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show