Merge pull request #1826 from nspcc-dev/fix/prices

core/fee: alter opcode prices
This commit is contained in:
Roman Khimov 2021-03-11 17:02:21 +03:00 committed by GitHub
commit 72e2d89ba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}