-
Notifications
You must be signed in to change notification settings - Fork 956
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'grarco/masp-storage-optimization' (#2363)
* origin/grarco/masp-storage-optimization: [feat] Refactoring extraction of shielded parts of txs to be more dry Shared function for shielded actions retrieval Reverts trait bound on `Height` for `block_results` endpoint Uses `masp_pin_tx_key` helper where possible Changelog #2363 `compute_pinned_balance` supports pinned masp over ibc transactions Improves masp over ibc tx fetching in client Refactors wrapper tx args for execution Cleans up sdk masp file Moves block query logic of integration tests in `block` Refactors and fixes benchmarks Refactors tx caching in `ShieldedContext` Fixes integration tests Updates masp queries to avoid the need for an indexer Fixes integration tests Fetches masp txs from blocks Adds a new tx event attribute to index masp txs Updates keys check in masp vp Updates masp storage keys helper functions Removes masp tx writing of lookup data to storage
- Loading branch information
Showing
50 changed files
with
974 additions
and
429 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- Modified `ShieldedContext` to use `IndexedTx` to track the last indexed | ||
masp tx. Updated `fetch_shielded_transfer` and `compute_pinned_balance` | ||
to query the cometBFT rpc endpoints to retrieve masp data. | ||
Updated `block_search` to accept a fallible cast to `Height`. | ||
([\#2363](https://github.com/anoma/namada/pull/2363)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/2363-masp-storage-optimization.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Removed masp data from storage. Updated the client to query the cometBFT rpc | ||
endpoints. ([\#2363](https://github.com/anoma/namada/pull/2363)) |
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
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
Oops, something went wrong.