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

Develop has been validated by product team #20

Merged
merged 136 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
2adf6d1
Bump elliptic from 6.5.3 to 6.5.4 in /tests_zemu
dependabot[bot] Mar 11, 2021
3747f1d
Merge pull request #19 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni Mar 12, 2021
cf9aa21
Bump y18n from 4.0.0 to 4.0.1 in /tests_zemu
dependabot[bot] Apr 1, 2021
91ac762
Bump lodash from 4.17.20 to 4.17.21 in /tests_zemu
dependabot[bot] May 11, 2021
fadf07d
Bump hosted-git-info from 2.8.8 to 2.8.9 in /tests_zemu
dependabot[bot] May 11, 2021
a09919d
Merge pull request #23 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni May 12, 2021
b8a5bd0
Merge pull request #22 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni May 12, 2021
5c0d546
Bump browserslist from 4.14.7 to 4.16.6 in /tests_zemu
dependabot[bot] May 26, 2021
460c0fb
Merge pull request #24 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni May 30, 2021
3caf9df
Merge pull request #20 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni May 30, 2021
b6718bb
Bump path-parse from 1.0.6 to 1.0.7 in /tests_zemu
dependabot[bot] Aug 12, 2021
0f93ebd
Merge pull request #25 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni Aug 13, 2021
b89704c
Bump ws from 5.2.2 to 5.2.3 in /tests_zemu
dependabot[bot] Aug 13, 2021
441d070
Merge pull request #26 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni Aug 15, 2021
6d53747
Bump tmpl from 1.0.4 to 1.0.5 in /tests_zemu
dependabot[bot] Sep 22, 2021
6da8f6f
Merge pull request #27 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni Sep 24, 2021
e2d030e
Bump axios from 0.21.1 to 0.21.4 in /tests_zemu
dependabot[bot] Sep 24, 2021
b937b53
Merge pull request #28 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni Sep 24, 2021
f6062e4
define app stack size directly in Makefile
Feb 25, 2021
f2cc486
Fix compilation warnings
jibeee Jun 11, 2021
fa6f273
Fix defects found by scan-build
jibeee Jun 11, 2021
2565052
upgrade to sdk2.0
jleni Sep 16, 2021
c1b36bd
tmp
jleni Sep 16, 2021
a600971
add nanox sdk
jleni Sep 16, 2021
931ecca
add sdk
jleni Sep 16, 2021
d9c9dc6
update zemu
jleni Sep 16, 2021
e2c6e44
upgrade zxlib
jleni Oct 22, 2021
7246d20
updating tests
jleni Oct 22, 2021
4bb9e22
fix warnings
jleni Oct 22, 2021
1876e7c
Add snapshots
ftheirs Oct 29, 2021
1582b9a
Install libbsd-dev
ftheirs Oct 29, 2021
91a92df
Fixed failing tests WIP
ftheirs Nov 6, 2021
f13d55b
upgrade zxlib
jleni Nov 11, 2021
7cea4c0
restructure testing common classes
jleni Nov 12, 2021
e1fcdf9
fix unit tests
jleni Nov 13, 2021
5801b3c
clean up number formatting
jleni Nov 13, 2021
5f5d352
Merge pull request #29 from Zondax/dev
jleni Nov 14, 2021
91e799a
fix badge
jleni Nov 14, 2021
f8c4e68
fix badge
jleni Nov 14, 2021
f805ce2
Merge pull request #30 from Zondax/logo
jleni Nov 14, 2021
29d2712
initialize itemCount and null check
ftheirs Nov 19, 2021
0928c6b
update googletest tag
ftheirs Nov 19, 2021
24a14da
Merge pull request #31 from Zondax/support_new_firmware_SDK
jleni Nov 21, 2021
63a5ab5
Bump follow-redirects from 1.14.4 to 1.14.7 in /tests_zemu
dependabot[bot] Jan 14, 2022
b8bffd2
Merge pull request #32 from Zondax/dependabot/npm_and_yarn/tests_zemu…
jleni Jan 22, 2022
f243a2c
upgrade sdk
jleni Feb 12, 2022
9e7dfbc
upgrade dependencies
jleni Feb 12, 2022
7e84b06
update screenshots
jleni Feb 12, 2022
9cd0d7f
bump version
jleni Feb 12, 2022
30a302c
Merge pull request #33 from Zondax/dev
jleni Feb 12, 2022
b0f39ef
Update GitHub actions badge
jleni Feb 12, 2022
094fa36
Merge remote-tracking branch 'LedgerHQ/master' into main
jleni Feb 12, 2022
096e055
add tip support
jleni Feb 20, 2022
1d1362f
add additional logging
jleni Feb 20, 2022
df7044a
bump version
jleni Feb 20, 2022
fbb4500
fix version numbers
jleni Feb 20, 2022
6a64f58
fix unit tests
jleni Feb 20, 2022
7d5fc3a
Merge pull request #47 from cosmos/dev
jleni Feb 20, 2022
4d3a323
allow longer message type names
jleni Feb 20, 2022
4901f68
fix versions
jleni Feb 20, 2022
0e73561
Merge pull request #48 from cosmos/dev
jleni Feb 20, 2022
861b83f
add test for MsgMultiSend
jleni Feb 20, 2022
c707c7c
Merge pull request #49 from cosmos/dev
jleni Feb 20, 2022
81a9244
example transaction
rnbguy Feb 26, 2022
72ded30
details about signature bytes
rnbguy Feb 26, 2022
c341ddf
Update docs/APDUSPEC.md
jleni Feb 27, 2022
e6ae877
Merge pull request #50 from rnbguy/patch-1
jleni Feb 27, 2022
a75e3f4
[ci] CI triggering on PR against develop branch
lpascal-ledger Mar 11, 2022
019b903
Merge pull request #51 from LedgerHQ/ci
jleni Mar 11, 2022
835cd7f
Merge pull request #13 from cosmos/main
lpascal-ledger Mar 14, 2022
33d934b
add nanosplus sdk
ftheirs Mar 15, 2022
9f6d2d7
add script for nanos+
ftheirs Mar 15, 2022
1d1c068
update zxlib
ftheirs Mar 15, 2022
d4ca29f
update app for nanos+
ftheirs Mar 15, 2022
a475908
update makefile
ftheirs Mar 15, 2022
f21aa14
bump version
ftheirs Mar 15, 2022
cc14603
fix gitignore
ftheirs Mar 15, 2022
89ae65d
update zemu
ftheirs Mar 15, 2022
744f8f8
add nanos+ model
ftheirs Mar 15, 2022
2eba1f1
fix mainmenu test
ftheirs Mar 15, 2022
1da2deb
update snapshots
ftheirs Mar 15, 2022
71cc6be
improve CI
ftheirs Mar 15, 2022
0909aeb
Merge pull request #52 from cosmos/support_nanos2
jleni Mar 17, 2022
e300228
add testcases for extra fields
ftheirs Mar 25, 2022
877645b
bump version
ftheirs Mar 25, 2022
9ccfaf3
update zemu
ftheirs Mar 25, 2022
280707e
improve zemu tests
ftheirs Mar 25, 2022
cad3e2b
update snapshots
ftheirs Mar 25, 2022
fc4efb4
add nanosplus sdk
ftheirs Mar 15, 2022
7442a25
add script for nanos+
ftheirs Mar 15, 2022
ec64628
update zxlib
ftheirs Mar 15, 2022
08debb9
update app for nanos+
ftheirs Mar 15, 2022
de78ec9
update makefile
ftheirs Mar 15, 2022
68ff57b
bump version
ftheirs Mar 15, 2022
7eaeca7
fix gitignore
ftheirs Mar 15, 2022
8bb94c2
update zemu
ftheirs Mar 15, 2022
837efe6
add nanos+ model
ftheirs Mar 15, 2022
091e29f
fix mainmenu test
ftheirs Mar 15, 2022
1a8e28f
update snapshots
ftheirs Mar 15, 2022
f8a4a2b
improve CI
ftheirs Mar 15, 2022
114e3b1
Merge pull request #53 from cosmos/add_testcases
jleni Mar 31, 2022
92e4155
add testcases for extra fields
ftheirs Mar 25, 2022
efd5896
bump version
ftheirs Mar 25, 2022
8e04c7d
update zemu
ftheirs Mar 25, 2022
8300713
improve zemu tests
ftheirs Mar 25, 2022
295ad9c
update snapshots
ftheirs Mar 25, 2022
e27a95a
set app flag 0x000 for NanoS+
ftheirs Apr 4, 2022
2e4e262
bump version
ftheirs Apr 4, 2022
dbe7642
update snapshots
ftheirs Apr 4, 2022
e88e291
incease COIN_DENOM_MAXSIZE in order to support ibc denoms, ensuring
nddeluca Apr 15, 2022
80925f9
Merge pull request #56 from nddeluca/nd-increase-denom-maxsize-for-ib…
ftheirs Apr 27, 2022
99354be
bump version
ftheirs Apr 27, 2022
33ab7e8
update zemu
ftheirs Apr 27, 2022
25a10bd
update snapshots
ftheirs Apr 27, 2022
b2925a7
add new zemu test
ftheirs Apr 27, 2022
363b6e4
add snapshots
ftheirs Apr 27, 2022
9563c03
update ibc_denoms snapshots
ftheirs Apr 27, 2022
4484d9f
fix ibc denoms test
ftheirs Apr 27, 2022
dbf26ef
app/src: properly log num_items value for addr_getNumItems
odeke-em May 1, 2022
78a1a26
Merge pull request #58 from cosmos/dev
ftheirs May 5, 2022
52abd71
Merge pull request #60 from orijtech/app-src-fix-unconditional-log
ftheirs May 11, 2022
1fe5a3c
bump version
ftheirs May 11, 2022
67d92f1
update snapshots
ftheirs May 11, 2022
0bec275
Merge pull request #63 from cosmos/dev
ftheirs May 11, 2022
403f5b2
fix: return actual error when derivation fails
May 17, 2022
814dce8
verify device is active and check error
ftheirs May 17, 2022
6e4cc14
bump version
ftheirs May 17, 2022
f1a4fa1
update snapshots
ftheirs May 17, 2022
68c41e7
Merge remote-tracking branch 'ledger_fork/develop' into add_idle_veri…
ftheirs May 17, 2022
c8e586e
update return of zxerror types
ftheirs May 18, 2022
97fe0d0
Merge pull request #64 from cosmos/add_idle_verification
ftheirs May 18, 2022
1734502
remove zxlib source files
ftheirs Jul 4, 2022
cff71a1
update submodules
ftheirs Jul 4, 2022
44737b4
update version & snapshots
ftheirs Jul 4, 2022
aa13af4
Merge pull request #67 from cosmos/dev
ftheirs Jul 5, 2022
bad8381
Merge pull request #19 from cosmos/main
fbeutin-ledger Jul 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
100 changes: 0 additions & 100 deletions .circleci/config.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# set auto-load local-gdbinit on
# add-auto-load-safe-path /

