diff --git a/ROADMAP.md b/ROADMAP.md index f67329641..7f5b6addb 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -24,12 +24,3 @@ APIs/commands/configurations will be removed and here is a list of scheduled breaking changes. Consider changing your code/scripts/configurations if you're using anything mentioned here. -## Dump*Slot() methods of `vm.Context` - -The following new methods have been exposed to give access to VM context slot contents -with greater flexibility: -- `ArgumentsSlot` -- `LocalsSlot` -- `StaticsSlot`. - -Removal of the `Dump*Slot()` methods are scheduled for the 0.108.0 release. diff --git a/pkg/vm/context.go b/pkg/vm/context.go index c3a4a027a..15d6b69aa 100644 --- a/pkg/vm/context.go +++ b/pkg/vm/context.go @@ -277,34 +277,6 @@ func (c *Context) IsDeployed() bool { return c.sc.NEF != nil } -// DumpStaticSlot returns json formatted representation of the given slot. -// Deprecated: to be removed in next version. Use [Context.StaticsSlot] instead. -func (c *Context) DumpStaticSlot() string { - return dumpSlot(&c.sc.static) -} - -// DumpLocalSlot returns json formatted representation of the given slot. -// Deprecated: to be removed in next version. Use [Context.LocalsSlot] instead. -func (c *Context) DumpLocalSlot() string { - return dumpSlot(&c.local) -} - -// DumpArgumentsSlot returns json formatted representation of the given slot. -// Deprecated: to be removed in next version. Use [Context.ArgumentsSlot] instead. -func (c *Context) DumpArgumentsSlot() string { - return dumpSlot(&c.arguments) -} - -// dumpSlot returns json formatted representation of the given slot. -// Deprecated: to be removed in next version. -func dumpSlot(s *Slot) string { - if s == nil || *s == nil { - return "[]" - } - b, _ := json.MarshalIndent(s, "", " ") - return string(b) -} - // getContextScriptHash returns script hash of the invocation stack element // number n. func (v *VM) getContextScriptHash(n int) util.Uint160 {