core: move Neo.Blockchain.* syscalls to System.*

This commit is contained in:
Evgenii Stratonikov 2020-06-10 12:12:31 +03:00
parent 3d3fe9398e
commit 97c6ac7a73
2 changed files with 2 additions and 4 deletions

View file

@ -30,8 +30,8 @@ var syscalls = map[string]map[string]string{
},
"blockchain": {
"GetBlock": "System.Blockchain.GetBlock",
"GetContract": "Neo.Blockchain.GetContract",
"GetHeight": "Neo.Blockchain.GetHeight",
"GetContract": "System.Blockchain.GetContract",
"GetHeight": "System.Blockchain.GetHeight",
"GetTransaction": "System.Blockchain.GetTransaction",
"GetTransactionFromBlock": "System.Blockchain.GetTransactionFromBlock",
"GetTransactionHeight": "System.Blockchain.GetTransactionHeight",

View file

@ -94,8 +94,6 @@ var systemInterops = []interop.Function{
}
var neoInterops = []interop.Function{
{Name: "Neo.Blockchain.GetContract", Func: bcGetContract, Price: 100},
{Name: "Neo.Blockchain.GetHeight", Func: bcGetHeight, Price: 1},
{Name: "Neo.Contract.Create", Func: contractCreate, Price: 0},
{Name: "Neo.Contract.Destroy", Func: contractDestroy, Price: 1},
{Name: "Neo.Contract.GetScript", Func: contractGetScript, Price: 1},