eip712 0.2.7__tar.gz → 0.2.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. eip712-0.2.8/.github/PULL_REQUEST_TEMPLATE.md +17 -0
  2. {eip712-0.2.7 → eip712-0.2.8}/.github/workflows/codeql.yaml +1 -1
  3. {eip712-0.2.7 → eip712-0.2.8}/.github/workflows/commitlint.yaml +2 -2
  4. {eip712-0.2.7 → eip712-0.2.8}/.github/workflows/docs.yaml +2 -2
  5. {eip712-0.2.7 → eip712-0.2.8}/.github/workflows/prtitle.yaml +2 -2
  6. {eip712-0.2.7 → eip712-0.2.8}/.github/workflows/publish.yaml +2 -2
  7. {eip712-0.2.7 → eip712-0.2.8}/.github/workflows/test.yaml +10 -10
  8. {eip712-0.2.7 → eip712-0.2.8}/.gitignore +4 -0
  9. {eip712-0.2.7 → eip712-0.2.8}/.pre-commit-config.yaml +4 -4
  10. {eip712-0.2.7 → eip712-0.2.8}/PKG-INFO +4 -4
  11. {eip712-0.2.7 → eip712-0.2.8}/README.md +1 -1
  12. {eip712-0.2.7 → eip712-0.2.8}/eip712/common.py +1 -1
  13. {eip712-0.2.7 → eip712-0.2.8}/eip712/messages.py +6 -5
  14. {eip712-0.2.7 → eip712-0.2.8}/eip712/version.py +2 -2
  15. {eip712-0.2.7 → eip712-0.2.8}/eip712.egg-info/PKG-INFO +4 -4
  16. {eip712-0.2.7 → eip712-0.2.8}/eip712.egg-info/SOURCES.txt +0 -1
  17. {eip712-0.2.7 → eip712-0.2.8}/eip712.egg-info/requires.txt +13 -12
  18. {eip712-0.2.7 → eip712-0.2.8}/pyproject.toml +3 -0
  19. {eip712-0.2.7 → eip712-0.2.8}/setup.py +11 -11
  20. {eip712-0.2.7 → eip712-0.2.8}/tests/test_common.py +3 -4
  21. {eip712-0.2.7 → eip712-0.2.8}/tests/test_messages.py +3 -3
  22. eip712-0.2.7/.github/PULL_REQUEST_TEMPLATE.md +0 -16
  23. eip712-0.2.7/.mdformat.toml +0 -1
  24. {eip712-0.2.7 → eip712-0.2.8}/.github/ISSUE_TEMPLATE/bug.md +0 -0
  25. {eip712-0.2.7 → eip712-0.2.8}/.github/ISSUE_TEMPLATE/feature.md +0 -0
  26. {eip712-0.2.7 → eip712-0.2.8}/.github/ISSUE_TEMPLATE/work-item.md +0 -0
  27. {eip712-0.2.7 → eip712-0.2.8}/.github/release-drafter.yml +0 -0
  28. {eip712-0.2.7 → eip712-0.2.8}/.github/workflows/draft.yaml +0 -0
  29. {eip712-0.2.7 → eip712-0.2.8}/CONTRIBUTING.md +0 -0
  30. {eip712-0.2.7 → eip712-0.2.8}/LICENSE +0 -0
  31. {eip712-0.2.7 → eip712-0.2.8}/build_docs.py +0 -0
  32. {eip712-0.2.7 → eip712-0.2.8}/docs/_static/custom.css +0 -0
  33. {eip712-0.2.7 → eip712-0.2.8}/docs/_static/custom.js +0 -0
  34. {eip712-0.2.7 → eip712-0.2.8}/docs/_templates/layout.html +0 -0
  35. {eip712-0.2.7 → eip712-0.2.8}/docs/conf.py +0 -0
  36. {eip712-0.2.7 → eip712-0.2.8}/docs/favicon.ico +0 -0
  37. {eip712-0.2.7 → eip712-0.2.8}/docs/index.md +0 -0
  38. {eip712-0.2.7 → eip712-0.2.8}/docs/logo.gif +0 -0
  39. {eip712-0.2.7 → eip712-0.2.8}/docs/methoddocs/common.md +0 -0
  40. {eip712-0.2.7 → eip712-0.2.8}/docs/methoddocs/messages.md +0 -0
  41. {eip712-0.2.7 → eip712-0.2.8}/docs/userguides/quickstart.md +0 -0
  42. {eip712-0.2.7 → eip712-0.2.8}/eip712/__init__.py +0 -0
  43. {eip712-0.2.7 → eip712-0.2.8}/eip712/py.typed +0 -0
  44. {eip712-0.2.7 → eip712-0.2.8}/eip712.egg-info/dependency_links.txt +0 -0
  45. {eip712-0.2.7 → eip712-0.2.8}/eip712.egg-info/not-zip-safe +0 -0
  46. {eip712-0.2.7 → eip712-0.2.8}/eip712.egg-info/top_level.txt +0 -0
  47. {eip712-0.2.7 → eip712-0.2.8}/setup.cfg +0 -0
  48. {eip712-0.2.7 → eip712-0.2.8}/tests/__init__.py +0 -0
  49. {eip712-0.2.7 → eip712-0.2.8}/tests/conftest.py +0 -0
  50. {eip712-0.2.7 → eip712-0.2.8}/tests/test_fuzzing.py +0 -0
