Skip to content

Commit

Permalink
Merge pull request #76 from LedgerHQ/develop
Browse files Browse the repository at this point in the history
Merge develop to master following B2CA-1724
  • Loading branch information
agrojean-ledger authored Aug 22, 2024
2 parents 2e6a96a + 5161e2d commit 1f1b166
Show file tree
Hide file tree
Showing 93 changed files with 5,241 additions and 1,640 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,39 @@ jobs:
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
upload_app_binaries_artifact: "compiled_app_binaries"

build_and_test:
name: Build and test app for all supported devices
strategy:
fail-fast: false
matrix:
device: ["nanos", "nanox", "nanosp", "stax", "flex"]
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools:latest

steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build application in developer + headless mode
id: "build"
shell: bash
run: |
eval "BOLOS_SDK=\$$(echo ${{ matrix.device }} | tr [:lower:] [:upper:])_SDK" && \
echo "BOLOS_SDK value will be: ${BOLOS_SDK}" && \
BOLOS_SDK=${BOLOS_SDK} DEVEL=1 DEFINES+=HEADLESS make
echo "Build complete"
- name: Install Node.js
run : apk add --update nodejs npm
- name : Install yarn
run: npm install --global yarn
- name: Install Cardano JS Library
run: git clone https://github.com/vacuumlabs/ledgerjs-cardano-shelley.git
- name : Run tests
run: |
BUILD_DEVICE_NAME="$(echo ${{ matrix.device }} | sed 's/nanosp/nanos2/')"
speculos --model ${{ matrix.device }} build/$BUILD_DEVICE_NAME/bin/app.elf --seed "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" --display headless &
apk add g++ libusb-dev libusb eudev-dev eudev &&
cd ledgerjs-cardano-shelley &&
yarn install &&
yarn test-speculos
51 changes: 50 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,55 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [7.2.0](TBD) - [TBD]

## [6.0.3](TBD) - [TBD]
### Added

- Add flex support,
- Add integration tests in CI using [ledgerjs-cardano-shelley](https://github.com/LedgerHQ/ledgerjs-cardano-shelley)

### Changed

- Update Makefile to standard format,
- Fix headless mode on Nano X / SP for integration tests running,
- Update some NBGL calls to latest API (main menu),

## [7.1.0](TBD) - [TBD]

Message signing (CIP-8)

### Added

- support for basic message signing (CIP-8, CIP-30)

### Changed

- usage of chunks of maximum allowed size is now enforced (datums and reference scripts in outputs)
- TODO updated list of native tokens recognized by the app with correct decimal places


## [7.0.2](TBD) - [TBD]

Conway era

### Added

- export of Conway-era keys (DReps, Constitutional Committee Hot and Cold keys)
- Conway era transaction body items (new certificates, voting procedures, treasury, donation)
- optional CBOR tag 258 in CDDL sets
- reduced features on Nano S (since Ledger app v7, due to memory limits)

### Changed

- updated list of native tokens recognized by the app with correct decimal places
- increased max. URL and DNS name length to 128

### Fixed

- bug in checking canonical ordering of withdrawals


## [6.1.2](https://github.com/LedgerHQ/app-cardano/compare/v5.0.0...LedgerHQ:nanos_2.1.0_6.1.2_sdk_2.1.0-12) - [October 25th 2023]

Support for CIP-36 voting

Expand All @@ -15,11 +62,13 @@ Support for CIP-36 voting
- export of vote keys (1694'/1815'/...)
- support for CIP-36 voting (signing of vote-cast fragments with 1694 keys)
- support for CIP-36 registrations (in transaction auxiliary data)
- support for the Stax device

### Changed

- API for Catalyst voting registration (it is still possible to use CIP-15 in auxiliary data)
- updated list of native tokens recognized by the app with correct decimal places
- multidelegation allowed (as used by Lace, i.e. stake keys do not need to end with 0 as address_index)


## [5.0.0](https://github.com/LedgerHQ/app-cardano/compare/4.1.2...LedgerHQ:nanos_2.1.0_5.0.0) - [October 11th 2022]
Expand Down
Loading

0 comments on commit 1f1b166

Please sign in to comment.