From 8d8893b20367960e772d08216f0b9689dcfbd4f3 Mon Sep 17 00:00:00 2001 From: Marco Granelli Date: Tue, 6 Feb 2024 19:49:11 +0100 Subject: [PATCH] Changelog #2534 --- .../unreleased/SDK/2534-invalidate-masp-notes-in-client.md | 6 ++++++ .../improvements/2534-invalidate-masp-notes-in-client.md | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 .changelog/unreleased/SDK/2534-invalidate-masp-notes-in-client.md create mode 100644 .changelog/unreleased/improvements/2534-invalidate-masp-notes-in-client.md diff --git a/.changelog/unreleased/SDK/2534-invalidate-masp-notes-in-client.md b/.changelog/unreleased/SDK/2534-invalidate-masp-notes-in-client.md new file mode 100644 index 00000000000..d4e0ef86bf6 --- /dev/null +++ b/.changelog/unreleased/SDK/2534-invalidate-masp-notes-in-client.md @@ -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)) \ No newline at end of file diff --git a/.changelog/unreleased/improvements/2534-invalidate-masp-notes-in-client.md b/.changelog/unreleased/improvements/2534-invalidate-masp-notes-in-client.md new file mode 100644 index 00000000000..d1c9cd659fc --- /dev/null +++ b/.changelog/unreleased/improvements/2534-invalidate-masp-notes-in-client.md @@ -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)) \ No newline at end of file