Commit graph

6 commits

Author SHA1 Message Date
757ab69527 [#4] Add custom Invoke() function
Copy neotest.Invoke() and neotest.InvokeFail() functionality
and add modifications to collect coverage.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2023-08-08 17:28:11 +03:00
401d54dda4 [#2] Fix comments
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2023-08-08 13:43:40 +03:00
6bdec59abf [#2] Fix bad field naming in InstrHash structure
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2023-08-04 16:39:34 +03:00
f9c1fb952c [#2] Add a custom vm.Run() function
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>
2023-08-04 12:33:10 +03:00
45b28b723b [#3] Remove unnecessary caching in CompileFile
At this stage there is no need for such optimization

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2023-08-01 17:46:33 +03:00
1b9c14d5d7 [#3] Add a custom CompileFile
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>
2023-08-01 17:44:27 +03:00