From 47f53e612e65667fcc7bc985ff0d7b1e10848914 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 19 Jun 2020 12:33:33 +0300 Subject: [PATCH] vm: fix Log and Notify default interop prices --- pkg/vm/interop.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/vm/interop.go b/pkg/vm/interop.go index f0dd90f35..2cc188bc6 100644 --- a/pkg/vm/interop.go +++ b/pkg/vm/interop.go @@ -40,9 +40,9 @@ var defaultVMInterops = []interopIDFuncPrice{ {emit.InteropNameToID([]byte("System.Binary.Serialize")), InteropFuncPrice{Func: RuntimeSerialize, Price: 100000}}, {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")), - InteropFuncPrice{Func: runtimeNotify, Price: 1}}, + InteropFuncPrice{Func: runtimeNotify, Price: 1000000, RequiredFlags: smartcontract.AllowNotify}}, {emit.InteropNameToID([]byte("System.Enumerator.Create")), InteropFuncPrice{Func: EnumeratorCreate, Price: 400}}, {emit.InteropNameToID([]byte("System.Enumerator.Next")),