Implement chain adapater to read on chain protocol configurations - #3482
Draft
turmelclem wants to merge 7 commits into
Draft
Implement chain adapater to read on chain protocol configurations#3482turmelclem wants to merge 7 commits into
turmelclem wants to merge 7 commits into
Conversation
…nsistency in model
…kConfigurationProvider
turmelclem
force-pushed
the
ctl/3393-implement-chain-adapater-to-read-on-chain-protocol-configurations-2
branch
from
August 17, 2026 09:56
4f87a71 to
cb72f72
Compare
Test Results 5 files ± 0 209 suites ±0 1h 0m 53s ⏱️ - 1h 35m 37s Results for commit 4a79c83. ± Comparison against base commit 58b575a. This pull request removes 76 and adds 7 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
turmelclem
force-pushed
the
ctl/3393-implement-chain-adapater-to-read-on-chain-protocol-configurations-2
branch
from
August 17, 2026 16:10
cb72f72 to
9a7ac9a
Compare
Comment on lines
+18
to
+30
| pub enum AdapterConfig { | ||
| /// Cardano chain protocol configuration adapter | ||
| CardanoChain { | ||
| /// Cardano chain address | ||
| address: ChainAddress, | ||
|
|
||
| /// Verification key | ||
| verification_key: ProtocolConfigurationMarkersVerifierVerificationKey, | ||
| }, | ||
|
|
||
| /// Fake protocol configuration adapter with default value at epoch 0 (for test usage) | ||
| Fake, | ||
| } |
Comment on lines
+18
to
+30
| pub enum AdapterConfig { | ||
| /// Cardano chain protocol configuration adapter | ||
| CardanoChain { | ||
| /// Cardano chain address | ||
| address: ChainAddress, | ||
|
|
||
| /// Verification key | ||
| verification_key: ProtocolConfigurationMarkersVerifierVerificationKey, | ||
| }, | ||
|
|
||
| /// Fake protocol configuration adapter with default value at epoch 0 (for test usage) | ||
| Fake, | ||
| } |
Comment on lines
+20
to
+26
| CardanoChain { | ||
| /// Cardano chain address | ||
| address: ChainAddress, | ||
|
|
||
| /// Verification key | ||
| verification_key: ProtocolConfigurationMarkersVerifierVerificationKey, | ||
| }, |
Comment on lines
+20
to
+26
| CardanoChain { | ||
| /// Cardano chain address | ||
| address: ChainAddress, | ||
|
|
||
| /// Verification key | ||
| verification_key: ProtocolConfigurationMarkersVerifierVerificationKey, | ||
| }, |
| }, | ||
|
|
||
| /// Fake protocol configuration adapter with default value at epoch 0 (for test usage) | ||
| Fake, |
| }, | ||
|
|
||
| /// Fake protocol configuration adapter with default value at epoch 0 (for test usage) | ||
| Fake, |
…r instead of local impl for leader aggregator
…guration commands
turmelclem
force-pushed
the
ctl/3393-implement-chain-adapater-to-read-on-chain-protocol-configurations-2
branch
from
August 18, 2026 16:36
9a7ac9a to
4a79c83
Compare
| @@ -1,5 +1,7 @@ | |||
| mod test_extensions; | |||
|
|
|||
| use std::collections::{BTreeMap, BTreeSet}; | |||
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 modification to implement chain adapater to read on chain protocol configurations :
MithrilNetworkConfigurationProviderMarkersMithrilNetworkConfigurationProviderin the SignerMarkersMithrilNetworkConfigurationProviderinstead of local impl for leader aggregatorprotocol-configurationcommandsPre-submit checklist
Relates to #3393