@@ -0,0 +1,17 @@
1
+ ### What I did
2
+
3
+ <!-- The `fixes:` field denotes an issue that will be marked resolved by merging this PR -->
4
+
5
+ fixes: #
6
+
7
+ ### How I did it
8
+
9
+ ### How to verify it
10
+
11
+ ### Checklist
12
+
13
+ <!-- All PRs must complete the following checklist before being merged -->
14
+
15
+ - [ ] All changes are completed
16
+ - [ ] New test cases have been added
17
+ - [ ] Documentation has been updated
@@ -20,7 +20,7 @@ jobs:
20
20
 
21
21
  steps:
22
22
  - name: Checkout repository
23
- uses: actions/checkout@v3
23
+ uses: actions/checkout@v4
24
24
 
25
25
  - name: Initialize CodeQL
26
26
  uses: github/codeql-action/init@v2
@@ -9,12 +9,12 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
 
11
11
  steps:
12
- - uses: actions/checkout@v3
12
+ - uses: actions/checkout@v4
13
13
  with:
14
14
  fetch-depth: 0
15
15
 
16
16
  - name: Setup Python
17
- uses: actions/setup-python@v4
17
+ uses: actions/setup-python@v5
18
18
  with:
19
19
  python-version: "3.10"
20
20
 
@@ -16,10 +16,10 @@ jobs:
16
16
  contents: write
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v3
19
+ - uses: actions/checkout@v4
20
20
 
21
21
  - name: Setup Python
22
- uses: actions/setup-python@v4
22
+ uses: actions/setup-python@v5
23
23
  with:
24
24
  python-version: "3.10"
25
25
 
@@ -12,10 +12,10 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v4
16
16
 
17
17
  - name: Setup Python
18
- uses: actions/setup-python@v4
18
+ uses: actions/setup-python@v5
19
19
  with:
20
20
  python-version: "3.10"
21
21
 
@@ -10,10 +10,10 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
 
12
12
  steps:
13
- - uses: actions/checkout@v3
13
+ - uses: actions/checkout@v4
14
14
 
15
15
  - name: Set up Python
16
- uses: actions/setup-python@v4
16
+ uses: actions/setup-python@v5
17
17
  with:
18
18
  python-version: "3.10"
19
19
 
@@ -14,10 +14,10 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v3
17
+ - uses: actions/checkout@v4
18
18
 
19
19
  - name: Setup Python
20
- uses: actions/setup-python@v4
20
+ uses: actions/setup-python@v5
21
21
  with:
22
22
  python-version: "3.10"
23
23
 
@@ -42,10 +42,10 @@ jobs:
42
42
  runs-on: ubuntu-latest
43
43
 
44
44
  steps:
