Skip to content

Commit

Permalink
added conversion params for trace_call to work with binary addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
voith committed Jun 22, 2018
1 parent ddc8a81 commit cbdca2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web3/utils/rpc_abi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
'address': 'address',
}

TRACE_PARAMS_ABIS = {
'to': 'address',
'from': 'address',
}

RPC_ABIS = {
# eth
'eth_call': TRANSACTION_PARAMS_ABIS,
Expand All @@ -51,6 +56,7 @@
'personal_lockAccount': ['address'],
'personal_unlockAccount': ['address', None, None],
'personal_sign': [None, 'address', None],
'trace_call': TRACE_PARAMS_ABIS,
}


Expand Down

0 comments on commit cbdca2a

Please sign in to comment.