-
Notifications
You must be signed in to change notification settings - Fork 986
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/invalidate-masp-notes-in-client' (#2534)
* origin/grarco/invalidate-masp-notes-in-client: Refactors `check_balance_too_low_err` to accept either a balance key or a balance Changelog #2534 Refactors the `ShieldedUtils` trait Fixes e2e test Updates masp proofs Invalidate spent keys when generating masp transactions Returns error if the provided gas-spending-key is not needed Improves tests of fee unshielding [chore]: Fix integration masp test fixtures I don't know [chore] Rebase on main [fix] Some e2e test fixes Moved fetch calls completely from other calls. Updated cli. Fixed tests Added changelog entry. Changed the note scanning algorithm to not require additional context.
- Loading branch information
Showing
24 changed files
with
1,219 additions
and
312 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
.changelog/unreleased/SDK/2534-invalidate-masp-notes-in-client.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,6 @@ | ||
- Reworked the sdk to support the new speculative state of the | ||
`ShieldedContext`:\n-`ShieldedContext` now has an extra field to determin its | ||
state\n-When calling `gen_shielded_transfer` the context now invalidates the | ||
spent notes (if any)\n-The fee unshielding `Transaction` is now built before | ||
the actual transaction\n-`find_viewing_key` only requires a shared reference | ||
now ([\#2534](https://github.com/anoma/namada/pull/2534)) |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/improvements/2534-invalidate-masp-notes-in-client.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,3 @@ | ||
- The client, when generating a shielded transfer, invalidates the | ||
masp notes that have been spent without the need to sync with a node. | ||
([\#2534](https://github.com/anoma/namada/pull/2534)) |
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
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
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.