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

Pre derived keys cache #11

Merged
merged 38 commits into from
Sep 20, 2024
Merged

Pre derived keys cache #11

merged 38 commits into from
Sep 20, 2024

Conversation

CyonAlexRDX
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

Attention: Patch coverage is 64.25781% with 183 lines in your changes missing coverage. Please review.

Project coverage is 85.2%. Comparing base (ad38187) to head (0480ee3).

Files with missing lines Patch % Lines
src/playground.rs 29.8% 47 Missing ⚠️
...ctor_instance_provider/factor_instance_provider.rs 74.8% 44 Missing ⚠️
...ctor_instance_provider/gateway/gateway_readonly.rs 21.6% 29 Missing ⚠️
...e_provider/cache/pre_derived_keys_cache_queries.rs 74.1% 16 Missing ⚠️
...stance_provider/cache/is_pre_derived_keys_cache.rs 0.0% 13 Missing ⚠️
...ce_provider/cache/derivation_path_without_index.rs 47.6% 11 Missing ⚠️
...r_instance_provider/cache/unfulfillable_request.rs 55.0% 9 Missing ⚠️
..._provider/gateway/on_chain_entities_information.rs 0.0% 5 Missing ⚠️
src/factor_instance_provider/derivation_request.rs 75.0% 3 Missing ⚠️
src/recovery/recovery.rs 50.0% 3 Missing ⚠️
... and 3 more
Additional details and impacted files

Impacted file tree graph

@@                      Coverage Diff                      @@
##           recover_securified_entities     #11     +/-   ##
=============================================================
- Coverage                         92.8%   85.2%   -7.7%     
=============================================================
  Files                               48      64     +16     
  Lines                             1391    1685    +294     
=============================================================
+ Hits                              1292    1437    +145     
- Misses                              99     248    +149     
Files with missing lines Coverage Δ
src/derivation/collector/keys_collector.rs 96.7% <100.0%> (ø)
...tance_provider/cache/pre_derived_keys_cache_key.rs 100.0% <100.0%> (ø)
..._instance_provider/cache/unfulfillable_requests.rs 100.0% <100.0%> (ø)
...or_instance_provider/gateway/gateway_read_write.rs 100.0% <100.0%> (ø)
...instance_provider/gateway/on_chain_entity_state.rs 100.0% <100.0%> (ø)
src/factor_instance_provider/securify/securify.rs 100.0% <100.0%> (ø)
src/recovery/entity_recovery_outcome.rs 100.0% <100.0%> (ø)
src/signing/collector/signatures_collector.rs 96.6% <ø> (ø)
...ing/collector/signatures_collector_preprocessor.rs 100.0% <100.0%> (ø)
src/signing/petition_types/petition_for_entity.rs 95.5% <ø> (ø)
... and 17 more

CyonAlexRDX and others added 9 commits September 18, 2024 10:22
…ddFactorSource, Recovery, Derive&Securify-Without-or-with-Empty-Cache are all essentially the same operation. Deriving many keys, scanning Gateway (and Profile if not recovery) and matching against those 'filters' known keys and putting beleived-to-be-'free' keys into the cache.
Base automatically changed from recover_securified_entities to main September 20, 2024 07:59
@CyonAlexRDX CyonAlexRDX merged commit f493e1e into main Sep 20, 2024
@CyonAlexRDX CyonAlexRDX deleted the pre_derived_keys_cache branch September 20, 2024 07:59
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.

2 participants