Skip to content

Commit

Permalink
Merge pull request #20 from Zondax/update-app
Browse files Browse the repository at this point in the history
some fixes
  • Loading branch information
ftheirs authored Apr 24, 2023
2 parents 7183d18 + ced5ea3 commit a10e246
Show file tree
Hide file tree
Showing 101 changed files with 26 additions and 60 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/coverity.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
[ ${{needs.build_ledger.outputs.size}} -le $NANOS_LIMIT_SIZE ]
test_zemu:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Test
Expand All @@ -80,11 +81,7 @@ jobs:
run: |
npm install -g yarn
- name: Build Ledger app
run: make
- name: Build/Install build js deps
run: make zemu_install
- name: Run zemu tests
run: "cd tests_zemu; yarn test"
run: make test_all
- name: Upload Snapshots (only failure)
if: ${{ failure() }}
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ APPVERSION_M=2
# This is the `spec_version` field of `Runtime`
APPVERSION_N=1
# This is the patch version of this release
APPVERSION_P=2
APPVERSION_P=3
Binary file removed app/glyphs/icon_back.gif
Binary file not shown.
Binary file removed app/glyphs/icon_back_x.gif
Binary file not shown.
Binary file removed app/glyphs/icon_certificate.gif
Binary file not shown.
Binary file removed app/glyphs/icon_crossmark.gif
Binary file not shown.
Binary file removed app/glyphs/icon_dashboard.gif
Binary file not shown.
Binary file removed app/glyphs/icon_dashboard_x.gif
Binary file not shown.
Binary file removed app/glyphs/icon_down.gif
Binary file not shown.
Binary file removed app/glyphs/icon_eye.gif
Binary file not shown.
Binary file removed app/glyphs/icon_left.gif
Binary file not shown.
Binary file removed app/glyphs/icon_right.gif
Binary file not shown.
File renamed without changes
File renamed without changes
Binary file removed app/glyphs/icon_up.gif
Binary file not shown.
Binary file removed app/glyphs/icon_validate_14.gif
Binary file not shown.
Binary file removed app/glyphs/icon_warning.gif
Binary file not shown.
15 changes: 15 additions & 0 deletions app/src/algo_asa.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@ static const algo_asset_info_t algo_assets[] = {
ALGO_ASA(27165954, "PLANET", "PLANETS ", 6),
ALGO_ASA(163650, "Asia Reserve Currency Coin", "ARCC ", 6),
ALGO_ASA(137594422, "HEADLINE", "HDL ", 6),
ALGO_ASA(922346083, "Nimble", "NIMBLE ", 6),
ALGO_ASA(470842789, "Defly", "DEFLY ", 6),
ALGO_ASA(408898501, "Loot Box ASA", "LTBX ", 1),
ALGO_ASA(1003833031, "CollecteursX", "CLTR ", 6),
ALGO_ASA(230946361, "AlgoGems", "GEMS ", 6),
ALGO_ASA(226701642, "Yieldly", "YLDY ", 6),
ALGO_ASA(300208676, "Smile Coin", "SMILE ", 6),
ALGO_ASA(287867876, "Opulous", "OPUL ", 10),
ALGO_ASA(213345970, "Exodus", "EXIT ", 8),
ALGO_ASA(297995609, "Choice Coin", "CHOICE ", 2),
ALGO_ASA(386192725, "goBTC", "goBTC ", 8),
ALGO_ASA(386195940, "goETH", "goETH ", 8),
ALGO_ASA(441139422, "goMINT", "goMINT ", 6),
ALGO_ASA(403499324, "NEXUS", "GP ", 0),
ALGO_ASA(142838028, "AlgoFam", "FAME", 6),
};


