From ef8de3b2dcdd79eea858bc83d27a850e863d1c7a Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Tue, 21 Jul 2020 20:09:46 +0300 Subject: [PATCH] core: adjust System.Runtime.GetNotifications interop Part of #1055. Forgot to add this pretty interop to the list of system interops. --- pkg/core/interops.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/core/interops.go b/pkg/core/interops.go index 7ee684744..512dc4e50 100644 --- a/pkg/core/interops.go +++ b/pkg/core/interops.go @@ -117,6 +117,7 @@ var systemInterops = []interop.Function{ {Name: "System.Runtime.GetEntryScriptHash", Func: engineGetEntryScriptHash, Price: 400}, {Name: "System.Runtime.GetExecutingScriptHash", Func: engineGetExecutingScriptHash, Price: 400}, {Name: "System.Runtime.GetInvocationCounter", Func: runtime.GetInvocationCounter, Price: 400}, + {Name: "System.Runtime.GetNotifications", Func: runtime.GetNotifications, Price: 10000}, {Name: "System.Runtime.GetScriptContainer", Func: engineGetScriptContainer, Price: 250}, {Name: "System.Runtime.GetTime", Func: runtimeGetTime, Price: 250, AllowedTriggers: trigger.Application, RequiredFlags: smartcontract.AllowStates},