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

Phase 2 of Shielded Sync refactor #3456

Merged
merged 27 commits into from
Jul 24, 2024
Merged

Phase 2 of Shielded Sync refactor #3456

merged 27 commits into from
Jul 24, 2024

Conversation

sug0
Copy link
Collaborator

@sug0 sug0 commented Jun 28, 2024

Describe your changes

Implements phase 2 of Issue #3385

Indicate on which release or other PRs this topic is based on

Based on #3498

Diff for review: https://github.com/anoma/namada/compare/tiago/masp-ss-client-phase-1..tiago/masp-ss-phase-2

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

Copy link

codecov bot commented Jun 28, 2024

Codecov Report

Attention: Patch coverage is 55.21344% with 640 lines in your changes missing coverage. Please review.

Project coverage is 53.87%. Comparing base (8479d38) to head (185cf27).
Report is 4 commits behind head on main.

Files Patch % Lines
crates/sdk/src/masp/utils.rs 4.64% 349 Missing ⚠️
crates/apps_lib/src/client/masp.rs 0.00% 134 Missing ⚠️
crates/sdk/src/masp.rs 87.18% 97 Missing ⚠️
crates/sdk/src/masp/test_utils.rs 70.54% 43 Missing ⚠️
crates/apps_lib/src/cli.rs 0.00% 8 Missing ⚠️
crates/apps_lib/src/cli/client.rs 0.00% 7 Missing ⚠️
crates/node/src/bench_utils.rs 0.00% 1 Missing ⚠️
crates/sdk/src/control_flow/mod.rs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3456      +/-   ##
==========================================
+ Coverage   53.48%   53.87%   +0.38%     
==========================================
  Files         320      322       +2     
  Lines      110000   111341    +1341     
==========================================
+ Hits        58832    59981    +1149     
- Misses      51168    51360     +192     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@brentstone brentstone mentioned this pull request Jul 9, 2024
@sug0 sug0 force-pushed the tiago/masp-ss-phase-2 branch from 300c51a to ad2033a Compare July 10, 2024 09:31
sug0 added a commit that referenced this pull request Jul 10, 2024
@sug0 sug0 requested a review from grarco July 10, 2024 09:34
@sug0 sug0 marked this pull request as ready for review July 10, 2024 10:43
@sug0 sug0 requested a review from tzemanovic July 11, 2024 08:02
crates/sdk/src/masp.rs Outdated Show resolved Hide resolved
@sug0 sug0 requested review from grarco and tzemanovic July 15, 2024 12:04
@sug0 sug0 force-pushed the tiago/masp-ss-phase-2 branch from 7aa3982 to 185cf27 Compare July 15, 2024 12:05
brentstone added a commit that referenced this pull request Jul 16, 2024
* tiago/masp-ss-phase-2:
  Changelog for #3456
  Remove `ThenAwait` abstraction
  Remove default methods from masp client trait
  Deserialize server err response from masp indexer client
  More misc masp indexer client fixes
  Fetch indexed txs in batches of the max req thres
  Inline caps in masp client
  Misc indexer client fixes
  Fetch masp pre-built data during shielded sync
  Integrate indexer client with the CLI
  Advance peek iterator at the top of loop
  Optionally trigger witness map update
  Implement a masp client backed by the `namada-masp-indexer`
  Decouple ledger rpc client from masp client
  Remove batch size arg
  Update `reqwest`
  Disable building ledger masp client on wasm targets
  Make masp client caps a default method
  Add new fetch methods to masp client trait
  Emit spin loop hint on masp txs receiver
  Always retry from the latest synced height during ss
  Use `BlockHeight` instead of `u64` in fetch args
  Define capabilities for masp rpc clients
@brentstone brentstone merged commit 7325ecc into main Jul 24, 2024
18 of 19 checks passed
@brentstone brentstone deleted the tiago/masp-ss-phase-2 branch July 24, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants