-
Notifications
You must be signed in to change notification settings - Fork 51
Decentralization of configuration parameters phase 1 - Aggregator local parameters #2736
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
Draft
turmelclem
wants to merge
13
commits into
main
Choose a base branch
from
ctl/2692-decentralization-of-configuration-parameters-phase-1-local-parameters
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Decentralization of configuration parameters phase 1 - Aggregator local parameters #2736
turmelclem
wants to merge
13
commits into
main
from
ctl/2692-decentralization-of-configuration-parameters-phase-1-local-parameters
Conversation
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
Test Results 4 files ±0 168 suites ±0 24m 31s ⏱️ + 1m 35s Results for commit de20459. ± Comparison against base commit 2ad7d5e. This pull request removes 3 and adds 7 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
407ea74 to
bc2e5d5
Compare
mithril-aggregator/src/dependency_injection/builder/enablers/mithril_network_configuration.rs
Fixed
Show fixed
Hide fixed
mithril-aggregator/src/dependency_injection/builder/enablers/mithril_network_configuration.rs
Fixed
Show fixed
Hide fixed
mithril-aggregator/src/dependency_injection/builder/enablers/mithril_network_configuration.rs
Fixed
Show fixed
Hide fixed
mithril-aggregator/src/dependency_injection/builder/enablers/mithril_network_configuration.rs
Fixed
Show fixed
Hide fixed
120452b to
4e21205
Compare
1b74219 to
890ad0b
Compare
…local configuration implementation
07d14a3 to
80abe55
Compare
80abe55 to
6752f97
Compare
…onfiguration and adapt epoch service
…leanup dependency injection
…gning_config optionnal (mandatory for leader)
Rework `init_state_from_fixture` to not save epoch_settings and works with the fixed window of three epoch (aggregate/next aggregate/signer registration), epoch settings should already exists, most of the time they will be inserted by the handle discrepancies system
- run it at the end of the serve dependency container build - retrieve and save data from the network configuration provider instead of the local node configuration - update follower integration test to check that local protocol parameter configuration is not read, instead the configuration is read through the network configuration provider from the leader
Since now the follower read the network config from the leader, this means that the update of the protocol parameters is now a responsability of the leader only. This lead to flakiness because this step was restarting all aggregators, and sometimes the follower started before the leader and had a error when it executed its handle discrepencies because the leader http server was still down.
6752f97 to
ea59e83
Compare
ea59e83 to
de20459
Compare
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...
Pre-submit checklist
Comments
Issue(s)
Relates to #YYY or Closes #YYY