Skip to content

Commit

Permalink
Add result formatters for reward tracing calls
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Apr 24, 2023
1 parent 3e15d1d commit 153c2fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/2929.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support via result formatters for ``reward`` type trace actions on tracing calls.
2 changes: 2 additions & 0 deletions web3/_utils/method_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,8 @@ def apply_list_to_array_formatter(formatter: Any) -> Callable[..., Any]:
# suicide type
"address": to_checksum_address,
"refundAddress": to_checksum_address,
# reward type
"author": to_checksum_address,
}
),
)
Expand Down

0 comments on commit 153c2fd

Please sign in to comment.