From 125839aae182cb8a4d22f89b3052d66c38edce3a Mon Sep 17 00:00:00 2001 From: Benjamin Bollen <ben@erisindustries.com> Date: Fri, 26 Aug 2016 16:43:11 +0200 Subject: [PATCH] vm/opcode: introduce DELEGATECALL opcode --- .../src/github.com/tendermint/tendermint/vm/opcodes.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Godeps/_workspace/src/github.com/tendermint/tendermint/vm/opcodes.go b/Godeps/_workspace/src/github.com/tendermint/tendermint/vm/opcodes.go index 505d536c..5ebd4807 100644 --- a/Godeps/_workspace/src/github.com/tendermint/tendermint/vm/opcodes.go +++ b/Godeps/_workspace/src/github.com/tendermint/tendermint/vm/opcodes.go @@ -166,6 +166,7 @@ const ( CALL CALLCODE RETURN + DELEGATECALL // 0x70 range - other SUICIDE = 0xff @@ -316,10 +317,11 @@ var opCodeToString = map[OpCode]string{ LOG4: "LOG4", // 0xf0 range - CREATE: "CREATE", - CALL: "CALL", - RETURN: "RETURN", - CALLCODE: "CALLCODE", + CREATE: "CREATE", + CALL: "CALL", + RETURN: "RETURN", + CALLCODE: "CALLCODE", + DELEGATECALL: "DELEGATECALL", // 0x70 range - other SUICIDE: "SUICIDE", -- GitLab