Skip to content

Commit faa2d3a

Browse files
Ragger tests
1 parent c8c6b9a commit faa2d3a

Some content is hidden

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

63 files changed

+151
-29
lines changed

client/src/ledger_app_clients/ethereum/eip712/InputData.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,11 @@ def next_timeout(_signum: int, _frame):
337337

338338

339339
def enable_autonext():
340-
seconds = 1/4
341340
if app_client._client.firmware.device == 'stax': # Stax Speculos is slow
342-
interval = seconds * 3
341+
delay = 1.5
343342
else:
344-
interval = seconds
345-
signal.setitimer(signal.ITIMER_REAL, seconds, interval)
343+
delay = 1/4
344+
signal.setitimer(signal.ITIMER_REAL, delay, delay)
346345

347346

348347
def disable_autonext():
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"domain": {
3+
"chainId": 1,
4+
"name": "Token test",
5+
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
6+
"version": "1"
7+
},
8+
"message": {
9+
"from": "0xaAaAaAaaAaAaAaaAaAAAAAAAAaaaAaAaAaaAaaAa",
10+
"to": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
11+
"amount": "117",
12+
"token": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
13+
},
14+
"primaryType": "Transfer",
15+
"types": {
16+
"EIP712Domain": [
17+
{ "name": "name", "type": "string" },
18+
{ "name": "version", "type": "string" },
19+
{ "name": "chainId", "type": "uint256" },
20+
{ "name": "verifyingContract", "type": "address" }
21+
],
22+
"Transfer": [
23+
{ "name": "from", "type": "address" },
24+
{ "name": "to", "type": "address" },
25+
{ "name": "amount", "type": "uint256" },
26+
{ "name": "token", "type": "address" }
27+
]
28+
}
29+
}
472 Bytes
414 Bytes
338 Bytes
336 Bytes
324 Bytes
364 Bytes
381 Bytes
472 Bytes

0 commit comments

Comments
 (0)