Skip to content

Commit 45b8721

Browse files
committed
Add v8 TODO; bump eth-account lower pin for 7702 support
1 parent 1ea3b27 commit 45b8721

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
# Note: ethereum-maintained libraries in this list should be added to the
6868
# `install_pre_releases.py` script.
6969
"eth-abi>=5.0.1",
70-
"eth-account>=0.13.1",
70+
"eth-account>=0.13.6",
7171
"eth-hash[pycryptodome]>=0.5.1",
7272
"eth-typing>=5.0.0",
7373
"eth-utils>=5.0.0",

web3/_utils/method_formatters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ def type_aware_apply_formatters_to_dict(
164164
"""
165165
Preserve ``AttributeDict`` types if original ``value`` was an ``AttributeDict``.
166166
"""
167+
# TODO: In v8, Use eth-utils 5.3.0 as lower pin where ``apply_formatters_to_dict``
168+
# already handles the CamelModel case, rather than generalizing to all BaseModel
169+
# instances.
167170
if isinstance(value, BaseModel):
168171
value = value.model_dump(by_alias=True)
169172

0 commit comments

Comments
 (0)