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

Textual mode + EVM #21

Closed
wants to merge 63 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
55e7cd1
update submodules
chcmedeiros Nov 2, 2022
fd72ffa
add cbor library
chcmedeiros Nov 10, 2022
2fa7477
add sonarcloud
chcmedeiros Dec 5, 2022
c707129
update logo and docs
chcmedeiros Dec 14, 2022
6b62aeb
add textual mode parser support
chcmedeiros Dec 14, 2022
f731088
add textual mode testing support
chcmedeiros Dec 14, 2022
dd06ca1
update snapshots
chcmedeiros Dec 14, 2022
34b485e
disable sonarcloud
chcmedeiros Dec 19, 2022
ee693d1
Merge pull request #75 from cosmos/dev_sign_mode_textual
chcmedeiros Dec 19, 2022
305cabe
add testcase for MsgSetWithdrawAddress
ftheirs Jan 2, 2023
5f22b2b
add testcase for CLI gov deposit
ftheirs Jan 2, 2023
23b8696
extraDepthLevel doesn't depend in list order
ftheirs Jan 2, 2023
c60de9c
update version and Zemu tests
ftheirs Jan 2, 2023
f905876
update zxlib
ftheirs Jan 2, 2023
9a78592
Merge pull request #77 from cosmos/dev
ftheirs Jan 3, 2023
ddae659
support title truncation and individual title and content cbor fields
chcmedeiros Jan 25, 2023
91d60df
update tests
chcmedeiros Jan 25, 2023
922c3ea
update snapshots
chcmedeiros Jan 25, 2023
157b1fa
Merge pull request #78 from cosmos/dev_textual_title_truncation
chcmedeiros Jan 27, 2023
71e49e8
fix textual mode
chcmedeiros Feb 15, 2023
10c631e
add multisend test and paralelize-zemu
chcmedeiros Mar 8, 2023
778407d
updates
chcmedeiros Mar 8, 2023
7d7698d
support array of containers inside struct
chcmedeiros Mar 8, 2023
12514b3
update snapshots
chcmedeiros Mar 8, 2023
4b1721d
update makefile
chcmedeiros Mar 16, 2023
431a9c6
Merge pull request #82 from cosmos/dev
ftheirs Mar 16, 2023
f51ae06
update actions
ftheirs Mar 16, 2023
e24a884
Merge pull request #83 from cosmos/dev
ftheirs Mar 17, 2023
3dfe7a0
update standards tests
chcmedeiros Mar 27, 2023
67d3a96
bump version & update snapshots
chcmedeiros Mar 27, 2023
b470589
Merge pull request #84 from cosmos/dev
ftheirs Mar 27, 2023
99c57e3
Merge branch 'develop' into dev
chcmedeiros Mar 27, 2023
4723471
bump version & update snapshots
chcmedeiros Mar 27, 2023
f9ffd32
Merge pull request #86 from cosmos/dev
chcmedeiros Mar 27, 2023
f21f205
update submodules
chcmedeiros May 2, 2023
5823c7b
add support for eth path
chcmedeiros May 3, 2023
52e8991
cleanup and fix clang warning
chcmedeiros May 3, 2023
5164353
update zemu
chcmedeiros May 3, 2023
ce7e809
update snapshots
chcmedeiros May 3, 2023
b2a98d0
improvements
chcmedeiros May 4, 2023
f7b86a0
update actions
ftheirs Apr 3, 2023
17d2665
add eth path display and expert mode required
chcmedeiros May 10, 2023
37718f8
update zemu
chcmedeiros May 11, 2023
ed9cbe2
update zxlib
chcmedeiros May 11, 2023
4e30a55
update snapshots
chcmedeiros May 11, 2023
f107db1
Merge pull request #89 from cosmos/evm-path-support
ftheirs May 15, 2023
5a7c3cf
add some checks
ftheirs May 18, 2023
74b821e
update deps
ftheirs May 18, 2023
4cf470b
bump version
ftheirs May 18, 2023
cd3217f
Merge pull request #90 from cosmos/fixes
ftheirs May 18, 2023
9b797ee
implement EVM addresses
ftheirs May 23, 2023
c8e8167
cpp test for EVM addresses
ftheirs May 23, 2023
6380a2f
update zemu tests
ftheirs May 23, 2023
5e26ff8
update zxlib & bump version
ftheirs May 23, 2023
f8e26f7
Create SECURITY.md
greg-szabo Apr 13, 2023
d532a94
Merge pull request #91 from cosmos/fix_evm_address
ftheirs May 23, 2023
fb90358
add checks and fix warnings
ftheirs May 25, 2023
201e322
bump version
ftheirs May 25, 2023
29acf41
Merge pull request #92 from cosmos/improvements
ftheirs May 25, 2023
c1b8437
restrict EVM path
ftheirs Jun 8, 2023
6f22df2
update zemu tests
ftheirs Jun 8, 2023
4518d86
bump version
ftheirs Jun 8, 2023
99df548
Merge pull request #93 from cosmos/restriction_evm
ftheirs Jun 13, 2023
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
  •  
  •  
  •  
28 changes: 13 additions & 15 deletions .github/workflows/check_version.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: "Verify PRs to main"
name: Verify PRs to main

on:
workflow_dispatch:
pull_request:
paths:
- app/**
- deps/**
branches:
- main
- develop

jobs:
configure:
Expand All @@ -12,33 +17,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 @@ -55,4 +53,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"]
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
26 changes: 26 additions & 0 deletions .github/workflows/guidelines_enforcer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
run_for_devices: '["nanos", "nanosp", "nanox"]'
37 changes: 0 additions & 37 deletions .github/workflows/ledger.yml

This file was deleted.

Loading
Loading