forked from TrueCloudLab/neoneo-go
vm: fix Log and Notify default interop prices
This commit is contained in:
parent
4b31c18316
commit
47f53e612e
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ var defaultVMInterops = []interopIDFuncPrice{
|
||||||
{emit.InteropNameToID([]byte("System.Binary.Serialize")),
|
{emit.InteropNameToID([]byte("System.Binary.Serialize")),
|
||||||
InteropFuncPrice{Func: RuntimeSerialize, Price: 100000}},
|
InteropFuncPrice{Func: RuntimeSerialize, Price: 100000}},
|
||||||
{emit.InteropNameToID([]byte("System.Runtime.Log")),
|
{emit.InteropNameToID([]byte("System.Runtime.Log")),
|
||||||
InteropFuncPrice{Func: runtimeLog, Price: 1}},
|
InteropFuncPrice{Func: runtimeLog, Price: 1000000, RequiredFlags: smartcontract.AllowNotify}},
|
||||||
{emit.InteropNameToID([]byte("System.Runtime.Notify")),
|
{emit.InteropNameToID([]byte("System.Runtime.Notify")),
|
||||||
InteropFuncPrice{Func: runtimeNotify, Price: 1}},
|
InteropFuncPrice{Func: runtimeNotify, Price: 1000000, RequiredFlags: smartcontract.AllowNotify}},
|
||||||
{emit.InteropNameToID([]byte("System.Enumerator.Create")),
|
{emit.InteropNameToID([]byte("System.Enumerator.Create")),
|
||||||
InteropFuncPrice{Func: EnumeratorCreate, Price: 400}},
|
InteropFuncPrice{Func: EnumeratorCreate, Price: 400}},
|
||||||
{emit.InteropNameToID([]byte("System.Enumerator.Next")),
|
{emit.InteropNameToID([]byte("System.Enumerator.Next")),
|
||||||
|
|
Loading…
Reference in a new issue