Anna Shaleva
|
16f5ae3812
|
cli: add upper bound check for contract ID for 'storage' VM CLI cmd
|
2022-10-07 15:57:33 +03:00 |
|
Anna Shaleva
|
95cbddf19e
|
cli: use custom logger to filter out runtime.Log messages
```
anna@kiwi:~/Documents/GitProjects/nspcc-dev/neo-go$ ./bin/neo-go vm -p
_ ____________ __________ _ ____ ___
/ | / / ____/ __ \ / ____/ __ \ | | / / |/ /
/ |/ / __/ / / / /_____/ / __/ / / /____| | / / /|_/ /
/ /| / /___/ /_/ /_____/ /_/ / /_/ /_____/ |/ / / / /
/_/ |_/_____/\____/ \____/\____/ |___/_/ /_/
NEO-GO-VM > loadgo ./1-print/1-print.go
READY: loaded 21 instructions
NEO-GO-VM 0 > run
2022-10-07T15:28:20.461+0300 INFO runtime log {"tx": "", "script": "db03ceb3f672ee8cd0d714989b4d103ff7eed2f3", "msg": "Hello, world!"}
[]
```
|
2022-10-07 15:57:33 +03:00 |
|
Anna Shaleva
|
b3c8192d2e
|
cli: add 'changes' command for VM CLI
|
2022-10-07 15:57:31 +03:00 |
|
Anna Shaleva
|
cac4f6a4a6
|
cli: allow to dump storage diff for 'storage' VM CLI command
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
8c78177806
|
vm: add 'storage' VM CLI command to dump storage items
Another nice one, very useful for debugging.
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
ff03c33e6d
|
vm: allow historic calls inside VM CLI
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
79e13f73d8
|
core, rpc: move getFakeNextBlock to Blockchain
It's needed for VM CLI as far and may be improved later.
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
0036c89d63
|
vm: add 'env' command showing state of the blockchain-backed VM CLI
A useful one.
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
f1ecdb82cc
|
vm: add 'events' command to VM CLI
And dump events automatically after HALTed or FAULTed end of execution.
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
33ae8d0ddc
|
vm: clear manifest on VM CLI reset
Fix the bug when outdated manifest was stored after new program was loaded.
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
513821cfff
|
vm: allow to provide state for VM CLI
Close #2528.
Also, add new simple testchain as an analogue for basicchain.
|
2022-10-07 15:56:34 +03:00 |
|
Anna Shaleva
|
0b717b0c22
|
vm: move vm CLI to cli/vm package
|
2022-10-07 15:56:34 +03:00 |
|