core/fee: alter opcode prices

Follow neo-project/neo#2384.
This commit is contained in:
Evgeniy Stratonikov 2021-03-11 15:44:07 +03:00
parent 75ec20b8bd
commit de04411488

View file

@ -179,8 +179,8 @@ var coefficients = map[opcode.Opcode]int64{
opcode.MIN: 1 << 3, opcode.MIN: 1 << 3,
opcode.MAX: 1 << 3, opcode.MAX: 1 << 3,
opcode.WITHIN: 1 << 3, opcode.WITHIN: 1 << 3,
opcode.PACK: 1 << 9, opcode.PACK: 1 << 11,
opcode.UNPACK: 1 << 9, opcode.UNPACK: 1 << 11,
opcode.NEWARRAY0: 1 << 4, opcode.NEWARRAY0: 1 << 4,
opcode.NEWARRAY: 1 << 9, opcode.NEWARRAY: 1 << 9,
opcode.NEWARRAYT: 1 << 9, opcode.NEWARRAYT: 1 << 9,
@ -200,5 +200,5 @@ var coefficients = map[opcode.Opcode]int64{
opcode.POPITEM: 1 << 4, opcode.POPITEM: 1 << 4,
opcode.ISNULL: 1 << 1, opcode.ISNULL: 1 << 1,
opcode.ISTYPE: 1 << 1, opcode.ISTYPE: 1 << 1,
opcode.CONVERT: 1 << 11, opcode.CONVERT: 1 << 13,
} }