Skip to content

fix(e2e): fix BLS-related failures - #3726

Merged
andynog merged 6 commits into
mainfrom
sergio/3720-fix-bls-e2e
Aug 16, 2024
Merged

andynog merged 6 commits into
mainfrom
sergio/3720-fix-bls-e2e

Conversation

@sergio-mena

@sergio-mena sergio-mena commented Aug 16, 2024 •

Copy link
Copy Markdown
Collaborator

Part of #3720

e2e tests require a method that generates a private key deterministically (from a secret). Without such method, is it not possible for the "tests" step of the e2e runner to recreate the node structure as it exists within the runner itself.

Manual nightly runs:


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

@sergio-mena
sergio-mena requested a review from a team as a code owner August 16, 2024 17:46
@sergio-mena
sergio-mena requested a review from a team August 16, 2024 17:46
@sergio-mena sergio-mena self-assigned this Aug 16, 2024
@sergio-mena sergio-mena added e2e Related to our end-to-end tests bug Something isn't working labels Aug 16, 2024

@andynog andynog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

changes look good to me, had to fix one unit test that was failing because of a change in the return of PubKey(), other than that lgtm

@andynog
andynog added this pull request to the merge queue Aug 16, 2024
Merged via the queue into main with commit fe696a4 Aug 16, 2024
@andynog
andynog deleted the sergio/3720-fix-bls-e2e branch August 16, 2024 21:41
@andynog

andynog commented Aug 16, 2024

Copy link
Copy Markdown
Contributor

I've reviewed and merged this. Had to fix a couple of tests in the crypto and encoding. @sergio-mena and @melekes please take a look at my commits and see if they made sense.

aljo242 pushed a commit that referenced this pull request Sep 15, 2025
Part of #3720

`e2e` tests _require_ a method that generates a private key
deterministically (from a secret). Without such method, is it not
possible for the "tests" step of the `e2e` runner to recreate the node
structure as it exists within the runner itself.

Manual nightly runs:
- [1st
try](https://github.com/cometbft/cometbft/actions/runs/10424046666)
- [2nd
try](https://github.com/cometbft/cometbft/actions/runs/10424939531),
after 53321d4

---

- ~[ ] Tests written/updated~
- ~[ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)~
- ~[ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments~

---------

Co-authored-by: Andy Nogueira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working e2e Related to our end-to-end tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants