Skip to content

feat(storage): Add unit tests for pebble implementation of Batch interface.#4522

Merged
alesforz merged 6 commits intofeature/remove-cometbftdbfrom
alesforz/test-pebble-batch
Nov 22, 2024
Merged

feat(storage): Add unit tests for pebble implementation of Batch interface.#4522
alesforz merged 6 commits intofeature/remove-cometbftdbfrom
alesforz/test-pebble-batch

Conversation

@alesforz
Copy link
Collaborator

@alesforz alesforz commented Nov 21, 2024

Partially addresses #4486.

Context

CometBFT will stop importing cometbft-db as a dependency to support multiple database backends. Instead, it will use pebble by default.

Changes

This PR adds unit tests to the pebble implementation of the Batch interface that CometBFT will use once we remove cometbft-db.


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

@alesforz alesforz self-assigned this Nov 21, 2024
@alesforz alesforz added storage P:tech-debt Priority: Technical debt that needs to be paid off to enable us to move faster, reliably testing related to unit testing in general labels Nov 21, 2024
@alesforz alesforz mentioned this pull request Nov 21, 2024
9 tasks
@alesforz alesforz marked this pull request as ready for review November 22, 2024 09:36
@alesforz alesforz requested a review from a team as a code owner November 22, 2024 09:36
@alesforz alesforz requested a review from a team November 22, 2024 09:36
Copy link
Collaborator

@melekes melekes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alesforz alesforz merged commit 490754b into feature/remove-cometbftdb Nov 22, 2024
@alesforz alesforz deleted the alesforz/test-pebble-batch branch November 22, 2024 10:40
@jmalicevic jmalicevic added this to the 2024-Q4 milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P:tech-debt Priority: Technical debt that needs to be paid off to enable us to move faster, reliably storage testing related to unit testing in general

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants