EIP-712 Ragger tests snapshots handling

Also moved snapshots root path to a centralized/common file
This commit is contained in:
Alexandre Paillier
2024-01-30 11:47:44 +01:00
parent d24d630541
commit c8c6b9a2d1
5 changed files with 23 additions and 14 deletions

View File

@@ -16,7 +16,17 @@ from ledger_app_clients.ethereum.eip712 import InputData
from ledger_app_clients.ethereum.settings import SettingID, settings_toggle
class SnapshotsConfig:
test_name: str
idx: int
def __init__(self, test_name: str, idx: int = 0):
self.test_name = test_name
self.idx = idx
BIP32_PATH = "m/44'/60'/0'/0/0"
snaps_config: Optional[SnapshotsConfig] = None
def input_files() -> list[str]: