Skip to content

Commit 4103eb7

Browse files
Merge pull request #657 from LedgerHQ/develop
App release 1.12.0
2 parents 3ec9274 + 8118632 commit 4103eb7

File tree

706 files changed

+4924
-3494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

706 files changed

+4924
-3494
lines changed

.github/workflows/build_and_functional_tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ name: Build and run functional tests using ragger through reusable workflow
1010

1111
on:
1212
workflow_dispatch:
13+
inputs:
14+
golden_run:
15+
type: choice
16+
required: true
17+
default: 'Raise an error (default)'
18+
description: CI behavior if the test snaphots are different than expected.
19+
options:
20+
- 'Raise an error (default)'
21+
- 'Open a PR'
1322
push:
1423
branches:
1524
- master
@@ -23,14 +32,15 @@ jobs:
2332
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
2433
with:
2534
upload_app_binaries_artifact: "ragger_elfs"
26-
flags: "CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1"
35+
flags: "CAL_TEST_KEY=1 TRUSTED_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1"
2736

2837
ragger_tests:
2938
name: Run ragger tests using the reusable workflow
3039
needs: build_application
3140
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1
3241
with:
3342
download_app_binaries_artifact: "ragger_elfs"
43+
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}
3444

3545
build_clone_app:
3646
name: Build Clone app using the reusable workflow
@@ -50,3 +60,4 @@ jobs:
5060
additional_app_binaries_artifact: "clone_elfs"
5161
additional_app_binaries_artifact_dir: ./tests/ragger/.test_dependencies/clone/build/
5262
test_options: "--with_lib_mode"
63+
regenerate_snapshots: ${{ inputs.golden_run == 'Open a PR' }}

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,58 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [1.12.0](https://github.com/ledgerhq/app-ethereum/compare/1.11.3...1.12.0) - 2024-09-27
9+
10+
### Added
11+
12+
- Ledger PKI support
13+
- Added support for swap with calldata (Thorswap / LiFi / ...)
14+
- (network) PulseChain Testnet
15+
- The app now provides the derivation path to its plugins
16+
- Support for Trusted Name V2 payloads
17+
- EIP-712 filtering on trusted names
18+
19+
### Removed
20+
21+
- (clone) ApothemNetwork
22+
- (clone) Binance Smart Chain
23+
- (clone) BTTC
24+
- (clone) Conflux eSpace
25+
- (clone) Cube
26+
- (clone) KardiaChain
27+
- (clone) Meter
28+
- (clone) MultiVAC
29+
- (clone) OKXChain
30+
- (clone) POA
31+
- (clone) Polygon
32+
- (clone) Shyft
33+
34+
### Fixed
35+
36+
- (network) Apothemnetwork ticker
37+
- Missing error handling on EIP-712, which could lead to a crash of the app
38+
- EIP-712 filtering on fields within an empty array (requires client support with a new APDU)
39+
- EIP-712 amount-join filtering with missing token information
40+
- EIP-712 UI-code overflow on Stax which could lead to a crash of the app
41+
42+
### Changed
43+
44+
- (clone) Astar Polkadot EVM, removed Ethereum derivation path
45+
- (clone) EnergyWebChain, removed Ethereum derivation path
46+
- (clone) Ethereum Classic, removed Ethereum derivation path
47+
- (clone) Moonbeam, removed Ethereum derivation path
48+
- (clone) Moonriver, removed Ethereum derivation path
49+
- (clone) Oasys, removed Ethereum derivation path
50+
- (clone) Shiden EVM, removed Ethereum derivation path
51+
- (clone) Songbird, removed Ethereum derivation path
52+
- (clone) TecraCoin, removed Ethereum derivation path
53+
- (clone) TecraTestnet, removed Ethereum derivation path
54+
- (clone) Volta, removed Ethereum derivation path
55+
- (clone) XDC Network, removed Ethereum derivation path
56+
- Now the app sends back its response immediately instead of after the Transaction/Message signed/rejected screen on Stax & Flex
57+
- Added blind-signing friction to EIP-712 v0 & unfiltered flows
58+
- EIP-712 unfiltered flow now defaults to raw/verbose mode on Stax & Flex, but adds a skip button
59+
860
## [1.11.3](https://github.com/ledgerhq/app-ethereum/compare/1.11.2...1.11.3) - 2024-09-04
961

1062
### Changed

Makefile

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ include $(BOLOS_SDK)/Makefile.defines
2727

2828
ifeq ($(CHAIN),)
2929
CHAIN = ethereum
30-
# Temporary definition to ensure VSCode extension works... To be cleaned later
31-
APPNAME = Ethereum
3230
endif
3331

3432
SUPPORTED_CHAINS = $(shell find makefile_conf/chain/ -type f -name '*.mk'| sed 's/.*\/\(.*\).mk/\1/g' | sort)
@@ -38,8 +36,8 @@ endif
3836
include ./makefile_conf/chain/$(CHAIN).mk
3937

4038
APPVERSION_M = 1
41-
APPVERSION_N = 11
42-
APPVERSION_P = 3
39+
APPVERSION_N = 12
40+
APPVERSION_P = 0
4341
APPVERSION = $(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)
4442

4543
# Application source files
@@ -51,9 +49,6 @@ else
5149
endif
5250
APP_SOURCE_FILES += $(filter-out ./ethereum-plugin-sdk/src/main.c, $(wildcard ./ethereum-plugin-sdk/src/*.c))
5351
INCLUDES_PATH += ./ethereum-plugin-sdk/src
54-
APP_SOURCE_FILES += ${BOLOS_SDK}/lib_standard_app/crypto_helpers.c
55-
APP_SOURCE_FILES += ${BOLOS_SDK}/lib_standard_app/format.c
56-
INCLUDES_PATH += ${BOLOS_SDK}/lib_standard_app
5752

5853
ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX))
5954
NETWORK_ICONS_FILE = $(GEN_SRC_DIR)/net_icons.gen.c
@@ -80,6 +75,9 @@ ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX))
8075
DEFINES += ICONGLYPH_SMALL=C_chain_$(CHAIN_ID)
8176
endif
8277

78+
# Don't define plugin function in the plugin SDK
79+
DEFINES += IS_NOT_A_PLUGIN
80+
8381

8482
# Application allowed derivation curves.
8583
# Possibles curves are: secp256k1, secp256r1, ed25519 and bls12381g1
@@ -141,7 +139,7 @@ ENABLE_NBGL_QRCODE = 1
141139
########################################
142140
# These advanced settings allow to disable some feature that are by
143141
# default enabled in the SDK `Makefile.standard_app`.
144-
DISABLE_STANDARD_APP_FILES = 1
142+
#DISABLE_STANDARD_APP_FILES = 1
145143
#DISABLE_DEFAULT_IO_SEPROXY_BUFFER_SIZE = 1 # To allow custom size declaration
146144
#DISABLE_STANDARD_APP_DEFINES = 1 # Will set all the following disablers
147145
#DISABLE_STANDARD_SNPRINTF = 1
@@ -155,7 +153,7 @@ DISABLE_STANDARD_APP_FILES = 1
155153
# Main app configuration #
156154
########################################
157155

158-
DEFINES += CHAINID_COINNAME=\"$(TICKER)\" CHAIN_ID=$(CHAIN_ID)
156+
DEFINES += APP_TICKER=\"$(TICKER)\" APP_CHAIN_ID=$(CHAIN_ID)
159157

160158
# Enabled Features #
161159
include makefile_conf/features.mk

0 commit comments

Comments
 (0)