Skip to content
Snippets Groups Projects

Add test for suggest_brain_key method

Merged Radosław Masłowski requested to merge rm-add-test-for-suggest-brain-key into develop
2 files
+ 14
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -8,6 +8,11 @@ MAINNET_CHAIN_ID: Final[bytes] = b"beeab0de0000000000000000000000000000000000000
ENCODING = "utf-8"
BASE_58_REGEX: Final[str] = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
PUBLIC_KEY_PATTERN = rf"^(?:STM)[{BASE_58_REGEX}]{{7,51}}$"
PRIVATE_KEY_PATTERN = rf"^[{BASE_58_REGEX}]{{51}}$"
def load_transaction(name: str) -> dict[bytes, dict[str, Any]]:
"""
Loading