set architecture arm
handle SIGILL nostop pass noprint
add-symbol-file app/bin/app.elf 0x40000000
set backtrace limit 20
b *0x40000000
# set architecture arm
# handle SIGILL nostop pass noprint
# add-symbol-file app/bin/app.elf 0x40000000
# set backtrace limit 20
# b *0x40000000
58 changes: 58 additions & 0 deletions .github/workflows/check_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "Verify PRs to main"

on:
pull_request:
branches:
- main

jobs:
configure:
runs-on: ubuntu-latest
outputs:
uid_gid: ${{ steps.get-user.outputs.uid_gid }}
steps:
- id: get-user
run: echo "::set-output name=uid_gid::$(id -u):$(id -g)"

get_version:
needs: configure
runs-on: ubuntu-latest
container:
image: zondax/builder-bolos:latest
options: --user ${{ needs.configure.outputs.uid_gid }}
env:
BOLOS_ENV: /opt/bolos
HOME: /home/zondax_circle
outputs:
version: ${{ steps.store-version.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true

- name: Invoke `version`
shell: bash -l {0}
env:
BOLOS_SDK: ${{ github.workspace }}/deps/nanos-secure-sdk
run: make version

- id: store-version
run: echo ::set-output name=version::$(cat ./app/app.version)

check_app_version:
needs: get_version
runs-on: ubuntu-latest
steps:
- id: checkTag
uses: mukunku/tag-exists-action@v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ needs.get_version.outputs.version }}

- run: echo ${{ steps.checkTag.outputs.exists }}

- name: Tag exists
if: ${{ steps.checkTag.outputs.exists == 'true' }}
run: exit 1
37 changes: 37 additions & 0 deletions .github/workflows/ledger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
scan-build:
name: Clang Static Analyzer
runs-on: ubuntu-latest

container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest

steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Build with Clang Static Analyzer
run: |
scan-build --use-cc=clang -analyze-headers -enable-checker security -enable-checker unix -enable-checker valist -o scan-build --status-bugs make default
- uses: actions/upload-artifact@v2
if: failure()
with:
name: scan-build
path: scan-build
Loading