From 60cdb1148c404218846fd39331690658168f4e04 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 12 Nov 2014 01:36:36 +0100 Subject: Transaction execution fixes --- vm/closure.go | 4 ++++ vm/types.go | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'vm') diff --git a/vm/closure.go b/vm/closure.go index 8e54e9ce6..ef9bbca93 100644 --- a/vm/closure.go +++ b/vm/closure.go @@ -138,3 +138,7 @@ func (c *Closure) Object() *state.StateObject { func (c *Closure) Caller() ClosureRef { return c.caller } + +func (self *Closure) SetExecution(exe *Execution) { + self.exe = exe +} diff --git a/vm/types.go b/vm/types.go index 7dd167e0c..0b20fb655 100644 --- a/vm/types.go +++ b/vm/types.go @@ -309,6 +309,12 @@ var opCodeToString = map[OpCode]string{ SWAP15: "SWAP15", SWAP16: "SWAP16", + LOG0: "LOG0", + LOG1: "LOG1", + LOG2: "LOG2", + LOG3: "LOG3", + LOG4: "LOG4", + // 0xf0 range CREATE: "CREATE", CALL: "CALL", -- cgit v1.2.3