Skip to content

feat(e2e): introduce oscillations for validators and consensus params#2283

Merged
cason merged 42 commits intomainfrom
sergio/e2e-oscillate-vals-params
Oct 31, 2024
Merged

feat(e2e): introduce oscillations for validators and consensus params#2283
cason merged 42 commits intomainfrom
sergio/e2e-oscillate-vals-params

Conversation

@sergio-mena
Copy link
Collaborator

@sergio-mena sergio-mena commented Feb 9, 2024

Partially addresses #2458

This PR adds a new config to the e2e manifest that causes the e2e app to flip, at every height:

  • The consensus param, by flipping between to valid lists of key types
  • The validator set, by picking one validator, and flipping its power between 0 and 1 in alternate heights

This allows us to simulate chains with changes to these data structures at every height.

IMPORTANT: Do not review commit by commit, as I radically changed the approach to flipping validators (to another way more surgical)


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 added the e2e Related to our end-to-end tests label Feb 9, 2024
@sergio-mena sergio-mena self-assigned this Feb 9, 2024
@sergio-mena sergio-mena changed the title feature(e2e): introduce oscillations for validators and consensus params feat(e2e): introduce oscillations for validators and consensus params Feb 9, 2024
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale For use by stalebot label Feb 20, 2024
@sergio-mena sergio-mena added wip Work in progress and removed stale For use by stalebot labels Feb 20, 2024
@sergio-mena sergio-mena removed the wip Work in progress label Sep 20, 2024
@sergio-mena sergio-mena marked this pull request as ready for review September 20, 2024 15:48
@sergio-mena sergio-mena requested a review from a team as a code owner September 20, 2024 15:48
@sergio-mena sergio-mena requested a review from a team September 20, 2024 15:48
@cason cason requested a review from hvanz October 7, 2024 10:19
@sergio-mena
Copy link
Collaborator Author

@hvanz would you mind checking the part of this PR that touches on lanes?

Copy link
Collaborator

@hvanz hvanz left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale For use by stalebot label Oct 25, 2024
@sergio-mena sergio-mena removed the stale For use by stalebot label Oct 25, 2024
Co-authored-by: Hernán Vanzetto <15466498+hvanz@users.noreply.github.com>
@cason cason enabled auto-merge October 31, 2024 07:47
@cason cason added this pull request to the merge queue Oct 31, 2024
Merged via the queue into main with commit daf0234 Oct 31, 2024
@cason cason deleted the sergio/e2e-oscillate-vals-params branch October 31, 2024 08:03
github-merge-queue bot pushed a commit that referenced this pull request Nov 12, 2024
…idator (#4473)

This issue was introduced by
#2283.

I've sneaked in a minor change in the script, so that we can grep for
"Testnet failed" and go directly to the right manifests.

---

#### PR checklist

- [ ] 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
@jmalicevic jmalicevic added this to the 2024-Q4 milestone Nov 15, 2024
github-merge-queue bot pushed a commit that referenced this pull request Nov 15, 2024
…nifests (#4478)

Workaround for #4492.

This PR:

1. Describes the issue with introduced by
#2283 in comments in the source
code (check FIXMEs and TODOs)
2. Temporarily disables the validator set oscillations in the generated
manifest, used in nightly runs

Item 2. has the side effect that not only the validator set oscillations
but also the consensus params oscillations are disabled, while we are
only aware of issues in the former.

---

#### PR checklist

- [ ] 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 <me@andynogueira.dev>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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.

4 participants