-
Notifications
You must be signed in to change notification settings - Fork 51
Implement Cardano stake distribution HTTP routes #1872
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
Merged
dlachaume
merged 17 commits into
main
from
dlachaume/1841/implement-cardano-stake-distribution-routes
Aug 5, 2024
Merged
Implement Cardano stake distribution HTTP routes #1872
dlachaume
merged 17 commits into
main
from
dlachaume/1841/implement-cardano-stake-distribution-routes
Aug 5, 2024
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
jpraynaud
reviewed
Jul 31, 2024
mithril-aggregator/src/message_adapters/to_cardano_stake_distribution_message.rs
Show resolved
Hide resolved
mithril-aggregator/src/message_adapters/to_cardano_stake_distribution_message.rs
Outdated
Show resolved
Hide resolved
mithril-aggregator/src/database/query/signed_entity/get_signed_entity.rs
Outdated
Show resolved
Hide resolved
mithril-aggregator/src/database/query/signed_entity/get_signed_entity.rs
Outdated
Show resolved
Hide resolved
sfauvel
approved these changes
Jul 31, 2024
Collaborator
sfauvel
left a comment
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
Just a few questions about the way of testing
mithril-aggregator/src/database/query/signed_entity/get_signed_entity.rs
Outdated
Show resolved
Hide resolved
mithril-aggregator/src/database/query/signed_entity/get_signed_entity.rs
Outdated
Show resolved
Hide resolved
6f683a2 to
3aa5077
Compare
Add test tooling for `CardanoStakeDistributionMessage` and `CardanoStakeDistribution` signed entity
…thrilMessageService`
… `MithrilMessageService`
… on `signed_entity_type_id` and `beacon`
… by epoch Co-authored-by: Sébastien Fauvel <[email protected]>
…CardanoStakeDistribution` by epoch Remove previous implementation
…signed entity instead of using the epoch of the artifact to build the messages
Co-authored-by: Sébastien Fauvel <[email protected]>
3aa5077 to
03f838d
Compare
…rdanoStakeDistribution` messages
03f838d to
af00dec
Compare
bccf5be to
a8fd4b5
Compare
a8fd4b5 to
66a4aa1
Compare
jpraynaud
approved these changes
Aug 5, 2024
Member
jpraynaud
left a comment
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 👍
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 introduces new HTTP routes in the Aggregator REST API specifically for handling the signed entity type
CardanoStakeDistribution:/artifact/cardano-stake-distributions/artifact/cardano-stake-distribution/{hash}/artifact/cardano-stake-distribution/epoch/{epoch}The end to end test has been updated to include the verification of
CardanoStakeDistributioncertification, ensuring that the new routes respond correctly.Pre-submit checklist
Issue(s)
Closes #1841