Skip to content

Commit 793bc57

Browse files
Merge pull request #366 from LedgerHQ/develop
App release 1.10.1
2 parents 56f66cc + 3a67073 commit 793bc57

File tree

7 files changed

+18
-6
lines changed

7 files changed

+18
-6
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
cd tests/ragger
210210
python3 -m venv ./venv
211211
. ./venv/bin/activate
212-
pip3 install --extra-index-url https://test.pypi.org/simple/ -r requirements.txt speculos
212+
pip3 install --extra-index-url https://test.pypi.org/simple/ -r requirements.txt
213213
# Used for the cache key
214214
echo "py_deps=$(pip freeze | md5sum | cut -d' ' -f1)" >> $GITHUB_ENV
215215
@@ -275,4 +275,4 @@ jobs:
275275
run: |
276276
cd tests/ragger
277277
. ./venv/bin/activate
278-
pytest --path ./elfs --model ${{ matrix.model }}
278+
pytest --path ./elfs --model ${{ matrix.model }} -s -v

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ 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.10.1](https://github.com/ledgerhq/app-ethereum/compare/1.10.0...1.10.1) - 2022-11-09
9+
10+
### Fixed
11+
12+
- App/device crash with fast button clicks on slow APDU transport on the new EIP-712 signature UI
13+
814
## [1.10.0](https://github.com/ledgerhq/app-ethereum/compare/1.9.20...1.10.0) - 2022-10-26
915

1016
### Changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ APP_LOAD_PARAMS += --path "1517992542'/1101353413'"
3434

3535
APPVERSION_M=1
3636
APPVERSION_N=10
37-
APPVERSION_P=0
37+
APPVERSION_P=1
3838
APPVERSION=$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)
3939
APP_LOAD_FLAGS= --appFlags 0xa40 --dep Ethereum:$(APPVERSION)
4040

File renamed without changes.

src_bagl/ui_flow_signMessage712.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ static void dummy_cb(void) {
1616
ux_flow_prev();
1717
ui_pos = UI_712_POS_REVIEW;
1818
}
19+
} else {
20+
// temporarily disable button clicks, they will be re-enabled as soon as new data
21+
// is received and the page is redrawn with ux_flow_init()
22+
G_ux.stack[0].button_push_callback = NULL;
1923
}
2024
}
2125

tests/ragger/ethereum_client/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from ethereum_client.eip712 import EIP712FieldType
88
from ethereum_client.response_parser import EthereumRespParser
99
import signal
10+
import time
1011

1112

1213
class EthereumClient:
@@ -92,6 +93,7 @@ def eip712_send_struct_impl_struct_field(self, raw_value: bytes):
9293

9394
def eip712_sign_new(self, bip32):
9495
with self._send(self._cmd_builder.eip712_sign_new(bip32)):
96+
time.sleep(0.5) # tight on timing, needed by the CI otherwise might fail sometimes
9597
if not self._settings[SettingType.VERBOSE_EIP712].value and \
9698
not self._eip712_filtering: # need to skip the message hash
9799
self._client.right_click()
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
def test_configuration(cmd):
33
if cmd.model == "nanos":
4-
assert cmd.get_configuration() == (14, 1, 10, 0)
4+
assert cmd.get_configuration() == (14, 1, 10, 1)
55

66
if cmd.model == "nanox":
7-
assert cmd.get_configuration() == (14, 1, 10, 0)
7+
assert cmd.get_configuration() == (14, 1, 10, 1)
88

99
if cmd.model == "nanosp":
10-
assert cmd.get_configuration() == (14, 1, 10, 0)
10+
assert cmd.get_configuration() == (14, 1, 10, 1)

0 commit comments

Comments
 (0)