withdraw test

This commit is contained in:
Alexey 2019-09-25 21:29:41 +03:00
parent 11f7408def
commit a8331eea08
6 changed files with 255 additions and 34 deletions

View file

@ -17,6 +17,10 @@ const takeSnapshot = async () => {
return await send('evm_snapshot')
}
const traceTransaction = async (tx) => {
return await send('debug_traceTransaction', [tx, {}])
}
const revertSnapshot = async (id) => {
await send('evm_revert', [id])
}
@ -44,4 +48,5 @@ module.exports = {
minerStop,
minerStart,
increaseTime,
traceTransaction
}