45
- - uses: actions/checkout@v3
45
+ - uses: actions/checkout@v4
46
46
 
47
47
  - name: Setup Python
48
- uses: actions/setup-python@v4
48
+ uses: actions/setup-python@v5
49
49
  with:
50
50
  python-version: "3.10"
51
51
 
@@ -62,14 +62,14 @@ jobs:
62
62
 
63
63
  strategy:
64
64
  matrix:
65
- os: [ubuntu-latest, macos-latest] # eventually add `windows-latest`
66
- python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
65
+ os: [ubuntu-latest, macos-latest, windows-latest]
66
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
67
67
 
68
68
  steps:
69
- - uses: actions/checkout@v3
69
+ - uses: actions/checkout@v4
70
70
 
71
71
  - name: Setup Python
72
- uses: actions/setup-python@v4
72
+ uses: actions/setup-python@v5
73
73
  with:
74
74
  python-version: ${{ matrix.python-version }}
75
75
 
@@ -88,10 +88,10 @@ jobs:
88
88
  fail-fast: true
89
89
 
90
90
  steps:
91
- - uses: actions/checkout@v3
91
+ - uses: actions/checkout@v4
92
92
 
93
93
  - name: Setup Python
94
- uses: actions/setup-python@v4
94
+ uses: actions/setup-python@v5
95
95
  with:
96
96
  python-version: "3.10"
97
97
 
@@ -119,3 +119,7 @@ version.py
119
119
 
120
120
  # Ape projects
121
121
  .build/
122
+
123
+ # IDE files
124
+ .idea
125
+ .vscode
@@ -1,6 +1,6 @@
1
1
  repos:
2
2
  - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v4.5.0
3
+ rev: v4.6.0
4
4
  hooks:
5
5
  - id: check-yaml
6
6
 
@@ -10,18 +10,18 @@ repos:
10
10
  - id: isort
11
11
 
12
12
  - repo: https://github.com/psf/black
13
- rev: 23.12.0
13
+ rev: 24.4.2
14
14
  hooks:
15
15
  - id: black
16
16
  name: black
17
17
 
18
18
  - repo: https://github.com/pycqa/flake8
19
- rev: 6.1.0
19
+ rev: 7.0.0
20
20
  hooks:
21
21
  - id: flake8
22
22
 
23
23
  - repo: https://github.com/pre-commit/mirrors-mypy
24
- rev: v1.7.1
24
+ rev: v1.10.0
25
25
  hooks:
26
26
  - id: mypy
27
27
  additional_dependencies: [types-setuptools, pydantic]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eip712
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: eip712: Message classes for typed structured data hashing and signing in Ethereum
5
5
  Home-page: https://github.com/ApeWorX/eip712
6
6
  Author: ApeWorX Ltd.
@@ -13,13 +13,13 @@ Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Operating System :: MacOS
15
15
  Classifier: Operating System :: POSIX
16
+ Classifier: Operating System :: Microsoft :: Windows
16
17
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
- Requires-Python: >=3.8,<4
22
+ Requires-Python: >=3.9,<4
23
23
  Description-Content-Type: text/markdown
24
24
  Provides-Extra: test
25
25
  Provides-Extra: lint
