feat(infra): deploy protocol configuration reader on-chain parameters - #3472
Merged
jpraynaud merged 7 commits intoAug 7, 2026
Merged
Conversation
jpraynaud
temporarily deployed
to
testing-preview
August 5, 2026 15:11 — with
GitHub Actions
Inactive
jpraynaud
temporarily deployed
to
testing-2-preview
August 5, 2026 15:11 — with
GitHub Actions
Inactive
27 tasks
jpraynaud
marked this pull request as ready for review
August 6, 2026 12:50
There was a problem hiding this comment.
Pull request overview
This PR extends the existing “era reader” deployment pattern to support a new protocol configuration reader, wiring its on-chain parameters through Terraform provisioning, docker-compose runtime environment, and GitHub Actions workflows so aggregators/signers can read protocol configuration markers from chain.
Changes:
- Added Terraform variables and provisioner exports for protocol configuration reader adapter type/params (and a test-only secret key for the aggregator).
- Passed the new adapter environment variables into aggregator and signer docker-compose service definitions.
- Extended the
deploy-terraform-infrastructureGitHub Action and forwarded the new inputs in CI and deployment workflows.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
mithril-infra/variables.tf |
Adds Terraform variables for protocol configuration reader adapter URLs/type and secret key. |
mithril-infra/mithril.signer.tf |
Exports protocol configuration reader adapter env vars in signer remote provisioning. |
mithril-infra/mithril.aggregator.tf |
Exports protocol configuration reader adapter env vars (and secret key) in aggregator provisioning. |
mithril-infra/assets/docker/docker-compose-signer-cardano-bundle-passive-override.yaml |
Passes protocol configuration reader adapter env vars into signer (passive bundle) container. |
mithril-infra/assets/docker/docker-compose-signer-cardano-bundle-bp-override.yaml |
Passes protocol configuration reader adapter env vars into signer (block producer bundle) container. |
mithril-infra/assets/docker/docker-compose-signer-base.yaml |
Passes protocol configuration reader adapter env vars into base signer container. |
mithril-infra/assets/docker/docker-compose-aggregator-base.yaml |
Passes protocol configuration reader adapter env vars into aggregator container. |
.github/workflows/test-deploy-network.yml |
Forwards protocol configuration reader inputs into terraform deployment action for test deploys. |
.github/workflows/release.yml |
Forwards protocol configuration reader address/key URLs into release deployments. |
.github/workflows/pre-release.yml |
Forwards protocol configuration reader inputs into pre-release deployments. |
.github/workflows/ci.yml |
Forwards protocol configuration reader inputs into CI deployment job(s). |
.github/workflows/actions/deploy-terraform-infrastructure/action.yml |
Adds new action inputs and forwards them into Terraform variables. |
jpraynaud
force-pushed
the
jpraynaud/3397-protocol-config-on-chain-infrastructure
branch
from
August 6, 2026 14:48
1a3249c to
7080fa0
Compare
jpraynaud
temporarily deployed
to
testing-2-preview
August 6, 2026 15:21 — with
GitHub Actions
Inactive
jpraynaud
temporarily deployed
to
testing-preview
August 6, 2026 15:21 — with
GitHub Actions
Inactive
jpraynaud
force-pushed
the
jpraynaud/3397-protocol-config-on-chain-infrastructure
branch
2 times, most recently
from
August 7, 2026 10:21
e3d341d to
f82f28f
Compare
jpraynaud
temporarily deployed
to
testing-preview
August 7, 2026 10:45 — with
GitHub Actions
Inactive
jpraynaud
temporarily deployed
to
testing-2-preview
August 7, 2026 10:45 — with
GitHub Actions
Inactive
…onfig Replace the adapter type and params environment variables with a single PROTOCOL_CONFIGURATION_READER_ADAPTER_CONFIG JSON holding a 'type' field.
* mithril-infra/assets/infra.version from `0.5.20` to `0.5.21`
Alenar
approved these changes
Aug 7, 2026
jpraynaud
force-pushed
the
jpraynaud/3397-protocol-config-on-chain-infrastructure
branch
from
August 7, 2026 14:32
f82f28f to
4465097
Compare
jpraynaud
temporarily deployed
to
testing-2-preview
August 7, 2026 14:50 — with
GitHub Actions
Inactive
jpraynaud
temporarily deployed
to
testing-preview
August 7, 2026 14:50 — with
GitHub Actions
Inactive
jpraynaud
deleted the
jpraynaud/3397-protocol-config-on-chain-infrastructure
branch
August 7, 2026 14:57
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
This PR includes the deployment of the protocol configuration reader in the infrastructure and the CI, mirroring the model used for the Mithril era reader:
mithril_protocol_configuration_reader_adapter_typemithril_protocol_configuration_reader_address_url,mithril_protocol_configuration_reader_verification_key_urlmithril_protocol_configuration_reader_secret_keyPROTOCOL_CONFIGURATION_READER_ADAPTER_CONFIGin the aggregator and signer provisionersPROTOCOL_CONFIGURATION_READER_ADAPTER_CONFIGenvironment variable to the aggregator and signer containers in the docker compose filesdeploy-terraform-infrastructureaction and forward them in theci,pre-release,releaseandtest-deploy-networkworkflowsPre-submit checklist
Issue(s)
Relates to #3397