forked from input-output-hk/mithril
-
Notifications
You must be signed in to change notification settings - Fork 0
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
get stake snapshots using pallas observer #3
Merged
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
Test Results 3 files ±0 42 suites ±0 8m 50s ⏱️ +28s For more details on these failures, see this check. Results for commit bd8cbcd. ± Comparison against base commit 17afb2c. ♻️ This comment has been updated with latest results. |
4b7c381
to
362add7
Compare
- remove a print statement for "computed_stake_distribution"
scarmuega
reviewed
Feb 19, 2024
- simplify `get_stake_pool_hash` function by removing `stakes` argument and adjust the return type. - now fetch the `stakes.snapshot_mark_pool` directly in the `get_stake_distribution_snapshot` function when inserting into `stake_distribution`.
- rename `get_stake_distribution_snapshot` to `get_stake_distribution` - change the test function name to include `with_fallback` instead of `fallback`
- refactor the filter condition in the stake snapshots loop - update `stakes` import for the changed module structure
- refactor imports in `pallas_observer.rs` - update code references to `localstate::queries_v16` to now use the module specifiers directly - consolidate initialization and usage of `stakes` struct in tests - adjust stake values and pools in test data - rename `localstate::queries_v16::stakesnapshot` to `stakesnapshot` - refactor matching logic in `match` block for query handling
- update the version in cargo.toml from "0.3.4" to "0.3.5"
5390053
to
6e3a590
Compare
6e3a590
to
311c9f4
Compare
- update the version from `0.3.6` to `0.3.7` in the `mithril-common` package metadata in `cargo.toml`
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.
fixes #2