From 9e15ab04ce2efef6d015c411aab97062d2596020 Mon Sep 17 00:00:00 2001 From: Anthony De Meulemeester Date: Wed, 22 Aug 2018 10:08:06 +0200 Subject: [PATCH] Added missing execution interop api (CityOfZion/neo-storm#14) Imported from CityOfZion/neo-storm (ab12273da74e0d35df8863f08f1a914723d2bdba). --- pkg/vm/compiler/syscall.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/vm/compiler/syscall.go b/pkg/vm/compiler/syscall.go index 0ac9d45a0..1e42f633f 100644 --- a/pkg/vm/compiler/syscall.go +++ b/pkg/vm/compiler/syscall.go @@ -75,4 +75,10 @@ var syscalls = map[string]map[string]string{ "GetValue": "Neo.Output.GetValue", "GetScriptHash": "Neo.Output.GetScriptHash", }, + "engine": { + "GetScriptContainer": "System.ExecutionEngine.GetScriptContainer", + "GetCallingScriptHash": "System.ExecutionEngine.GetCallingScriptHash", + "GetEntryScriptHash": "System.ExecutionEngine.GetEntryScriptHash", + "GetExecutingScriptHash": "System.ExecutionEngine.GetExecutingScriptHash", + }, }