Skip to content

Commit 5cd168f

Browse files
voithcarver
authored andcommitted
added conversion params for trace_call to work with binary addresses
1 parent 2e3b8af commit 5cd168f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

web3/utils/rpc_abi.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
'address': 'address',
2828
}
2929

30+
TRACE_PARAMS_ABIS = {
31+
'to': 'address',
32+
'from': 'address',
33+
}
34+
3035
RPC_ABIS = {
3136
# eth
3237
'eth_call': TRANSACTION_PARAMS_ABIS,
@@ -51,6 +56,7 @@
5156
'personal_lockAccount': ['address'],
5257
'personal_unlockAccount': ['address', None, None],
5358
'personal_sign': [None, 'address', None],
59+
'trace_call': TRACE_PARAMS_ABIS,
5460
}
5561

5662

0 commit comments

Comments
 (0)