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 e2cd3a4 commit 1417eb8Copy full SHA for 1417eb8
newsfragments/2069.bugfix.rst
@@ -0,0 +1 @@
1
+Hot fix for a string interpolation issue in message when BadFunctionCallOutput is raised for call_contract_function()
web3/contract.py
@@ -1524,8 +1524,8 @@ def call_contract_function(
1524
)
1525
else:
1526
msg = (
1527
- "Could not decode contract function call {function_identifier} "
1528
- "return data {return_data!r} for output_types {output_types}"
+ f"Could not decode contract function call {function_identifier} "
+ f"return data {return_data!r} for output_types {output_types}"
1529
1530
raise BadFunctionCallOutput(msg) from e
1531
0 commit comments