neo-go
neo-go copied to clipboard
VM CLI debug sessions
- Currently
loadnefandloadgocommands perform dynamic script loading which makes subsequent method run fail on notification emission or storage context access (see https://github.com/nspcc-dev/neo-go/pull/2824#issue-1466185629 and https://github.com/nspcc-dev/neo-go/pull/2824#discussion_r1033530726). 6bf9856c16a475961fd3832575f3d01a42967552 is not enough, we need to implement debug sessions to be able to deploy the contract firstly and call its method afterwards. - We also need an ability to perform calls/invoke scripts based on some previous VM state got from other script invocation. It can also be implemented via debug sessions mechanism and it's a useful feature for contract debugging. Requested by @carpawell.