mirror of
https://github.com/Kindelia/Kind2.git
synced 2024-09-11 07:15:45 +03:00
Lit: show block correctly
This commit is contained in:
parent
1826f4bea1
commit
6b6ab1c1c3
@ -1241,13 +1241,14 @@ Litereum: _
|
||||
`
|
||||
let block = Parser.run!(Litereum.parse.block(world), code) abort IO.print("deu ruim")
|
||||
IO {
|
||||
log("Block: ")
|
||||
for tx in block:
|
||||
IO.print("- " | Litereum.show.transaction(world, tx))
|
||||
log("Evaluation: ")
|
||||
let tmp = Litereum.run.block(world, block) abort IO.print("failed execution")
|
||||
IO.print("Done!")
|
||||
|
||||
log("Block: ")
|
||||
for tx in block:
|
||||
IO.print("- " | Litereum.show.transaction(tmp, tx))
|
||||
|
||||
IO.print("")
|
||||
IO.print("Serialization:")
|
||||
let bits = Litereum.serialize.block(tmp, block)
|
||||
|
Loading…
Reference in New Issue
Block a user