From 0f61a13006232c45129794d5b4d855983f8a1971 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 25 Nov 2022 10:35:13 +0300 Subject: [PATCH] compiler: Contract type is in the management package --- pkg/compiler/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compiler/debug.go b/pkg/compiler/debug.go index 773724d40..dc712697d 100644 --- a/pkg/compiler/debug.go +++ b/pkg/compiler/debug.go @@ -273,7 +273,7 @@ func scAndVMInteropTypeFromExpr(named *types.Named, isPointer bool) (smartcontra name := named.Obj().Name() pkg := named.Obj().Pkg().Name() switch pkg { - case "ledger", "contract": + case "ledger", "management": // Block, Transaction, Contract. typeName := pkg + "." + name et := &binding.ExtendedType{Base: smartcontract.ArrayType, Name: typeName}