-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: filter out change note on certain scenarios, add from address t…
…o review flow (#91) * Add "From" rendering * Filter change outputs * Fix rust tests and compilation errors * Update rust test snapshots * Add logging * Add change address rust test * Update snapshots * Update sdk to latest * fix debug feature flag * fix clippy * Update snapshots * Remove unused testing data(duplicated) * Only filter out change_Address in normal mode and enhance our filtering to be more robust without depending on field ordering * Update method to build transaction to use alternative receiver * Update tests and snapshots * Update snapshots * In normal mode allow change output rendering if it is the only one * Fix buildTx to remove previous ambiguity and update tests * Update snapshots * Add test to check change output rendering if it is the only one
- Loading branch information
Showing
178 changed files
with
330 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file modified
BIN
-143 Bytes
(98%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.25 KB
(89%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+452 Bytes
(100%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.78 KB
(66%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15.8 KB
(250%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+503 Bytes
(110%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.39 KB
(74%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.27 KB
(130%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction/00007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.63 KB
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_expert_mode/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.3 KB
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_expert_mode/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.3 KB
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_expert_mode/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.3 KB
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_expert_mode/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+26 KB
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_expert_mode/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.1 KB
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_expert_mode/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.51 KB
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_expert_mode/00006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file modified
BIN
+26 Bytes
(100%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_normal_mode/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.06 KB
(89%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_normal_mode/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11.2 KB
(240%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_normal_mode/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.56 KB
(63%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_normal_mode/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.33 KB
(74%)
tests_zemu/snapshots/fl-dkg-sign-1-review-transaction_normal_mode/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.7 KB
...ots/fl-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.4 KB
...ots/fl-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.7 KB
...ots/fl-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.97 KB
...ots/fl-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.57 KB
...ots/fl-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00004.png
Oops, something went wrong.
Binary file added
BIN
+12.9 KB
...ots/fl-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00005.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00002.png
Oops, something went wrong.
Binary file modified
BIN
+13 Bytes
(100%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00003.png
Oops, something went wrong.
Binary file modified
BIN
+456 Bytes
(210%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00004.png
Oops, something went wrong.
Binary file modified
BIN
-403 Bytes
(53%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00005.png
Oops, something went wrong.
Binary file modified
BIN
-50 Bytes
(89%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00006.png
Oops, something went wrong.
Binary file modified
BIN
+512 Bytes
(250%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00007.png
Oops, something went wrong.
Binary file modified
BIN
-405 Bytes
(53%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00008.png
Oops, something went wrong.
Binary file modified
BIN
-179 Bytes
(66%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00009.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00010.png
Oops, something went wrong.
Binary file modified
BIN
+73 Bytes
(120%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00011.png
Oops, something went wrong.
Binary file modified
BIN
+475 Bytes
(220%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00012.png
Oops, something went wrong.
Binary file modified
BIN
+106 Bytes
(130%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00013.png
Oops, something went wrong.
Binary file modified
BIN
+46 Bytes
(110%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00014.png
Oops, something went wrong.
Binary file modified
BIN
-15 Bytes
(96%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00015.png
Oops, something went wrong.
Binary file modified
BIN
-113 Bytes
(75%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00016.png
Oops, something went wrong.
Binary file modified
BIN
-89 Bytes
(80%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00017.png
Oops, something went wrong.
Binary file modified
BIN
+67 Bytes
(120%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction/00018.png
Oops, something went wrong.
Binary file added
BIN
+419 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00000.png
Oops, something went wrong.
Binary file added
BIN
+346 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00001.png
Oops, something went wrong.
Binary file added
BIN
+870 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00002.png
Oops, something went wrong.
Binary file added
BIN
+466 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00003.png
Oops, something went wrong.
Binary file added
BIN
+837 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00004.png
Oops, something went wrong.
Binary file added
BIN
+452 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00005.png
Oops, something went wrong.
Binary file added
BIN
+403 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00006.png
Oops, something went wrong.
Binary file added
BIN
+859 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00007.png
Oops, something went wrong.
Binary file added
BIN
+455 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00008.png
Oops, something went wrong.
Binary file added
BIN
+347 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00009.png
Oops, something went wrong.
Binary file added
BIN
+860 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00010.png
Oops, something went wrong.
Binary file added
BIN
+526 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00011.png
Oops, something went wrong.
Binary file added
BIN
+859 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00012.png
Oops, something went wrong.
Binary file added
BIN
+455 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00013.png
Oops, something went wrong.
Binary file added
BIN
+384 Bytes
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_expert_mode/00014.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified
BIN
+12 Bytes
(100%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_normal_mode/00002.png
Oops, something went wrong.
Binary file modified
BIN
+13 Bytes
(100%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_normal_mode/00003.png
Oops, something went wrong.
Binary file modified
BIN
+434 Bytes
(210%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_normal_mode/00004.png
Oops, something went wrong.
Binary file modified
BIN
+103 Bytes
(130%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_normal_mode/00005.png
Oops, something went wrong.
Binary file modified
BIN
+65 Bytes
(120%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_normal_mode/00006.png
Oops, something went wrong.
Binary file modified
BIN
-15 Bytes
(96%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_normal_mode/00007.png
Oops, something went wrong.
Binary file modified
BIN
-113 Bytes
(75%)
tests_zemu/snapshots/sp-dkg-sign-1-review-transaction_normal_mode/00008.png
Oops, something went wrong.
Binary file added
BIN
+419 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00000.png
Oops, something went wrong.
Binary file added
BIN
+346 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00001.png
Oops, something went wrong.
Binary file added
BIN
+870 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00002.png
Oops, something went wrong.
Binary file added
BIN
+466 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00003.png
Oops, something went wrong.
Binary file added
BIN
+859 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00004.png
Oops, something went wrong.
Binary file added
BIN
+455 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00005.png
Oops, something went wrong.
Binary file added
BIN
+403 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00006.png
Oops, something went wrong.
Binary file added
BIN
+349 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00007.png
Oops, something went wrong.
Binary file added
BIN
+338 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00008.png
Oops, something went wrong.
Binary file added
BIN
+364 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00009.png
Oops, something went wrong.
Binary file added
BIN
+451 Bytes
...ots/sp-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00010.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+39 Bytes
(100%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction/00000.png
Oops, something went wrong.
Binary file modified
BIN
+7.53 KB
(140%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction/00001.png
Oops, something went wrong.
Binary file modified
BIN
-7.19 KB
(72%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction/00002.png
Oops, something went wrong.
Binary file modified
BIN
+6.45 KB
(130%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction/00003.png
Oops, something went wrong.
Binary file modified
BIN
-1.48 KB
(83%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction/00004.png
Oops, something went wrong.
Binary file modified
BIN
-2.34 KB
(79%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction/00005.png
Oops, something went wrong.
Binary file added
BIN
+8.05 KB
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_expert_mode/00000.png
Oops, something went wrong.
Binary file added
BIN
+24.6 KB
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_expert_mode/00001.png
Oops, something went wrong.
Binary file added
BIN
+18 KB
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_expert_mode/00002.png
Oops, something went wrong.
Binary file added
BIN
+25.6 KB
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_expert_mode/00003.png
Oops, something went wrong.
Binary file added
BIN
+7.42 KB
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_expert_mode/00004.png
Oops, something went wrong.
Binary file added
BIN
+8.92 KB
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_expert_mode/00005.png
Oops, something went wrong.
Binary file added
BIN
+11.3 KB
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_expert_mode/00006.png
Oops, something went wrong.
Binary file modified
BIN
+5.24 KB
(130%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_normal_mode/00001.png
Oops, something went wrong.
Binary file modified
BIN
+3.76 KB
(170%)
tests_zemu/snapshots/st-dkg-sign-1-review-transaction_normal_mode/00002.png
Oops, something went wrong.
Binary file added
BIN
+7.98 KB
...ots/st-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00000.png
Oops, something went wrong.
Binary file added
BIN
+25.4 KB
...ots/st-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00001.png
Oops, something went wrong.
Binary file added
BIN
+9.36 KB
...ots/st-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00002.png
Oops, something went wrong.
Binary file added
BIN
+8.86 KB
...ots/st-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00003.png
Oops, something went wrong.
Binary file added
BIN
+11.3 KB
...ots/st-dkg-sign-1-review-transaction_normal_mode_shows_change_address/00004.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.