Skip to content

Commit

Permalink
chore: bump ethpm-types
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Feb 14, 2025
1 parent b7fe1c2 commit 685c13f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"web3[tester]>=6.20.1,<8",
# ** Dependencies maintained by ApeWorX **
"eip712>=0.2.10,<0.3",
"ethpm-types>=0.6.21,<0.7",
"ethpm-types>=0.6.22,<0.7",
"eth_pydantic_types>=0.1.3,<0.2",
"evmchains>=0.1.0,<0.2",
"evm-trace>=0.2.3,<0.3",
Expand Down
5 changes: 4 additions & 1 deletion src/ape/utils/abi.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,5 +585,8 @@ def encode_topics(abi: EventABI, topics: Optional[dict[str, Any]] = None) -> lis

values[input_name] = input_value

# The type-ignore is because there should be no None values when allow_wildcards=False
# Remove trailing wildcards since they have no effect
while topic_filter[-1] is None:
topic_filter.pop()

return abi.encode_topics(values) # type: ignore

0 comments on commit 685c13f

Please sign in to comment.