clean up VMTests and remove some scaffolding

This commit is contained in:
Dustin Brody 2018-09-24 08:04:04 -07:00 committed by zah
parent 487730bcba
commit c468bcd713

View File

@ -61,15 +61,7 @@ proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
options = newMessageOptions(origin=fexec{"origin"}.getStr.parseAddress,
createAddress = toAddress))
#echo fixture{"exec"}
var c = newCodeStream(code)
when defined(nimbusdebug):
c.displayDecompiled()
var computation = newBaseComputation(vmState, header.blockNumber, message)
computation.vmState = vmState
computation.precompiles = initTable[string, Opcode]()
computation.executeOpcodes()
if not fixture{"post"}.isNil: