Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Elnaril committed Dec 14, 2024
1 parent 58c98e3 commit 6a9d159
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_v4_codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def test_pool_key():
assert pool_key_1 == pool_key_2
# assert pool_key_1


def test_pool_id():
pool_key = codec.encode.v4_pool_key(
"0x0000000000000000000000000000000000000000",
Expand All @@ -35,6 +36,7 @@ def test_pool_id():
expected_pool_id = HexStr("426f60e2b0ac279b6cf8b3806d23e1d15d21aba4d6973e30d36299e81e3f01a1")
assert codec.encode.v4_pool_id(pool_key) == Web3.to_bytes(hexstr=expected_pool_id)


def test_v4_swap():
pool_key = codec.encode.v4_pool_key(
"0x0000000000000000000000000000000000000000",
Expand All @@ -56,6 +58,7 @@ def test_v4_swap():
print(fct_name)
pp(decoded_input, indent=4, width=120)


def test_v4_initialize_pool():
pool_key = codec.encode.v4_pool_key(
"0x0000000000000000000000000000000000000000",
Expand Down

0 comments on commit 6a9d159

Please sign in to comment.