core: fix storage.Delete price

This commit is contained in:
Anna Shaleva 2021-03-19 18:57:00 +03:00
parent 0bca63b907
commit 5b18f5974f
2 changed files with 1 additions and 2 deletions

View file

@ -57,7 +57,7 @@ var systemInterops = []interop.Function{
{Name: interopnames.SystemRuntimeNotify, Func: runtime.Notify, Price: 1 << 15, RequiredFlags: callflag.AllowNotify,
ParamCount: 2},
{Name: interopnames.SystemRuntimePlatform, Func: runtime.Platform, Price: 1 << 3},
{Name: interopnames.SystemStorageDelete, Func: storageDelete, Price: 0,
{Name: interopnames.SystemStorageDelete, Func: storageDelete, Price: 1 << 15,
RequiredFlags: callflag.WriteStates, ParamCount: 2},
{Name: interopnames.SystemStorageFind, Func: storageFind, Price: 1 << 15, RequiredFlags: callflag.ReadStates,
ParamCount: 3},