Commit add9a4ee authored by George Hotz's avatar George Hotz

add blocknum arg to embeeded, tests are passing!

parent ef0ac994
......@@ -285,7 +285,10 @@ mu.mem_map(brk_start, 1024*1024*1024)
# input oracle
mu.mem_map(0x30000000, 0x2000000)
inputs = open("/tmp/eth/13284469", "rb").read()
if len(sys.argv) > 1:
inputs = open("/tmp/eth/"+sys.argv[1], "rb").read()
else:
inputs = open("/tmp/eth/13284469", "rb").read()
mu.mem_write(0x30000000, inputs)
# regs at 0xC0000000 in merkle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment