diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-12 08:36:36 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-12 08:36:36 +0800 |
commit | 60cdb1148c404218846fd39331690658168f4e04 (patch) | |
tree | 229e68d7dfdaccb12e0b6b9ff19c5c14b9f9c603 /vm | |
parent | 9bb1ac7564ff0588f33a1eb43e76f40664d9e527 (diff) | |
download | dexon-60cdb1148c404218846fd39331690658168f4e04.tar dexon-60cdb1148c404218846fd39331690658168f4e04.tar.gz dexon-60cdb1148c404218846fd39331690658168f4e04.tar.bz2 dexon-60cdb1148c404218846fd39331690658168f4e04.tar.lz dexon-60cdb1148c404218846fd39331690658168f4e04.tar.xz dexon-60cdb1148c404218846fd39331690658168f4e04.tar.zst dexon-60cdb1148c404218846fd39331690658168f4e04.zip |
Transaction execution fixes
Diffstat (limited to 'vm')
-rw-r--r-- | vm/closure.go | 4 | ||||
-rw-r--r-- | vm/types.go | 6 |
2 files changed, 10 insertions, 0 deletions
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", |