compiler: emit debug variable info for _deploy()

This commit is contained in:
Evgeniy Stratonikov 2021-05-12 16:03:47 +03:00
parent b72f6be9e9
commit 7b638d5489
3 changed files with 9 additions and 3 deletions

View file

@ -169,6 +169,7 @@ func (c *codegen) emitDebugInfo(contract []byte) *DebugInfo {
ReturnType: "Void",
ReturnTypeSC: smartcontract.VoidType,
SeqPoints: c.sequencePoints[manifest.MethodDeploy],
Variables: c.deployVariables,
})
}
for name, scope := range c.funcs {