Skip to content
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

feat: client library for incremental Cardano database #2289

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

jpraynaud
Copy link
Member

Content

Important

Work in progress

This PR includes...

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • No clippy warnings in the CI
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • Update README file (if relevant)
    • Update documentation website (if relevant)
    • Add dev blog post (if relevant)

Issue(s)

Closes #2214

To compute digests for a range of immutable file numbers.
@jpraynaud jpraynaud self-assigned this Feb 7, 2025
Copy link

github-actions bot commented Feb 7, 2025

Test Results

    4 files  ±  0     60 suites  +4   20m 58s ⏱️ +15s
1 637 tests + 41  1 636 ✅ + 40  0 💤 ±0  1 ❌ +1 
2 052 runs  +152  2 048 ✅ +148  0 💤 ±0  4 ❌ +4 

For more details on these failures, see this check.

Results for commit 3c2ca6b. ± Comparison against base commit 52f97d4.

This pull request removes 8 and adds 49 tests. Note that renamed tests count towards both.
mithril-client ‑ cardano_database_client::tests::get_cardano_database_snapshot_returns_error
mithril-client ‑ cardano_database_client::tests::get_cardano_database_snapshot_returns_error_when_invalid_json_structure_in_response
mithril-client ‑ cardano_database_client::tests::get_cardano_database_snapshot_returns_message
mithril-client ‑ cardano_database_client::tests::get_cardano_database_snapshot_returns_none_when_not_found_or_remote_server_logical_error
mithril-client ‑ cardano_database_client::tests::list_cardano_database_snapshots_returns_error_when_invalid_json_structure_in_response
mithril-client ‑ cardano_database_client::tests::list_cardano_database_snapshots_returns_messages
mithril-common ‑ digesters::cardano_immutable_digester::tests::reports_progress_every_5_percent
mithril-common ‑ digesters::cardano_immutable_digester::tests::reports_progress_when_total_lower_than_20
mithril-client ‑ cardano_database_client::tests::cardano_database_client::compute_merkle_proof::compute_merkle_proof_fails_if_mismatching_certificate
mithril-client ‑ cardano_database_client::tests::cardano_database_client::compute_merkle_proof::compute_merkle_proof_succeeds
mithril-client ‑ cardano_database_client::tests::cardano_database_client::create_target_directory_sub_directories_if_not_exist::create_target_directory_sub_directories_if_not_exist_with_ancillary
mithril-client ‑ cardano_database_client::tests::cardano_database_client::create_target_directory_sub_directories_if_not_exist::create_target_directory_sub_directories_if_not_exist_without_ancillary
mithril-client ‑ cardano_database_client::tests::cardano_database_client::download_unpack::download_unpack_fails_when_immutable_files_download_fail
mithril-client ‑ cardano_database_client::tests::cardano_database_client::download_unpack::download_unpack_fails_when_target_target_dir_would_be_overwritten_without_allow_override
mithril-client ‑ cardano_database_client::tests::cardano_database_client::download_unpack::download_unpack_fails_with_invalid_immutable_file_range
mithril-client ‑ cardano_database_client::tests::cardano_database_client::download_unpack::download_unpack_succeeds_with_valid_range
mithril-client ‑ cardano_database_client::tests::cardano_database_client::download_unpack_ancillary_file::download_unpack_ancillary_file_fails_if_no_location_is_retrieved
mithril-client ‑ cardano_database_client::tests::cardano_database_client::download_unpack_ancillary_file::download_unpack_ancillary_file_succeeds_if_at_least_one_location_is_retrieved
…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Incremental Cardano DB in client library
1 participant