-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: implement era switch in e2e tests #1974
Conversation
f467324
to
ab71ad3
Compare
53465b6
to
bb64f0c
Compare
bb64f0c
to
69e06b5
Compare
56ef86d
to
546f75b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs
Outdated
Show resolved
Hide resolved
1346239
to
1fa8c53
Compare
ff6db41
to
877e740
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I left a few comments and suggestions.
mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs
Outdated
Show resolved
Hide resolved
mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs
Outdated
Show resolved
Hide resolved
652ed07
to
047d5c2
Compare
…rs on chain in devnet
Also take advantage of Epoch implementation of Copy.
Co-authored-by: DJO <Alenar@users.noreply.github.com>
Co-authored-by: DJO <Alenar@users.noreply.github.com>
- 'mithril-end-to-end' from '0.4.36' to '0.4.37' - 'mithril-devnet' from '0.4.1' to '0.4.2'.
047d5c2
to
d3fe03f
Compare
Content
This pull request introduces several changes to the
mithril-test-lab
to support era switching and re-genesis processes. Key changes include updates to the CI workflow, enhancements to various scripts, and modifications to the end-to-end tests to handle new era transitions.CI Workflow Enhancements:
next_era
parameter to the matrix in.github/workflows/ci.yml
to support testing era switches..github/workflows/ci.yml
.--mithril-next-era
in.github/workflows/ci.yml
.Mithril Test Lab Enhancements:
mkfiles-mithril-era.sh
to compute and use the submitted transaction ID and handle UTxOs with and without inline datums. [1] [2] [3]exec.rs
to includeera_epoch
in theregister_era_marker
function and improved logging. [1] [2]end_to_end_spec.rs
to verify artifact production and handle era switches with optional regenesis. [1] [2] [3]main.rs
to supportmithril_next_era
andmithril_era_regenesis_on_switch
. [1] [2]aggregator.rs
to handle era epochs and generate transaction data accordingly. [1] [2] [3]infrastructure.rs
to manage era switches, including startup era registration and directory management per era. [1] [2] [3] [4] [5] [6] [7]Pre-submit checklist
Issue(s)
Relates to #1946