From de044114881ad8bfcf359b2fb617eab9615c46e7 Mon Sep 17 00:00:00 2001 From: Evgeniy Stratonikov Date: Thu, 11 Mar 2021 15:44:07 +0300 Subject: [PATCH] core/fee: alter opcode prices Follow neo-project/neo#2384. --- pkg/core/fee/opcode.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/core/fee/opcode.go b/pkg/core/fee/opcode.go index c77c6257e..752255a59 100644 --- a/pkg/core/fee/opcode.go +++ b/pkg/core/fee/opcode.go @@ -179,8 +179,8 @@ var coefficients = map[opcode.Opcode]int64{ opcode.MIN: 1 << 3, opcode.MAX: 1 << 3, opcode.WITHIN: 1 << 3, - opcode.PACK: 1 << 9, - opcode.UNPACK: 1 << 9, + opcode.PACK: 1 << 11, + opcode.UNPACK: 1 << 11, opcode.NEWARRAY0: 1 << 4, opcode.NEWARRAY: 1 << 9, opcode.NEWARRAYT: 1 << 9, @@ -200,5 +200,5 @@ var coefficients = map[opcode.Opcode]int64{ opcode.POPITEM: 1 << 4, opcode.ISNULL: 1 << 1, opcode.ISTYPE: 1 << 1, - opcode.CONVERT: 1 << 11, + opcode.CONVERT: 1 << 13, }