mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-25 14:29:22 -05:00
add traceTransaction
This commit is contained in:
parent
b000e66899
commit
3169d79ee0
@ -17,6 +17,10 @@ const takeSnapshot = async () => {
|
|||||||
return await send('evm_snapshot')
|
return await send('evm_snapshot')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const traceTransaction = async (tx) => {
|
||||||
|
return await send('debug_traceTransaction', [tx, {}])
|
||||||
|
}
|
||||||
|
|
||||||
const revertSnapshot = async (id) => {
|
const revertSnapshot = async (id) => {
|
||||||
await send('evm_revert', [id])
|
await send('evm_revert', [id])
|
||||||
}
|
}
|
||||||
@ -44,4 +48,5 @@ module.exports = {
|
|||||||
minerStop,
|
minerStop,
|
||||||
minerStart,
|
minerStart,
|
||||||
increaseTime,
|
increaseTime,
|
||||||
|
traceTransaction
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user