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

Fix EIP-712 NBGL pairs packing #658

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src_nbgl/ui_sign_712.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ static void message_update(bool confirm) {
pairs[pair_idx].value = memmove(buf + buf_idx, strings.tmp.tmp, buf_off);
buf_idx += buf_off;
pair_idx += 1;
pairs_list.nbPairs = nbgl_useCaseGetNbTagValuesInPage(pair_idx, &pairs_list, 0, &flag);
pairs_list.nbPairs =
nbgl_useCaseGetNbTagValuesInPageExt(pair_idx, &pairs_list, 0, !filtered, &flag);
}
if (!review_skipped && ((pair_idx == ARRAYLEN(pairs)) || (pairs_list.nbPairs < pair_idx))) {
nbgl_useCaseReviewStreamingContinueExt(&pairs_list, message_progress, review_skip);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 tests/ragger/snapshots/flex/erc1155_safeTransferFrom_1/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 tests/ragger/snapshots/flex/erc1155_safeTransferFrom_5/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 tests/ragger/snapshots/flex/erc721_approve_1/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 tests/ragger/snapshots/flex/erc721_approve_1/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 tests/ragger/snapshots/flex/erc721_approve_137/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 tests/ragger/snapshots/flex/erc721_approve_137/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 tests/ragger/snapshots/flex/erc721_approve_5/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 tests/ragger/snapshots/flex/erc721_approve_5/00003.png
Binary file modified tests/ragger/snapshots/flex/erc721_safeTransferFrom_1/00000.png
Binary file modified tests/ragger/snapshots/flex/erc721_safeTransferFrom_1/00001.png
Binary file modified tests/ragger/snapshots/flex/erc721_safeTransferFrom_5/00002.png
Binary file modified tests/ragger/snapshots/flex/erc721_safeTransferFrom_5/00003.png
Binary file modified tests/ragger/snapshots/flex/erc721_setApprovalForAll_1/00000.png
Binary file modified tests/ragger/snapshots/flex/erc721_setApprovalForAll_1/00001.png
Binary file modified tests/ragger/snapshots/flex/erc721_setApprovalForAll_5/00000.png
Binary file modified tests/ragger/snapshots/flex/erc721_setApprovalForAll_5/00001.png
Binary file modified tests/ragger/snapshots/flex/erc721_transferFrom_1/00000.png
Binary file modified tests/ragger/snapshots/flex/erc721_transferFrom_1/00001.png
Binary file modified tests/ragger/snapshots/flex/erc721_transferFrom_137/00002.png
Binary file modified tests/ragger/snapshots/flex/erc721_transferFrom_137/00003.png
Binary file modified tests/ragger/snapshots/flex/erc721_transferFrom_5/00002.png
Binary file modified tests/ragger/snapshots/flex/erc721_transferFrom_5/00003.png
Binary file modified tests/ragger/snapshots/flex/test_blind_sign_rejected/00000.png
Binary file modified tests/ragger/snapshots/flex/test_blind_sign_rejected/00001.png
Binary file modified tests/ragger/snapshots/flex/test_blind_sign_rejected/00002.png
Binary file modified tests/ragger/snapshots/flex/test_blind_sign_signed/00000.png
Binary file modified tests/ragger/snapshots/flex/test_blind_sign_signed/00001.png
Binary file modified tests/ragger/snapshots/flex/test_blind_sign_signed/00002.png
Binary file modified tests/ragger/snapshots/flex/test_clone_thundercore/00000.png
Binary file modified tests/ragger/snapshots/flex/test_clone_thundercore/00001.png
Binary file modified tests/ragger/snapshots/flex/test_legacy_chainid/00000.png
Binary file modified tests/ragger/snapshots/flex/test_legacy_chainid/00001.png
Binary file modified tests/ragger/snapshots/flex/test_legacy_send_bsc/00000.png
Binary file modified tests/ragger/snapshots/flex/test_legacy_send_bsc/00001.png
Binary file modified tests/ragger/snapshots/flex/test_sign_eip_2930/00000.png
Binary file modified tests/ragger/snapshots/flex/test_sign_eip_2930/00001.png
Binary file modified tests/ragger/snapshots/flex/test_sign_limit_nonce/00000.png
Binary file modified tests/ragger/snapshots/flex/test_sign_limit_nonce/00001.png
Binary file modified tests/ragger/snapshots/flex/test_sign_nonce_display/00000.png
Binary file modified tests/ragger/snapshots/flex/test_sign_nonce_display/00001.png
Binary file modified tests/ragger/snapshots/flex/test_sign_reject/00000.png
Binary file modified tests/ragger/snapshots/flex/test_sign_reject/00001.png
Binary file modified tests/ragger/snapshots/flex/test_sign_simple/00000.png
Binary file modified tests/ragger/snapshots/flex/test_sign_simple/00001.png
Binary file modified tests/ragger/snapshots/flex/test_trusted_name_v1/00000.png
Binary file modified tests/ragger/snapshots/flex/test_trusted_name_v1/00001.png
Binary file modified tests/ragger/snapshots/flex/test_trusted_name_v2/00000.png
Binary file modified tests/ragger/snapshots/flex/test_trusted_name_v2/00001.png
Binary file modified tests/ragger/snapshots/stax/test_blind_sign_rejected/00000.png
Binary file modified tests/ragger/snapshots/stax/test_blind_sign_signed/00000.png
Binary file modified tests/ragger/snapshots/stax/test_sign_parameter_selector/00009.png
Loading