forked from TrueCloudLab/neoneo-go
core: fix storage.Put price
This commit is contained in:
parent
7c50bbc649
commit
0bca63b907
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ var systemInterops = []interop.Function{
|
|||
RequiredFlags: callflag.ReadStates},
|
||||
{Name: interopnames.SystemStorageGetReadOnlyContext, Func: storageGetReadOnlyContext, Price: 1 << 4,
|
||||
RequiredFlags: callflag.ReadStates},
|
||||
{Name: interopnames.SystemStoragePut, Func: storagePut, Price: 0, RequiredFlags: callflag.WriteStates,
|
||||
ParamCount: 3}, // These don't have static price in C# code.
|
||||
{Name: interopnames.SystemStoragePut, Func: storagePut, Price: 1 << 15, RequiredFlags: callflag.WriteStates,
|
||||
ParamCount: 3},
|
||||
{Name: interopnames.SystemStorageAsReadOnly, Func: storageContextAsReadOnly, Price: 1 << 4,
|
||||
RequiredFlags: callflag.ReadStates, ParamCount: 1},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue