Skip to content

Commit

Permalink
update zxlib and js
Browse files Browse the repository at this point in the history
  • Loading branch information
abenso committed Dec 17, 2024
1 parent e98b1d5 commit 426d2c0
Show file tree
Hide file tree
Showing 157 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion deps/ledger-zxlib
Submodule ledger-zxlib updated 59 files
+34 −39 app/common/app_main.c
+31 −30 app/common/app_main.h
+37 −26 app/ui/view.c
+9 −2 app/ui/view.h
+35 −37 app/ui/view_inspect_s.c
+42 −1 app/ui/view_internal.h
+97 −89 app/ui/view_nano.c
+1 −1 app/ui/view_nano.h
+15 −14 app/ui/view_nano_inspect.h
+12 −12 app/ui/view_nbgl.c
+107 −7 app/ui/view_s.c
+306 −148 app/ui/view_x.c
+1 −1 dockerized_build.mk
+32 −33 include/apdu_codes.h
+19 −16 include/app_mode.h
+19 −21 include/base58.h
+1 −1 include/base64.h
+1 −1 include/bech32.h
+1 −1 include/bignum.h
+1 −6 include/bittools.h
+17 −20 include/buffering.h
+15 −15 include/hexutils.h
+8 −35 include/segwit_addr.h
+15 −18 include/sigutils.h
+17 −16 include/timeutils.h
+318 −415 include/utf8.h
+145 −149 include/view_templates.h
+14 −14 include/zxcanary.h
+51 −49 include/zxerror.h
+74 −79 include/zxformat.h
+14 −14 include/zxtypes.h
+2 −3 include/zxutils_ledger.h
+4 −4 include/zxversion.h
+1 −1 scripts/install_deps.sh
+1 −1 scripts/template.sh
+27 −3 src/app_mode.c
+40 −48 src/base58.c
+20 −20 src/base64.c
+20 −23 src/bech32.c
+24 −27 src/bignum.c
+20 −26 src/buffering.c
+24 −25 src/hexutils.c
+14 −22 src/segwit_addr.c
+17 −21 src/sigutils.c
+76 −686 src/timeutils.c
+19 −17 src/zxcanary.c
+30 −30 src/zxformat.c
+133 −134 src/zxutils_ledger.c
+1 −1 templates/Makefile.root
+1 −1 tests/asciify.cpp
+1 −1 tests/base64.cpp
+1 −1 tests/bech32.cpp
+1 −1 tests/bip44path.cpp
+1 −1 tests/buffering_tests.cpp
+1 −1 tests/doubledabble.cpp
+1 −1 tests/hexutils.cpp
+1 −1 tests/macros.cpp
+1 −1 tests/sigutils.cpp
+1 −1 tests/zxformat.cpp
16 changes: 8 additions & 8 deletions tests_zemu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@
"test_recovery": "yarn clean && jest --maxConcurrency 3 recovery.test.ts"
},
"dependencies": {
"@zondax/ledger-substrate": "^1.0.0",
"@zondax/zemu": "^0.51.0"
"@zondax/ledger-substrate": "^1.0.1",
"@zondax/zemu": "^0.53.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/ledgerhq__hw-transport": "^4.21.8",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"blakejs": "^1.2.1",
"crypto-js": "4.2.0",
"ed25519-supercop": "^2.0.1",
"eslint": "^9.13.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "29.7.0",
"jssha": "^3.3.1",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}
Binary file modified tests_zemu/snapshots/sp-balances_transfer/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_zemu/snapshots/sp-balances_transfer/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_zemu/snapshots/sp-balances_transfer/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 tests_zemu/snapshots/sp-balances_transfer/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 tests_zemu/snapshots/sp-balances_transfer/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 tests_zemu/snapshots/sp-balances_transfer/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 modified tests_zemu/snapshots/sp-balances_transfer/00009.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_zemu/snapshots/sp-balances_transfer_expert/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_zemu/snapshots/sp-balances_transfer_expert/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_zemu/snapshots/sp-balances_transfer_expert/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 tests_zemu/snapshots/sp-balances_transfer_expert/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 tests_zemu/snapshots/sp-balances_transfer_expert/00008.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_zemu/snapshots/sp-balances_transfer_expert/00009.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_zemu/snapshots/sp-balances_transfer_expert/00012.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_zemu/snapshots/sp-balances_transfer_expert/00013.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_zemu/snapshots/sp-balances_transfer_expert/00015.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_zemu/snapshots/sp-mainmenu/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_zemu/snapshots/sp-mainmenu/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_zemu/snapshots/sp-mainmenu/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_zemu/snapshots/sp-mainmenu/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_zemu/snapshots/sp-mainmenu/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 tests_zemu/snapshots/sp-mainmenu/00009.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_zemu/snapshots/sp-mainmenu/00011.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_zemu/snapshots/sp-mainmenu/00012.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_zemu/snapshots/sp-proxy_proxy/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_zemu/snapshots/sp-proxy_proxy/00002.png
Binary file modified tests_zemu/snapshots/sp-proxy_proxy/00003.png
Binary file modified tests_zemu/snapshots/sp-proxy_proxy/00004.png
Binary file modified tests_zemu/snapshots/sp-proxy_proxy/00006.png
Binary file modified tests_zemu/snapshots/sp-proxy_proxy/00009.png
Binary file modified tests_zemu/snapshots/sp-proxy_proxy/00010.png
Binary file modified tests_zemu/snapshots/sp-proxy_proxy/00012.png
Binary file modified tests_zemu/snapshots/sp-raw_sign/00001.png
Binary file modified tests_zemu/snapshots/sp-raw_sign/00002.png
Binary file modified tests_zemu/snapshots/sp-raw_sign/00004.png
Binary file modified tests_zemu/snapshots/sp-raw_sign_hex/00001.png
Binary file modified tests_zemu/snapshots/sp-raw_sign_hex/00002.png
Binary file modified tests_zemu/snapshots/sp-raw_sign_hex/00003.png
Binary file modified tests_zemu/snapshots/sp-raw_sign_hex/00004.png
Binary file modified tests_zemu/snapshots/sp-raw_sign_hex/00006.png
Binary file modified tests_zemu/snapshots/sp-recovery_show_address/00001.png
Binary file modified tests_zemu/snapshots/sp-recovery_show_address/00003.png
Binary file modified tests_zemu/snapshots/sp-recovery_show_address_reject/00001.png
Binary file modified tests_zemu/snapshots/sp-recovery_show_address_reject/00003.png
Binary file modified tests_zemu/snapshots/sp-recovery_show_address_reject/00004.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00001.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00002.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00003.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00004.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00005.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00006.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00007.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00009.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00010.png
Binary file modified tests_zemu/snapshots/sp-session_setkeys/00012.png
Binary file modified tests_zemu/snapshots/sp-show_address/00001.png
Binary file modified tests_zemu/snapshots/sp-show_address/00003.png
Binary file modified tests_zemu/snapshots/sp-show_address_reject/00001.png
Binary file modified tests_zemu/snapshots/sp-show_address_reject/00003.png
Binary file modified tests_zemu/snapshots/sp-show_address_reject/00004.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00002.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00003.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00004.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00005.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00006.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00007.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00008.png
Binary file modified tests_zemu/snapshots/sp-staking_nominate/00010.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00001.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00002.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00003.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00004.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00005.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00006.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00007.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00008.png
Binary file modified tests_zemu/snapshots/sp-utility_batch/00010.png
Binary file modified tests_zemu/snapshots/x-balances_transfer/00002.png
Binary file modified tests_zemu/snapshots/x-balances_transfer/00003.png
Binary file modified tests_zemu/snapshots/x-balances_transfer/00004.png
Binary file modified tests_zemu/snapshots/x-balances_transfer/00005.png
Binary file modified tests_zemu/snapshots/x-balances_transfer/00006.png
Binary file modified tests_zemu/snapshots/x-balances_transfer/00007.png
Binary file modified tests_zemu/snapshots/x-balances_transfer/00009.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00002.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00003.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00004.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00005.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00008.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00009.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00012.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00013.png
Binary file modified tests_zemu/snapshots/x-balances_transfer_expert/00015.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00000.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00001.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00002.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00003.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00005.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00009.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00011.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00012.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00001.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00002.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00003.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00004.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00006.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00009.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00010.png
Binary file modified tests_zemu/snapshots/x-proxy_proxy/00012.png
Binary file modified tests_zemu/snapshots/x-raw_sign/00001.png
Binary file modified tests_zemu/snapshots/x-raw_sign/00002.png
Binary file modified tests_zemu/snapshots/x-raw_sign/00004.png
Binary file modified tests_zemu/snapshots/x-raw_sign_hex/00001.png
Binary file modified tests_zemu/snapshots/x-raw_sign_hex/00002.png
Binary file modified tests_zemu/snapshots/x-raw_sign_hex/00003.png
Binary file modified tests_zemu/snapshots/x-raw_sign_hex/00004.png
Binary file modified tests_zemu/snapshots/x-raw_sign_hex/00006.png
Binary file modified tests_zemu/snapshots/x-recovery_show_address/00001.png
Binary file modified tests_zemu/snapshots/x-recovery_show_address/00003.png
Binary file modified tests_zemu/snapshots/x-recovery_show_address_reject/00001.png
Binary file modified tests_zemu/snapshots/x-recovery_show_address_reject/00003.png
Binary file modified tests_zemu/snapshots/x-recovery_show_address_reject/00004.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00001.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00002.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00003.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00004.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00005.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00006.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00007.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00009.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00010.png
Binary file modified tests_zemu/snapshots/x-session_setkeys/00012.png
Binary file modified tests_zemu/snapshots/x-show_address/00001.png
Binary file modified tests_zemu/snapshots/x-show_address/00003.png
Binary file modified tests_zemu/snapshots/x-show_address_reject/00001.png
Binary file modified tests_zemu/snapshots/x-show_address_reject/00003.png
Binary file modified tests_zemu/snapshots/x-show_address_reject/00004.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00002.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00003.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00004.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00005.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00006.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00007.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00008.png
Binary file modified tests_zemu/snapshots/x-staking_nominate/00010.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00001.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00002.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00003.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00004.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00005.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00006.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00007.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00008.png
Binary file modified tests_zemu/snapshots/x-utility_batch/00010.png
2 changes: 1 addition & 1 deletion tests_zemu/tests/recovery.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Standard', function () {
}
})

test.only.each(models)('get address recovery', async function (m) {
test.concurrent.each(models)('get address recovery', async function (m) {
const sim = new Zemu(m.path)
try {
await sim.start({ ...defaultOptions, model: m.name })
Expand Down

0 comments on commit 426d2c0

Please sign in to comment.