-
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
Retrieve custom signing configuration with epoch settings in Signer #1939
Retrieve custom signing configuration with epoch settings in Signer #1939
Conversation
ea61195
to
a8a3b5e
Compare
1d63ff8
to
74e0494
Compare
Test Results 4 files ±0 54 suites ±0 9m 32s ⏱️ -8s Results for commit 6e9fb44. ± Comparison against base commit 27fdfa0. This pull request removes 1 and adds 4 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
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
…ingsMessage` - Add optional `current_cardano_transactions_signing_config` field, used only when 'CardanoTransactions' is activated by the aggregator. - Add retro compatibility test with the original 'EpochSettingsMessage' structure, identified as 'Legacy', and the previous 'EpochSettingsMessage', identified as 'Previous'.
Add new `current_cardano_transactions_signing_config` field which is returned by the '/epoch-settings' route.
…sMessage` and rename `current_cardano_transactions_signing_config` to `cardano_transactions_signing_config` - refactor backward compatibility tests with the latest OpenAPI version supported by each structure - update OpenAPI specifications with `next_cardano_transactions_signing_config` and refactor by extracting to a dedicated 'CardanoTransactionsSigningConfig' component - make the '/epoch-settings' HTTP route return the correct data
…function by separating responsibilities Co-authored-by: Sébastien Fauvel <sfauvel@users.noreply.github.com>
74e0494
to
72766c9
Compare
* mithril-aggregator from `0.5.64` to `0.5.65` * mithril-common from `0.4.52` to `0.4.53` * mithril-signer from `0.2.184` to `0.2.185`
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 👍
Content
This PR includes a way for the signer to access the Cardano transaction signing configuration from the aggregator via the
/epoch-settings
route.The configuration is retrieved by the signer at each epoch transition and stored in its epoch service.
Pre-submit checklist
Issue(s)
Closes #1923