Use `require` to check for errors and instead of just printing result to Stdout,
t.Log to print errors.
Added functions to calculate start offset, check if contract
method has result and to get random int to put.
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
It executes loaded program and accumulates all seen opcodes
together with the scripthash they belong to.
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
It is a copy of neotest.CompileFile() but it returns debug info
in addition to contract info.
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>