Skip to content

Commit

Permalink
chore: bump version to 4.20.105 (#300)
Browse files Browse the repository at this point in the history
* chore: bump version to 4.20.105

* chore: `black .`

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
BobTheBuidler and github-actions[bot] authored Nov 22, 2024
1 parent 2231f4b commit 2096d3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dank_mids/brownie_patch/call.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ def _format_single_but_cache_checksums(type_str: str, value: Any) -> Any:
return to_bool(value)
elif type_str == "address":
# NOTE: since we skip brownie's formatter we must ensure we pass in a usable type
return Address.checksum(value if isinstance(value, (str, bytes, bytearray, int, bool)) else str(value))
return Address.checksum(
value if isinstance(value, (str, bytes, bytearray, int, bool)) else str(value)
)
elif "byte" in type_str:
return HexString(value, type_str)
elif "string" in type_str:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dank-mids"
version = "4.20.104"
version = "4.20.105"
description = "Multicall batching middleware for asynchronous scripts using web3.py"
authors = ["BobTheBuidler <bobthebuidlerdefi@gmail.com>"]
homepage = "https://github.com/BobTheBuidler/dank_mids"
Expand Down

0 comments on commit 2096d3a

Please sign in to comment.