We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a2f478 commit 74052a9Copy full SHA for 74052a9
web3/_utils/rpc_abi.py
@@ -218,8 +218,9 @@ def apply_abi_formatters_to_dict(
218
[abi_dict[field] for field in fields],
219
[data[field] for field in fields],
220
)
221
- formatted_dict = dict(zip(fields, formatted_values))
222
- return dict(data, **formatted_dict)
+ formatted_dict = data.copy()
+ formatted_dict.update(zip(fields, formatted_values))
223
+ return formatted_dict
224
225
226
@to_dict
0 commit comments