Merge pull request #10 from step21/master

add ipc function for tracing
pull/12/head
Bernhard Mueller 7 years ago committed by GitHub
commit ae357ce2f1
  1. 6
      mythril/ipc/client.py

@ -692,6 +692,8 @@ class EthIpc(object):
return self._call('debug_getBlockRlp', [number])
def traceTransaction(self, txHash):
return self._call('debug_traceTransaction', [txHash])
#atm not directly accessible, so something like this is needed
#https://github.com/pipermerriam/web3.py/issues/308
#web3.manager.request_blocking('debug_traceTransaction', ["TX_ID_AS_HEX_STRING"])
return self.web3.manager.request_blocking('debug_traceTransaction', [txHash])

Loading…
Cancel
Save