From 0bca63b907bbd2887d9d28dfb2747d6bd6f2d5db Mon Sep 17 00:00:00 2001
From: Anna Shaleva <shaleva.ann@nspcc.ru>
Date: Fri, 19 Mar 2021 18:41:33 +0300
Subject: [PATCH] core: fix storage.Put price

---
 pkg/core/interops.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/core/interops.go b/pkg/core/interops.go
index f680a70b3..ee99b9eed 100644
--- a/pkg/core/interops.go
+++ b/pkg/core/interops.go
@@ -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},
 }