mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-24 17:58:30 +00:00
clean up VMTests and remove some scaffolding
This commit is contained in:
parent
487730bcba
commit
c468bcd713
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user