@@ -35,7 +35,7 @@ See [EIP-712](https://eips.ethereum.org/EIPS/eip-712) for details.
35
35
 
36
36
  ## Dependencies
37
37
 
38
- - [python3](https://www.python.org/downloads) version 3.8 up to 3.12.
38
+ - [python3](https://www.python.org/downloads) version 3.9 up to 3.12.
39
39
 
40
40
  ## Installation
41
41
 
@@ -5,7 +5,7 @@ See [EIP-712](https://eips.ethereum.org/EIPS/eip-712) for details.
5
5
 
6
6
  ## Dependencies
7
7
 
8
- - [python3](https://www.python.org/downloads) version 3.8 up to 3.12.
8
+ - [python3](https://www.python.org/downloads) version 3.9 up to 3.12.
9
9
 
10
10
  ## Installation
11
11
 
@@ -85,7 +85,7 @@ def create_safe_tx_def(
85
85
  version: str = "1.3.0",
86
86
  contract_address: Optional[str] = None,
87
87
  chain_id: Optional[int] = None,
88
- ) -> Type[SafeTx]:
88
+ ) -> type[SafeTx]:
89
89
  if not contract_address:
90
90
  raise ValueError("Must define 'contract_address'")
91
91
 
@@ -1,10 +1,11 @@
1
1
  """
2
2
  Message classes for typed structured data hashing and signing in Ethereum.
3
3
  """
4
- from typing import Any, Dict, Optional
4
+
5
+ from typing import Any, Optional
5
6
 
6
7
  from dataclassy import asdict, dataclass, fields
7
- from eth_abi import is_encodable_type
8
+ from eth_abi.abi import is_encodable_type # type: ignore[import-untyped]
8
9
  from eth_account.messages import SignableMessage, hash_domain, hash_eip712_message
9
10
  from eth_utils import keccak
10
11
  from eth_utils.curried import ValidationError
@@ -45,7 +46,7 @@ class EIP712Type:
45
46
  Recursively built ``dict`` (name of type ``->`` list of subtypes) of
46
47
  the underlying fields' types.
47
48
  """
48
- types: Dict[str, list] = {repr(self): []}
49
+ types: dict[str, list] = {repr(self): []}
49
50
 
50
51
  for field in fields(self.__class__):
51
52
  value = getattr(self, field)
@@ -157,8 +158,8 @@ def calculate_hash(msg: SignableMessage) -> HexBytes:
157
158
  return HexBytes(keccak(b"".join([bytes.fromhex("19"), *msg])))
158
159
 
159
160
 
160
- def _prepare_data_for_hashing(data: Dict) -> Dict:
161
- result: Dict = {}
161
+ def _prepare_data_for_hashing(data: dict) -> dict:
162
+ result: dict = {}
162
163
 
163
164
  for key, value in data.items():
164
165
  item: Any = value
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.2.7'
16
- __version_tuple__ = version_tuple = (0, 2, 7)
15
+ __version__ = version = '0.2.8'
16
+ __version_tuple__ = version_tuple = (0, 2, 8)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eip712
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: eip712: Message classes for typed structured data hashing and signing in Ethereum
5
5
  Home-page: https://github.com/ApeWorX/eip712
6
6
  Author: ApeWorX Ltd.
@@ -13,13 +13,13 @@ Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Operating System :: MacOS
15
15
  Classifier: Operating System :: POSIX
16
+ Classifier: Operating System :: Microsoft :: Windows
16
17
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
- Requires-Python: >=3.8,<4
22
+ Requires-Python: >=3.9,<4
23
23
  Description-Content-Type: text/markdown
24
24
  Provides-Extra: test
25
25
  Provides-Extra: lint
@@ -35,7 +35,7 @@ See [EIP-712](https://eips.ethereum.org/EIPS/eip-712) for details.
35
35
 
36
36
  ## Dependencies
37
37
 
38
- - [python3](https://www.python.org/downloads) version 3.8 up to 3.12.
38
+ - [python3](https://www.python.org/downloads) version 3.9 up to 3.12.
39
39
 
40
40
  ## Installation
41
41
 
@@ -1,5 +1,4 @@
1
1
  .gitignore
2
- .mdformat.toml
3
2
  .pre-commit-config.yaml
4
3
  CONTRIBUTING.md
5
4
  LICENSE
@@ -1,24 +1,24 @@
1
- dataclassy<1,>=0.8.2
1
+ dataclassy<1,>=0.11.1
2
2
  eth-abi<6,>=5.1.0
3
- eth-account<0.12,>=0.10.0
4
- eth-hash[pycryptodome]
5
- eth-typing<4,>=3.5.2
6
- eth-utils<3,>=2.3.1
7
- hexbytes<1,>=0.3.0
3
+ eth-account<0.14,>=0.12.1
4
+ eth-typing<5,>=4.1.0
5
+ eth-utils<5,>=4.1.0
6
+ hexbytes<2,>=1.2.0
8
7
 
9
8
  [dev]
10
9
  pytest<8,>=6.0
11
10
  pytest-xdist
12
11
  pytest-cov
13
12
  hypothesis<7,>=6.70.0
14
- black<24,>=23.12.0
15
- mypy<2,>=1.7.1
13
+ black<25,>=24.4.2
14
+ mypy<2,>=1.10.0
16
15
  types-setuptools
17
- flake8<7,>=6.1.0
16
+ flake8<8,>=7.0.0
18
17
  isort<6,>=5.12.0
19
18
  mdformat<0.8,>=0.7.17
20
19
  mdformat-gfm<0.4,>=0.3.5
21
20
  mdformat-frontmatter<0.5,>=0.4.1
21
+ mdformat-pyproject>=0.0.1
22
22
  myst-parser<0.19,>=0.18.1
23
23
  Sphinx<6,>=5.3.0
24
24
  sphinx_rtd_theme<2,>=1.2.0
@@ -39,14 +39,15 @@ sphinx_rtd_theme<2,>=1.2.0
39
39
  sphinxcontrib-napoleon>=0.7
40
40
 
41
41
  [lint]
42
- black<24,>=23.12.0
43
- mypy<2,>=1.7.1
42
+ black<25,>=24.4.2
43
+ mypy<2,>=1.10.0
44
44
  types-setuptools
45
- flake8<7,>=6.1.0
45
+ flake8<8,>=7.0.0
46
46
  isort<6,>=5.12.0
47
47
  mdformat<0.8,>=0.7.17
48
48
  mdformat-gfm<0.4,>=0.3.5
49
49
  mdformat-frontmatter<0.5,>=0.4.1
50
+ mdformat-pyproject>=0.0.1
50
51
 
51
52
  [release]
52
53
  setuptools
@@ -35,3 +35,6 @@ force_grid_wrap = 0
35
35
  include_trailing_comma = true
36
36
  multi_line_output = 3
37
37
  use_parentheses = true
38
+
39
+ [tool.mdformat]
40
+ number = true
@@ -10,14 +10,15 @@ extras_require = {
10
10
  "hypothesis>=6.70.0,<7", # Strategy-based fuzzer
11
11
  ],
12
12
  "lint": [
13
- "black>=23.12.0,<24", # auto-formatter and linter
14
- "mypy>=1.7.1,<2", # Static type analyzer
13
+ "black>=24.4.2,<25", # auto-formatter and linter
14
+ "mypy>=1.10.0,<2", # Static type analyzer
15
15
  "types-setuptools", # Needed for mypy type shed
16
- "flake8>=6.1.0,<7", # Style linter
16
+ "flake8>=7.0.0,<8", # Style linter
17
17
  "isort>=5.12.0,<6", # Import sorting linter
18
18
  "mdformat>=0.7.17,<0.8", # Auto-formatter for markdown
19
19
  "mdformat-gfm>=0.3.5,<0.4", # Needed for formatting GitHub-flavored markdown
20
20
  "mdformat-frontmatter>=0.4.1,<0.5", # Needed for headers in GH issue templates
21
+ "mdformat-pyproject>=0.0.1", # Allows configuring in pyproject.toml
21
22
  ],
22
23
  "release": [ # `release` GitHub Action job uses this
23
24
  "setuptools", # Installation tool
@@ -64,15 +65,14 @@ setup(
64
65
  url="https://github.com/ApeWorX/eip712",
65
66
  include_package_data=True,
66
67
  install_requires=[
67
- "dataclassy>=0.8.2,<1",
68
+ "dataclassy>=0.11.1,<1",
68
69
  "eth-abi>=5.1.0,<6",
69
- "eth-account>=0.10.0,<0.12",
70
- "eth-hash[pycryptodome]", # NOTE: Pinned by eth-abi
71
- "eth-typing>=3.5.2,<4",
72
- "eth-utils>=2.3.1,<3",
73
- "hexbytes>=0.3.0,<1",
70
+ "eth-account>=0.12.1,<0.14",
71
+ "eth-typing>=4.1.0,<5",
72
+ "eth-utils>=4.1.0,<5",
73
+ "hexbytes>=1.2.0,<2",
74
74
  ],
75
- python_requires=">=3.8,<4",
75
+ python_requires=">=3.9,<4",
76
76
  extras_require=extras_require,
77
77
  py_modules=["eip712"],
78
78
  license="Apache-2.0",
@@ -87,8 +87,8 @@ setup(
87
87
  "Natural Language :: English",
88
88
  "Operating System :: MacOS",
89
89
  "Operating System :: POSIX",
90
+ "Operating System :: Microsoft :: Windows",
90
91
  "Programming Language :: Python :: 3",
91
- "Programming Language :: Python :: 3.8",
92
92
  "Programming Language :: Python :: 3.9",
93
93
  "Programming Language :: Python :: 3.10",
94
94
  "Programming Language :: Python :: 3.11",
@@ -1,5 +1,4 @@
1
1
  import pytest
2
- from eth_account._utils.structured_data.hashing import hash_message
3
2
  from hexbytes import HexBytes
4
3
 
5
4
  from eip712.common import SAFE_VERSIONS, create_safe_tx_def
@@ -20,12 +19,12 @@ def test_gnosis_safe_tx(version):
20
19
  msg = tx_def(to=MAINNET_MSIG_ADDRESS, nonce=0)
21
20
 
22
21
  assert msg.signable_message.header.hex() == (
23
- "0x88fbc465dedd7fe71b7baef26a1f46cdaadd50b95c77cbe88569195a9fe589ab"
22
+ "88fbc465dedd7fe71b7baef26a1f46cdaadd50b95c77cbe88569195a9fe589ab"
24
23
  if version in ("1.3.0",)
25
- else "0x590e9c66b22ee4584cd655fda57748ce186b85f829a092c28209478efbe86a92"
24
+ else "590e9c66b22ee4584cd655fda57748ce186b85f829a092c28209478efbe86a92"
26
25
  )
27
26
 
28
- assert hash_message(msg).hex() == (
27
+ assert msg.signable_message.body.hex() == (
29
28
  "3c2fdf2ea8af328a67825162e7686000787c5cc9f4b27cb6bfbcaa445b59e2c4"
30
29
  if version in ("1.3.0",)
31
30
  else "1b393826bed1f2297ffc01916f8339892f9a51dc7f35f477b9a5cdd651d28603"
@@ -10,9 +10,9 @@ from .conftest import (
10
10
 
11
11
  def test_multilevel_message(valid_message_with_name_domain_field):
12
12
  msg = valid_message_with_name_domain_field.signable_message
13
- assert msg.version.hex() == "0x01"
14
- assert msg.header.hex() == "0x336a9d2b32d1ab7ea7bbbd2565eca1910e54b74843858dec7a81f772a3c17e17"
15
- assert msg.body.hex() == "0x306af87567fa87e55d2bd925d9a3ed2b1ec2c3e71b142785c053dc60b6ca177b"
13
+ assert msg.version.hex() == "01"
14
+ assert msg.header.hex() == "336a9d2b32d1ab7ea7bbbd2565eca1910e54b74843858dec7a81f772a3c17e17"
15
+ assert msg.body.hex() == "306af87567fa87e55d2bd925d9a3ed2b1ec2c3e71b142785c053dc60b6ca177b"
16
16
 
17
17
 
18
18
  def test_invalid_message_without_domain_fields():
@@ -1,16 +0,0 @@
1
- ### What I did
2
-
3
- <!-- The `fixes:` field denotes an issue that will be marked resolved by merging this PR -->
4
-
5
- fixes: #
6
-
7
- ### How I did it
8
-
9
- ### How to verify it
10
-
11
- ### Checklist
12
-
13
- - [ ] Passes all linting checks (pre-commit and CI jobs)
14
- - [ ] New test cases have been added and are passing
15
- - [ ] Documentation has been updated
16
- - [ ] PR title follows [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/) standard (will be automatically included in the changelog)
@@ -1 +0,0 @@
1
- number = true
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes