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

Zondax Changes #81

Merged
merged 78 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
f114d0a
Merge pull request #28 from Zondax/main
lpascal-ledger Aug 17, 2022
16160bf
[fix] COIN renamed from 'algorand' to 'ALGO'
lpascal-ledger Aug 17, 2022
2842c3e
Merge pull request #30 from LedgerHQ/fix/COIN
lpascal-ledger Aug 17, 2022
44cf1fc
Merge pull request #31 from Zondax/main
lpascal-ledger Sep 12, 2022
dd42156
[ci][add] Allowing workflow manual trigger
lpascal-ledger Sep 12, 2022
5263361
Merge pull request #32 from LedgerHQ/ci
lpascal-ledger Sep 12, 2022
e0fb46d
Adding lease field
IdaTucker Oct 19, 2022
d8c0ee8
Fixing build
IdaTucker Oct 20, 2022
8e6cedb
re-ordering display of fields
IdaTucker Oct 21, 2022
6bc792c
Changing logic to get a pointer to the input buffer for ApprovalProgr…
IdaTucker Oct 21, 2022
15fb23b
Extra pages field
IdaTucker Oct 25, 2022
a6fdd3e
Fixing extra pages field
IdaTucker Oct 25, 2022
b0defd4
Increasing buffer size for testing and adding meaningful names to errors
IdaTucker Oct 27, 2022
92b6db9
minor improvements
ftheirs Oct 28, 2022
3f72a0b
bump version, update snapshots
ftheirs Oct 28, 2022
327773c
update deps and tests
ftheirs Oct 28, 2022
8dd69ca
Merge pull request #13 from Zondax/lease_field
ftheirs Oct 28, 2022
fdfcfba
Adding the boxes feature
IdaTucker Nov 4, 2022
49cf24e
merge
IdaTucker Nov 4, 2022
381dcc4
n_len as usize
IdaTucker Nov 4, 2022
cdcb557
minor improvements
ftheirs Nov 4, 2022
1fb300b
bump version
ftheirs Nov 4, 2022
da151c8
Merge pull request #14 from Zondax/lease_field
ftheirs Nov 4, 2022
affbdb3
Merge pull request #34 from Zondax/main
lpascal-ledger Jan 4, 2023
7f906f8
update nano sdk and add stax one
carlosala Feb 15, 2023
f12cf18
update zxlib to support stax
carlosala Feb 15, 2023
2c35cc7
update js deps
carlosala Feb 15, 2023
3756710
update zemu tests
carlosala Feb 15, 2023
163544c
update makefile for new zxlib
carlosala Feb 15, 2023
c09b507
support for Stax
ftheirs Feb 23, 2023
90af849
bump version
carlosala Mar 16, 2023
0d5f175
add Stax snapshots
ftheirs Feb 23, 2023
a5af71d
update ci
carlosala Mar 8, 2023
01ccc6a
Merge pull request #15 from Zondax/feat-stax-v2
ftheirs Mar 20, 2023
23b5c6a
add guidelines enforcer
ftheirs Mar 23, 2023
29bae3a
update zxlib
ftheirs Mar 23, 2023
2dc687e
fix icons
ftheirs Mar 23, 2023
fae7ccf
bump version
ftheirs Mar 28, 2023
b0d2eab
Merge pull request #16 from Zondax/updates
ftheirs Mar 28, 2023
2962cce
Merge remote-tracking branch 'ledger/develop'
carlosala Mar 28, 2023
cad31f7
update sdk and zxlib
ftheirs Apr 5, 2023
b353ba4
fix warnings
ftheirs Apr 5, 2023
861f061
bump version
ftheirs Apr 5, 2023
bfdc29f
update Zemu & Stax snapshots
ftheirs Apr 5, 2023
30c8e10
txn description text
ftheirs Apr 11, 2023
5311de1
add CodeQL
ftheirs Apr 11, 2023
7183d18
Merge pull request #19 from Zondax/stax_update_sdk
ftheirs Apr 11, 2023
4ba005c
update sdks
carlosala Apr 20, 2023
b0312c4
update zxlib
carlosala Apr 20, 2023
a613138
remove common glyphs
carlosala Apr 20, 2023
2e71df4
move stax glyphs to common glyphs dir
carlosala Apr 20, 2023
1a2369c
add several tokens
carlosala Apr 20, 2023
3ad77b4
fix text
carlosala Apr 21, 2023
e9787d2
bump version
carlosala Apr 21, 2023
b25582e
update zemu tests
carlosala Apr 20, 2023
ced5ea3
update ci
carlosala Apr 21, 2023
a10e246
Merge pull request #20 from Zondax/update-app
ftheirs Apr 24, 2023
7330a7e
update zxlib
ftheirs May 2, 2023
29e9d6e
bump version
ftheirs May 2, 2023
575cac1
Merge pull request #21 from Zondax/update_deps
carlosala May 2, 2023
a62503d
initialize variables and extra checks
ftheirs May 10, 2023
d07fb11
bump version
ftheirs May 10, 2023
a09056e
Merge pull request #22 from Zondax/fixes
ftheirs May 11, 2023
b9c3779
fixes
ftheirs May 31, 2023
cd9ae40
bump version
ftheirs May 31, 2023
f533b10
Merge pull request #23 from Zondax/dev
ftheirs May 31, 2023
8d80925
check properly encodePubkey
carlosala Jun 5, 2023
29472fc
bump version
carlosala Jun 5, 2023
8087e5a
update tests
carlosala Jun 5, 2023
83bbcb2
Merge pull request #24 from Zondax/fixes
carlosala Jun 5, 2023
be35852
read null boxes
ftheirs Jun 16, 2023
5dadc3c
update testvectors with null boxes
ftheirs Jun 16, 2023
7b0f126
bump version
ftheirs Jun 16, 2023
95b9258
Merge pull request #25 from Zondax/null_boxes
ftheirs Jun 19, 2023
19da646
update deps
ftheirs Jul 3, 2023
0883c66
use no-throw methods
ftheirs Jul 3, 2023
dbd8c2c
bump version & update snapshots
ftheirs Jul 3, 2023
f201ec1
Merge pull request #26 from Zondax/no-throw
ftheirs Jul 4, 2023
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
24 changes: 9 additions & 15 deletions .github/workflows/check_version.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Verify PRs to main"
name: Verify PRs to main

