core: adjust System.Contract.Create interop

Part of #1055.

It should check given scripthash against manifest groups and return the
contract state as a struct (not interop interface).
This commit is contained in:
Anna Shaleva 2020-07-15 14:39:20 +03:00
parent d2ec0fed3d
commit fddad0b475
8 changed files with 141 additions and 23 deletions

View file

@ -21,7 +21,7 @@ var syscalls = map[string]map[string]Syscall{
"GetTransactionHeight": {"System.Blockchain.GetTransactionHeight", false},
},
"contract": {
"Create": {"System.Contract.Create", false},
"Create": {"System.Contract.Create", true},
"CreateStandardAccount": {"System.Contract.CreateStandardAccount", false},
"Destroy": {"System.Contract.Destroy", false},
"IsStandard": {"System.Contract.IsStandard", false},