aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/types.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-08 17:59:44 +0800
committerobscuren <geffobscura@gmail.com>2014-10-08 17:59:44 +0800
commitb417766b36f46316cbae6fa42815f1a519e5f733 (patch)
treeaba26c0aefdcda3c3cd4b3583b84a2b2ebcf1efd /ethchain/types.go
parent0015ce1e353f52cca818d11f566b9a656fb85f24 (diff)
downloadgo-tangerine-b417766b36f46316cbae6fa42815f1a519e5f733.tar.gz
go-tangerine-b417766b36f46316cbae6fa42815f1a519e5f733.tar.zst
go-tangerine-b417766b36f46316cbae6fa42815f1a519e5f733.zip
Minor tweaks for poc7
Diffstat (limited to 'ethchain/types.go')
-rw-r--r--ethchain/types.go18
1 files changed, 8 insertions, 10 deletions
diff --git a/ethchain/types.go b/ethchain/types.go
index 45486b06c..ccd5b7975 100644
--- a/ethchain/types.go
+++ b/ethchain/types.go
@@ -144,11 +144,10 @@ const (
SWAP16 = 0x9f
// 0xf0 range - closures
- CREATE = 0xf0
- CALL = 0xf1
- RETURN = 0xf2
- POST = 0xf3
- CALLSTATELESS = 0xf4
+ CREATE = 0xf0
+ CALL = 0xf1
+ RETURN = 0xf2
+ CALLCODE = 0xf3
// 0x70 range - other
LOG = 0xfe // XXX Unofficial
@@ -293,11 +292,10 @@ var opCodeToString = map[OpCode]string{
SWAP16: "SWAP16",
// 0xf0 range
- CREATE: "CREATE",
- CALL: "CALL",
- RETURN: "RETURN",
- POST: "POST",
- CALLSTATELESS: "CALLSTATELESS",
+ CREATE: "CREATE",
+ CALL: "CALL",
+ RETURN: "RETURN",
+ CALLCODE: "CALLCODE",
// 0x70 range - other
LOG: "LOG",