jangko 4d126f2461
hive: add ethereum/engine simulator
some test with multiple client still need polishing.
merge test using specially crafted blocks need to be added.
2022-04-13 08:05:58 +07:00

20 lines
343 B
Nim

import
test_env,
engine_tests,
chronos,
unittest2
proc runTest(x: TestSpec, testStatusIMPL: var TestStatus) =
var t = setupELClient()
t.setRealTTD(x.ttd)
x.run(t, testStatusIMPL)
t.stopELClient()
proc main() =
suite "Engine Tests":
for x in engineTestList:
test x.name:
runTest(x, testStatusIMPL)
main()