-
Notifications
You must be signed in to change notification settings - Fork 39
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
Implement Cardano stake distribution HTTP routes #1872
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 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
dlachaume
temporarily deployed
to
testing-preview
July 31, 2024 10:43
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
July 31, 2024 10:43
— with
GitHub Actions
Inactive
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
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
dlachaume
force-pushed
the
dlachaume/1841/implement-cardano-stake-distribution-routes
branch
from
August 1, 2024 16:10
6f683a2
to
3aa5077
Compare
dlachaume
temporarily deployed
to
testing-preview
August 1, 2024 16:23
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
August 1, 2024 16:23
— with
GitHub Actions
Inactive
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 <sfauvel@users.noreply.github.com>
…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 <sfauvel@users.noreply.github.com>
dlachaume
force-pushed
the
dlachaume/1841/implement-cardano-stake-distribution-routes
branch
from
August 2, 2024 16:35
3aa5077
to
03f838d
Compare
dlachaume
temporarily deployed
to
testing-preview
August 2, 2024 16:47
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
August 2, 2024 16:47
— with
GitHub Actions
Inactive
…rdanoStakeDistribution` messages
dlachaume
force-pushed
the
dlachaume/1841/implement-cardano-stake-distribution-routes
branch
from
August 2, 2024 16:47
03f838d
to
af00dec
Compare
dlachaume
temporarily deployed
to
testing-preview
August 2, 2024 16:59
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
August 2, 2024 16:59
— with
GitHub Actions
Inactive
dlachaume
force-pushed
the
dlachaume/1841/implement-cardano-stake-distribution-routes
branch
2 times, most recently
from
August 5, 2024 13:50
bccf5be
to
a8fd4b5
Compare
dlachaume
temporarily deployed
to
testing-preview
August 5, 2024 14:02
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
August 5, 2024 14:02
— with
GitHub Actions
Inactive
dlachaume
force-pushed
the
dlachaume/1841/implement-cardano-stake-distribution-routes
branch
from
August 5, 2024 15:39
a8fd4b5
to
66a4aa1
Compare
jpraynaud
approved these changes
Aug 5, 2024
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 👍
dlachaume
temporarily deployed
to
testing-preview
August 5, 2024 15:54
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
August 5, 2024 15:54
— with
GitHub Actions
Inactive
dlachaume
deleted the
dlachaume/1841/implement-cardano-stake-distribution-routes
branch
August 5, 2024 15:56
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
CardanoStakeDistribution
certification, ensuring that the new routes respond correctly.Pre-submit checklist
Issue(s)
Closes #1841