Skip to content

fix(e2e): Reduce size of generated vote extensions and don't convert to Hex - #4721

Merged
jmalicevic merged 10 commits into
mainfrom
jasmina/tmp-fix-e2e-nonrpve
Dec 23, 2024
Merged

jmalicevic merged 10 commits into
mainfrom
jasmina/tmp-fix-e2e-nonrpve

Conversation

@jmalicevic

@jmalicevic jmalicevic commented Dec 23, 2024 •

Copy link
Copy Markdown
Collaborator

PR #4688 increased the size of vote extensions used in the e2e app which resulted in e2e tests failing because the messages were too big.

This PR does two things:

  • Does not convert the Non replay-protected vote extensions to a Hex String (as this doubles their size).
  • Uses a lower value for the generated VEs because this value will in practice be doubled (if the configuration size is 256, we will have VoteExtension of size 256 and NonRpExtension of size 256).

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 the e2e Related to our end-to-end tests label Dec 23, 2024
@jmalicevic jmalicevic added this to the 2024-Q4 milestone Dec 23, 2024
@jmalicevic jmalicevic self-assigned this Dec 23, 2024
@jmalicevic
jmalicevic requested a review from a team as a code owner December 23, 2024 15:09
@jmalicevic
jmalicevic requested a review from a team December 23, 2024 15:09

@melekes melekes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @jmalicevic ❤️

@jmalicevic
jmalicevic added this pull request to the merge queue Dec 23, 2024
Merged via the queue into main with commit 4d47355 Dec 23, 2024
@jmalicevic
jmalicevic deleted the jasmina/tmp-fix-e2e-nonrpve branch December 23, 2024 15:34
greg-szabo added a commit to greg-szabo/cometbft that referenced this pull request May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e Related to our end-to-end tests

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants