Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(server/v2/cometbft): fix mock store (backport #22293) #22298

Merged
merged 6 commits into from
Oct 17, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 17, 2024

Description

Follow-up of #22285


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title, you can find examples of the prefixes below:

  • confirmed ! in the type prefix if API or client breaking change

  • targeted the correct branch (see PR Targeting)

  • provided a link to the relevant issue or specification

  • reviewed "Files changed" and left comments if necessary

  • included the necessary unit and integration tests

  • added a changelog entry to CHANGELOG.md

  • updated the relevant documentation or specification, including comments for documenting Go code

  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage

Summary by CodeRabbit

  • New Features

    • Updated the storage mechanism to utilize VersionedWriter, enhancing performance and compatibility.
  • Documentation

    • Revised documentation to reflect changes from VersionedDatabase to VersionedWriter across the storage package.
  • Bug Fixes

    • Corrected interface assertions and comments to ensure accurate representation of the StorageStore functionality.

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

(cherry picked from commit f01baf3)

# Conflicts:
#	store/v2/mock/types.go
#	store/v2/storage/README.md
#	store/v2/storage/store.go
@mergify mergify bot requested a review from a team as a code owner October 17, 2024 09:20
@mergify mergify bot added the conflicts label Oct 17, 2024
Copy link
Contributor Author

mergify bot commented Oct 17, 2024

Cherry-pick of f01baf3 has failed:

On branch mergify/bp/release/v0.52.x/pr-22293
Your branch is up to date with 'origin/release/v0.52.x'.

You are currently cherry-picking commit f01baf302.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   server/v2/cometbft/internal/mock/mock_store.go

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by us:   store/v2/mock/types.go
	deleted by us:   store/v2/storage/README.md
	deleted by us:   store/v2/storage/store.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

Copy link
Contributor

@mergify[bot] your pull request is missing a changelog!

@github-actions github-actions bot removed the C:Store label Oct 17, 2024
@julienrbrt julienrbrt merged commit ce839cc into release/v0.52.x Oct 17, 2024
70 of 72 checks passed
@julienrbrt julienrbrt deleted the mergify/bp/release/v0.52.x/pr-22293 branch October 17, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:server/v2 cometbft C:server/v2 Issues related to server/v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant