Adapt end-to-end test for on-chain configuration parameters - #3489
Merged
turmelclem merged 3 commits intoAug 25, 2026
Merged
Conversation
turmelclem
temporarily deployed
to
testing-preview
August 24, 2026 12:12 — with
GitHub Actions
Inactive
turmelclem
temporarily deployed
to
testing-2-preview
August 24, 2026 12:12 — with
GitHub Actions
Inactive
There was a problem hiding this comment.
Pull request overview
This PR adapts the mithril end-to-end test lab to exercise the new on-chain protocol configuration path (writing protocol parameters/signing config markers on the devnet chain and configuring signer/aggregator to read them), while keeping a fallback path for older aggregator versions.
Changes:
- Add support for protocol-configuration markers (address discovery, datum generation, chain write) and wire
PROTOCOL_CONFIGURATION_READER_ADAPTER_CONFIGinto signer and aggregator processes. - Introduce a
ProtocolConfigurationmodel in the e2e infrastructure and use it to register startup protocol configuration and perform on-chain protocol-parameter updates when supported. - Add devnet mkfiles script generation for protocol-configuration and a devnet runner method to write protocol-configuration markers on-chain.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| mithril-test-lab/mithril-end-to-end/src/toolkit/exec.rs | Adds marker registration helper and switches protocol-parameter updates to on-chain registration when supported. |
| mithril-test-lab/mithril-end-to-end/src/stress_test/aggregator_helpers.rs | Extends aggregator bootstrap config and sets signing config for stress tests. |
| mithril-test-lab/mithril-end-to-end/src/scenario/full.rs | Updates scenario call-site to pass infrastructure + epoch for protocol-parameter updates. |
| mithril-test-lab/mithril-end-to-end/src/mithril/signer.rs | Adds protocol configuration reader adapter env var wiring for signer. |
| mithril-test-lab/mithril-end-to-end/src/mithril/mod.rs | Re-exports ProtocolConfiguration and adds protocol-configuration marker key constants. |
| mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs | Introduces ProtocolConfiguration, stores startup configuration, and registers startup markers when on-chain mode is enabled. |
| mithril-test-lab/mithril-end-to-end/src/mithril/aggregator.rs | Adds protocol configuration reader adapter env var wiring, on-chain mode detection, datum generation command, and signing-config setter. |
| mithril-test-lab/mithril-end-to-end/src/main.rs | Adds CLI arg + startup protocol configuration construction and passes it into infrastructure config. |
| mithril-test-lab/mithril-end-to-end/src/devnet/runner.rs | Adds protocol-configuration marker address support and a method to write protocol-configuration markers on-chain. |
| mithril-test-lab/cardano-devnet/mkfiles/mkfiles-protocol-configuration.sh | Adds mkfiles script to generate protocol-config address and a script to fund it and write inline datum on-chain. |
| mithril-test-lab/cardano-devnet/devnet-mkfiles.sh | Sources the new mkfiles protocol-configuration generator. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
turmelclem
force-pushed
the
ctl/3396-adapt-end-to-end-tests-for-on-chain-configuration-parameters-2
branch
from
August 24, 2026 13:10
49c548f to
1cdfe9b
Compare
turmelclem
temporarily deployed
to
testing-preview
August 24, 2026 13:33 — with
GitHub Actions
Inactive
turmelclem
temporarily deployed
to
testing-2-preview
August 24, 2026 13:33 — with
GitHub Actions
Inactive
Alenar
approved these changes
Aug 24, 2026
turmelclem
force-pushed
the
ctl/3396-adapt-end-to-end-tests-for-on-chain-configuration-parameters-2
branch
from
August 24, 2026 19:54
1cdfe9b to
a4e786d
Compare
jpraynaud
reviewed
Aug 25, 2026
turmelclem
force-pushed
the
ctl/3396-adapt-end-to-end-tests-for-on-chain-configuration-parameters-2
branch
from
August 25, 2026 14:06
ef830f7 to
d6c2ce8
Compare
turmelclem
force-pushed
the
ctl/3396-adapt-end-to-end-tests-for-on-chain-configuration-parameters-2
branch
from
August 25, 2026 14:08
d6c2ce8 to
85e46ae
Compare
…figuration on-chain (or through aggregator HTTP routes by default)
…RSION` version * mithril-end-to-end from `0.5.13` to `0.5.14` * mithril-test-lab/cardano-devnet/VERSION from `0.4.39` to `0.4.40`
turmelclem
force-pushed
the
ctl/3396-adapt-end-to-end-tests-for-on-chain-configuration-parameters-2
branch
from
August 25, 2026 14:14
85e46ae to
ad65ef2
Compare
turmelclem
deleted the
ctl/3396-adapt-end-to-end-tests-for-on-chain-configuration-parameters-2
branch
August 25, 2026 14:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Content
Adapting e2e test to support on chain configuration :
PROTOCOL_CONFIGURATION_READER_ADAPTER_CONFIGin both signer and aggregator configurationPre-submit checklist
Closes #3396