Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 29, 2024

The mempool benchmarks were invalid due to an incorrect transaction payload. To see this, one may run go test -v -count 1 -bench ^BenchmarkCheckTx$ -test.run ^$ against main from the mempool directory. These modificationss fix such a problem and add a new benchmark to exercicemempool:update.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

This is an automatic backport of pull request #934 done by [Mergify](https://mergify.com).
This is an automatic backport of pull request #3893 done by [Mergify](https://mergify.com).

The mempool
[benchmarks](https://github.com/cometbft/cometbft/blob/main/mempool/bench_test.go)
were invalid due to an incorrect transaction payload. To see this, one
may run `go test -v -count 1 -bench ^BenchmarkCheckTx$ -test.run ^$`
against `main` from the `mempool` directory. These modificationss fix
such a problem and add a new benchmark to exercice`mempool:update`.

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments

<hr>This is an automatic backport of pull request #934 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Pierre Sutra <0track@gmail.com>
Co-authored-by: hvanz <hernan.vanzetto@gmail.com>
(cherry picked from commit 969c8d1)
@mergify mergify bot requested a review from a team as a code owner August 29, 2024 08:31
@hvanz hvanz self-assigned this Aug 29, 2024
@hvanz hvanz merged commit b3e9f0a into v0.38.x-experimental Sep 2, 2024
16 of 17 checks passed
@hvanz hvanz deleted the mergify/bp/v0.38.x-experimental/pr-3893 branch September 2, 2024 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant