Skip to content

Commit

Permalink
App update (#79)
Browse files Browse the repository at this point in the history
* [fix] COIN renamed from 'algorand' to 'ALGO'

* [ci][add] Allowing workflow manual trigger

* Adding lease field

#63
Documentation: https://developer.algorand.org/docs/get-details/transactions/transactions/

* Fixing build 

(brew install not supported by server)

* re-ordering display of fields

* Changing logic to get a pointer to the input buffer for ApprovalProgram and ClearStateProgram  instead of copying these params to tx_obj structure.

* Extra pages field

#51

https://developer.algorand.org/docs/get-details/transactions/transactions/?from_query=apep#application-call-transaction

https://developer.algorand.org/docs/get-details/dapps/smart-contracts/apps/#creating-the-smart-contract

* Fixing extra pages field

* Increasing buffer size for testing and adding meaningful names to errors

* minor improvements

* bump version, update snapshots

* update deps and tests

* Adding the boxes feature

#67

* n_len as usize

* minor improvements

* bump version

* update nano sdk and add stax one

* update zxlib to support stax

* update js deps

* update zemu tests

* update makefile for new zxlib

* support for Stax

* bump version

* add Stax snapshots

* update ci

* add guidelines enforcer

* update zxlib

* fix icons

* bump version

* update sdk and zxlib

* fix warnings

* bump version

* update Zemu & Stax snapshots

* txn description text

* add CodeQL

* update sdks

* update zxlib

* remove common glyphs

* move stax glyphs to common glyphs dir

* add several tokens

* fix text

* bump version

* update zemu tests

* update ci

* update zxlib

* bump version

* initialize variables and extra checks

* bump version

* fixes

* bump version

* check properly encodePubkey

* bump version

* update tests

---------

Co-authored-by: lpascal-ledger <[email protected]>
Co-authored-by: Lucas PASCAL <[email protected]>
Co-authored-by: Ida <[email protected]>
Co-authored-by: Ida <[email protected]>
Co-authored-by: Carlo Sala <[email protected]>
  • Loading branch information
6 people authored Jun 12, 2023
1 parent 6ffe0d3 commit 5368492
Show file tree
Hide file tree
Showing 147 changed files with 284,610 additions and 272,764 deletions.
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

0 comments on commit 5368492

Please sign in to comment.