mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 13:38:35 +00:00
core: move Neo.Blockchain.* syscalls to System.*
This commit is contained in:
parent
3d3fe9398e
commit
97c6ac7a73
2 changed files with 2 additions and 4 deletions
|
@ -30,8 +30,8 @@ var syscalls = map[string]map[string]string{
|
||||||
},
|
},
|
||||||
"blockchain": {
|
"blockchain": {
|
||||||
"GetBlock": "System.Blockchain.GetBlock",
|
"GetBlock": "System.Blockchain.GetBlock",
|
||||||
"GetContract": "Neo.Blockchain.GetContract",
|
"GetContract": "System.Blockchain.GetContract",
|
||||||
"GetHeight": "Neo.Blockchain.GetHeight",
|
"GetHeight": "System.Blockchain.GetHeight",
|
||||||
"GetTransaction": "System.Blockchain.GetTransaction",
|
"GetTransaction": "System.Blockchain.GetTransaction",
|
||||||
"GetTransactionFromBlock": "System.Blockchain.GetTransactionFromBlock",
|
"GetTransactionFromBlock": "System.Blockchain.GetTransactionFromBlock",
|
||||||
"GetTransactionHeight": "System.Blockchain.GetTransactionHeight",
|
"GetTransactionHeight": "System.Blockchain.GetTransactionHeight",
|
||||||
|
|
|
@ -94,8 +94,6 @@ var systemInterops = []interop.Function{
|
||||||
}
|
}
|
||||||
|
|
||||||
var neoInterops = []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.Create", Func: contractCreate, Price: 0},
|
||||||
{Name: "Neo.Contract.Destroy", Func: contractDestroy, Price: 1},
|
{Name: "Neo.Contract.Destroy", Func: contractDestroy, Price: 1},
|
||||||
{Name: "Neo.Contract.GetScript", Func: contractGetScript, Price: 1},
|
{Name: "Neo.Contract.GetScript", Func: contractGetScript, Price: 1},
|
||||||
|
|
Loading…
Reference in a new issue