Skip to content

fix(spec/abci): Added proper description of ExtendedVoteInfo and VoteInfo#4460

Merged
jmalicevic merged 13 commits intomainfrom
jasmina/fix-abci-spec
Nov 13, 2024
Merged

fix(spec/abci): Added proper description of ExtendedVoteInfo and VoteInfo#4460
jmalicevic merged 13 commits intomainfrom
jasmina/fix-abci-spec

Conversation

@jmalicevic
Copy link
Collaborator

@jmalicevic jmalicevic commented Nov 8, 2024

Closes #4458


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

@jmalicevic jmalicevic added abci Application blockchain interface spec Specification-related labels Nov 8, 2024
@jmalicevic jmalicevic added this to the 2024-Q4 milestone Nov 8, 2024
@jmalicevic jmalicevic self-assigned this Nov 8, 2024
@jmalicevic jmalicevic requested review from a team as code owners November 8, 2024 18:33
@jmalicevic jmalicevic added backport-to-v0.38.x Tell Mergify to backport the PR to v0.38.x backport-to-v1.x labels Nov 8, 2024
Copy link
Collaborator

@andynog andynog left a comment

Choose a reason for hiding this comment

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

lgtm

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Copy link

@cason cason left a comment

Choose a reason for hiding this comment

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

Thank you for this. Left a couple of comments and suggestions.

We should fix the VoteInfo description as well.

* This information is extracted from CometBFT's data structures in the local process.
* `vote_extension` contains the sending validator's vote extension, which is signed by CometBFT. It can be empty
* `extension_signature` contains all the signatures that signed the vote. This way, when this is passed to the application, it can
verify the signatures that signed the vote.
Copy link

Choose a reason for hiding this comment

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

Actually, this is not the point here. Comet has verified the signature, otherwise it would not appear here. We render it available in the case the application needs it for any different reason.

@cason cason changed the title fix(spec): Added proper description of ExtendedVoteInfo fix(spec/abci): Added proper description of ExtendedVoteInfo Nov 11, 2024
…4485)

To be merged against #4460.

Fixed some markdown tables as well.

---

#### PR checklist

- [ ] Tests written/updated
- [ ] 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
@jmalicevic jmalicevic changed the title fix(spec/abci): Added proper description of ExtendedVoteInfo fix(spec/abci): Added proper description of ExtendedVoteInfo and VoteInfo Nov 13, 2024
@jmalicevic jmalicevic enabled auto-merge November 13, 2024 15:13
@jmalicevic jmalicevic added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit 41d522a Nov 13, 2024
@jmalicevic jmalicevic deleted the jasmina/fix-abci-spec branch November 13, 2024 15:17
mergify bot added a commit that referenced this pull request Nov 13, 2024
…oteInfo` (#4460)

Closes #4458

---

#### PR checklist

- [ ] Tests written/updated
- [ ] 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

---------

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Daniel <daniel.cason@informal.systems>
(cherry picked from commit 41d522a)
mergify bot added a commit that referenced this pull request Nov 13, 2024
…oteInfo` (#4460)

Closes #4458

---

#### PR checklist

- [ ] Tests written/updated
- [ ] 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

---------

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Daniel <daniel.cason@informal.systems>
(cherry picked from commit 41d522a)
jmalicevic added a commit that referenced this pull request Nov 13, 2024
…oteInfo` (backport #4460) (#4487)

Closes #4458 

---

#### PR checklist

- [ ] Tests written/updated
- [ ] 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
<hr>This is an automatic backport of pull request #4460 done by
[Mergify](https://mergify.com).

Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
jmalicevic added a commit that referenced this pull request Nov 13, 2024
…oteInfo` (backport #4460) (#4488)

Closes #4458 

---

#### PR checklist

- [ ] Tests written/updated
- [ ] 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
<hr>This is an automatic backport of pull request #4460 done by
[Mergify](https://mergify.com).

Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

abci Application blockchain interface backport-to-v0.38.x Tell Mergify to backport the PR to v0.38.x spec Specification-related

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

fix(spec): ABCI Spec missing field in ExtendedVoteInfo and VoteInfo

3 participants