Expand Down
2 changes: 1 addition & 1 deletion app/src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ parser_error_t parser_getTxnText(parser_context_t *ctx,
snprintf(outVal, outValLen, "Review asset\nconfiguration");
break;
case TX_APPLICATION:
snprintf(outVal, outValLen, "Review application call");
snprintf(outVal, outValLen, "Review application\ncall");
break;
default:
return parser_unknown_transaction;
Expand Down
2 changes: 1 addition & 1 deletion deps/nanosplus-secure-sdk
2 changes: 1 addition & 1 deletion deps/nanox-secure-sdk
Submodule nanox-secure-sdk updated 966 files
2 changes: 1 addition & 1 deletion deps/stax-secure-sdk
Submodule stax-secure-sdk updated 59 files
+8 −3 Makefile.defines
+2 −4 Makefile.rules
+170 −0 Makefile.standard_app
+4 −0 include/os_io_seproxyhal.h
+126 −0 include/os_seed.h
+2 −0 lib_blewbxx_impl/src/ledger_ble.c
+65 −59 lib_nbgl/fonts/nbgl_font_inter_regular_24.inc
+82 −83 lib_nbgl/fonts/nbgl_font_inter_regular_24_1bpp.inc
+70 −61 lib_nbgl/fonts/nbgl_font_inter_regular_32.inc
+4 −4 lib_nbgl/fonts/nbgl_font_inter_regular_32_1bpp.inc
+68 −61 lib_nbgl/fonts/nbgl_font_inter_semibold_24.inc
+82 −83 lib_nbgl/fonts/nbgl_font_inter_semibold_24_1bpp.inc
+3 −3 lib_nbgl/include/nbgl_use_case.h
+1 −1 lib_nbgl/src/nbgl_draw.c
+1 −0 lib_nbgl/src/nbgl_layout.c
+13 −8 lib_nbgl/src/nbgl_use_case.c
+ lib_nbgl/tools/nbgl_font_Inter_Regular_24px/nbgl_font_Inter_Regular_24px_0x000049.bmp
+ lib_nbgl/tools/nbgl_font_Inter_Regular_24px/nbgl_font_Inter_Regular_24px_0x00006C.bmp
+ lib_nbgl/tools/nbgl_font_Inter_Regular_24px_1bpp/nbgl_font_Inter_Regular_24px_1bpp_0x000030.gif
+ lib_nbgl/tools/nbgl_font_Inter_Regular_32px/nbgl_font_Inter_Regular_32px_0x000049.bmp
+ lib_nbgl/tools/nbgl_font_Inter_Regular_32px/nbgl_font_Inter_Regular_32px_0x00006C.bmp
+ lib_nbgl/tools/nbgl_font_Inter_Regular_32px_1bpp/nbgl_font_Inter_Regular_32px_1bpp_0x000030.gif
+ lib_nbgl/tools/nbgl_font_Inter_SemiBold_24px/nbgl_font_Inter_SemiBold_24px_0x000049.bmp
+ lib_nbgl/tools/nbgl_font_Inter_SemiBold_24px/nbgl_font_Inter_SemiBold_24px_0x00006C.bmp
+ lib_nbgl/tools/nbgl_font_Inter_SemiBold_24px_1bpp/nbgl_font_Inter_SemiBold_24px_1bpp_0x000030.gif
+155 −0 lib_standard_app/base58.c
+52 −0 lib_standard_app/base58.h
+87 −0 lib_standard_app/bip32.c
+47 −0 lib_standard_app/bip32.h
+165 −0 lib_standard_app/buffer.c
+192 −0 lib_standard_app/buffer.h
+175 −0 lib_standard_app/crypto_helpers.c
+341 −0 lib_standard_app/crypto_helpers.h
+157 −0 lib_standard_app/format.c
+69 −0 lib_standard_app/format.h
+189 −0 lib_standard_app/io.c
+99 −0 lib_standard_app/io.h
+10 −0 lib_standard_app/macros.h
+85 −0 lib_standard_app/main.c
+26 −0 lib_standard_app/offsets.h
+39 −0 lib_standard_app/parser.c
+33 −0 lib_standard_app/parser.h
+64 −0 lib_standard_app/read.c
+82 −0 lib_standard_app/read.h
+101 −0 lib_standard_app/varint.c
+52 −0 lib_standard_app/varint.h
+64 −0 lib_standard_app/write.c
+82 −0 lib_standard_app/write.h
+ lib_ux/glyphs/icon_back.gif
+ lib_ux/glyphs/icon_back_x.gif
+ lib_ux/glyphs/icon_certificate.gif
+ lib_ux/glyphs/icon_coggle.gif
+ lib_ux/glyphs/icon_crossmark.gif
+ lib_ux/glyphs/icon_dashboard.gif
+ lib_ux/glyphs/icon_dashboard_x.gif
+ lib_ux/glyphs/icon_eye.gif
+ lib_ux/glyphs/icon_processing.gif
+ lib_ux/glyphs/icon_validate_14.gif
+4 −0 src/os_io_seproxyhal.c
4 changes: 2 additions & 2 deletions tests_zemu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@zondax/ledger-algorand": "../js",
"@zondax/zemu": "^0.39.1"
"@zondax/zemu": "^0.41.0"
},
"devDependencies": {
"@types/jest": "^29.4.0",
Expand All @@ -34,7 +34,7 @@
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.0.0",
"jest": "29.4.2",
"jest": "29.5.0",
"jssha": "^3.2.0",
"prettier": "^2.4.1",
"ts-jest": "^29.0.5",
Expand Down
Binary file modified tests_zemu/snapshots/s-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/s-mainmenu/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/s-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/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/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-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/st-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/st-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/st-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/st-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/st-mainmenu/00004.png
Binary file modified tests_zemu/snapshots/st-mainmenu/00005.png
Binary file modified tests_zemu/snapshots/st-show_address/00000.png
Binary file modified tests_zemu/snapshots/st-show_address/00001.png
Binary file modified tests_zemu/snapshots/st-show_address/00002.png
Binary file modified tests_zemu/snapshots/st-show_address_reject/00000.png
Binary file modified tests_zemu/snapshots/st-show_address_reject/00001.png
Binary file modified tests_zemu/snapshots/st-show_address_reject/00003.png
Binary file modified tests_zemu/snapshots/st-sign_application/00000.png
Binary file modified tests_zemu/snapshots/st-sign_application/00001.png
Binary file modified tests_zemu/snapshots/st-sign_application/00002.png
Binary file modified tests_zemu/snapshots/st-sign_application/00003.png
Binary file modified tests_zemu/snapshots/st-sign_application/00004.png
Binary file modified tests_zemu/snapshots/st-sign_application/00005.png
Binary file modified tests_zemu/snapshots/st-sign_application/00006.png
Binary file modified tests_zemu/snapshots/st-sign_application/00007.png
Binary file modified tests_zemu/snapshots/st-sign_application/00008.png
Binary file modified tests_zemu/snapshots/st-sign_application/00009.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00000.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00001.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00002.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00003.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00005.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00006.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00007.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00008.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00009.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00011.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00012.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00013.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00014.png
Binary file modified tests_zemu/snapshots/st-sign_application_big/00015.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00001.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00002.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00003.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00004.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00005.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00006.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00007.png
Binary file modified tests_zemu/snapshots/st-sign_asset_config/00008.png
Binary file modified tests_zemu/snapshots/st-sign_asset_freeze/00001.png
Binary file modified tests_zemu/snapshots/st-sign_asset_freeze/00002.png
Binary file modified tests_zemu/snapshots/st-sign_asset_freeze/00003.png
Binary file modified tests_zemu/snapshots/st-sign_asset_freeze/00004.png
Binary file modified tests_zemu/snapshots/st-sign_asset_freeze/00005.png
Binary file modified tests_zemu/snapshots/st-sign_asset_transfer/00001.png
Binary file modified tests_zemu/snapshots/st-sign_asset_transfer/00002.png
Binary file modified tests_zemu/snapshots/st-sign_asset_transfer/00003.png
Binary file modified tests_zemu/snapshots/st-sign_asset_transfer/00004.png
Binary file modified tests_zemu/snapshots/st-sign_asset_transfer/00005.png
Binary file modified tests_zemu/snapshots/st-sign_keyreg/00001.png
Binary file modified tests_zemu/snapshots/st-sign_keyreg/00002.png
Binary file modified tests_zemu/snapshots/st-sign_keyreg/00003.png
Binary file modified tests_zemu/snapshots/st-sign_keyreg/00005.png
Binary file modified tests_zemu/snapshots/st-sign_keyreg/00006.png
Binary file modified tests_zemu/snapshots/st-sign_keyreg/00007.png
Binary file modified tests_zemu/snapshots/st-sign_payment/00001.png
Binary file modified tests_zemu/snapshots/st-sign_payment/00002.png
Binary file modified tests_zemu/snapshots/st-sign_payment/00003.png
Binary file modified tests_zemu/snapshots/st-sign_payment/00004.png
Binary file modified tests_zemu/snapshots/st-sign_payment/00005.png
Binary file modified tests_zemu/snapshots/st-sign_payment/00006.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00005.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00008.png
Binary file modified tests_zemu/snapshots/x-mainmenu/00011.png

0 comments on commit a10e246

Please sign in to comment.