Skip to content

Commit

Permalink
Merge branch 'main' into feat/windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Jun 12, 2024
2 parents 8a70c28 + afcffb3 commit 1ac8dcd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,7 @@ version.py

# Ape projects
.build/

# IDE files
.idea
.vscode
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
install_requires=[
"dataclassy>=0.11.1,<1",
"eth-abi>=5.1.0,<6",
"eth-account>=0.12.1,<0.13",
"eth-account>=0.12.1,<0.14",
"eth-typing>=4.1.0,<5",
"eth-utils>=4.1.0,<5",
"hexbytes>=1.2.0,<2",
Expand Down
3 changes: 1 addition & 2 deletions tests/test_common.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest
from eth_account._utils.structured_data.hashing import hash_message
from hexbytes import HexBytes

from eip712.common import SAFE_VERSIONS, create_safe_tx_def
Expand All @@ -25,7 +24,7 @@ def test_gnosis_safe_tx(version):
else "590e9c66b22ee4584cd655fda57748ce186b85f829a092c28209478efbe86a92"
)

assert hash_message(msg).hex() == (
assert msg.signable_message.body.hex() == (
"3c2fdf2ea8af328a67825162e7686000787c5cc9f4b27cb6bfbcaa445b59e2c4"
if version in ("1.3.0",)
else "1b393826bed1f2297ffc01916f8339892f9a51dc7f35f477b9a5cdd651d28603"
Expand Down

0 comments on commit 1ac8dcd

Please sign in to comment.