Make tycho_client a python package, small bugfixes
This commit is contained in:
12
testing/tycho-client/tycho_client/constants.py
Normal file
12
testing/tycho-client/tycho_client/constants.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pathlib import Path
|
||||
from typing import Final
|
||||
|
||||
ASSETS_FOLDER = Path(__file__).parent / "assets"
|
||||
TYCHO_CLIENT_FOLDER = Path(__file__).parent / "bins"
|
||||
TYCHO_CLIENT_LOG_FOLDER = TYCHO_CLIENT_FOLDER / "logs"
|
||||
|
||||
EXTERNAL_ACCOUNT: Final[str] = "0xf847a638E44186F3287ee9F8cAF73FF4d4B80784"
|
||||
"""This is a dummy address used as a transaction sender"""
|
||||
UINT256_MAX: Final[int] = 2 ** 256 - 1
|
||||
MAX_BALANCE: Final[int] = UINT256_MAX // 2
|
||||
"""0.5 of the maximal possible balance to avoid overflow errors"""
|
||||
Reference in New Issue
Block a user