Files
app-ethereum/tests/ragger/app/setting.py
T
Alexandre Paillier 37a6dab7be Updated Ragger app client for trusted name & sign APDUs
Also added two new optional arguments to pytest :
--gold for screenshot generation
--chainid to specify an alternative app chain ID
2023-02-27 10:54:36 +01:00

17 lines
336 B
Python

from enum import IntEnum, auto
from typing import List
class SettingType(IntEnum):
BLIND_SIGNING = 0,
DEBUG_DATA = auto()
NONCE = auto()
VERBOSE_ENS = auto()
VERBOSE_EIP712 = auto()
class SettingImpl:
devices: List[str]
value: bool
def __init__(self, devs: List[str]):
self.devices = devs