on:
workflow_dispatch:
pull_request:
branches:
- main
Expand All @@ -13,33 +14,26 @@ jobs:
uid_gid: ${{ steps.get-user.outputs.uid_gid }}
steps:
- id: get-user
run: echo "::set-output name=uid_gid::$(id -u):$(id -g)"
run: echo "uid_gid=$(id -u):$(id -g)" >> $GITHUB_OUTPUT

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

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

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

check_app_version:
needs: get_version
Expand All @@ -56,4 +50,4 @@ jobs:

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

on:
workflow_dispatch:
push:
pull_request:
branches:
- main
- develop

jobs:
analyse:
name: Analyse
strategy:
matrix:
sdk: ["$NANOS_SDK", "$NANOX_SDK", "$NANOSP_SDK", "$STAX_SDK"]
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest

steps:
- name: Clone
uses: actions/checkout@v3
with:
submodules: recursive

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: cpp
queries: security-and-quality

- name: Build
run: |
make -j BOLOS_SDK=${{ matrix.sdk }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
46 changes: 0 additions & 46 deletions .github/workflows/coverity.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/guidelines_enforcer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Ensure compliance with Ledger guidelines

# This workflow is mandatory in all applications
# It calls a reusable workflow guidelines_enforcer developed by Ledger's internal developer team.
# The successful completion of the reusable workflow is a mandatory step for an app to be available on the Ledger
# application store.
#
# More information on the guidelines can be found in the repository:
# LedgerHQ/ledger-app-workflows/

on:
workflow_dispatch:
push:
branches:
- master
- main
- develop
pull_request:

jobs:
guidelines_enforcer:
name: Call Ledger guidelines_enforcer
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_guidelines_enforcer.yml@v1
with:
relative_app_directory: 'app'
37 changes: 0 additions & 37 deletions .github/workflows/ledger.yml

This file was deleted.

Loading
Loading