Skip to content

spec(proto): add cometbft.privval.v1beta2 proto package (backport #2529)#2530

Merged
mzabaluev merged 1 commit intov1.xfrom
mergify/bp/v1.x/pr-2529
Mar 6, 2024
Merged

spec(proto): add cometbft.privval.v1beta2 proto package (backport #2529)#2530
mzabaluev merged 1 commit intov1.xfrom
mergify/bp/v1.x/pr-2529

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Mar 6, 2024

This is an automatic backport of pull request #2529 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

The package is added to represent the privval protocol in CometBFT
0.38.x, since the added field in `SignVoteRequest` (in a string of PRs
ending in #2522) and removal of the (unused) `Errors` enum make v1
different.

---

#### PR checklist

- [ ] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [x] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit 99a5794)
@mergify mergify bot requested a review from a team as a code owner March 6, 2024 13:46
@mergify mergify bot requested a review from a team March 6, 2024 13:46
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.

thanks ❤️

import "tendermint/types/types.proto";
import "gogoproto/gogo.proto";

enum Errors {
Copy link
Collaborator

Choose a reason for hiding this comment

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

unused?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I believe this enum is not used in Go code as well, at least not in code using cometbft.privval.v1. As tendermint.privval should be in sync with v1, it was left there by oversight.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't we nuke all tendermint protos at this stage?

@mzabaluev mzabaluev merged commit a0e5365 into v1.x Mar 6, 2024
@mzabaluev mzabaluev deleted the mergify/bp/v1.x/pr-2529 branch March 6, 2024 13:58
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.

3 participants