core: add prices for TRY* opcodes

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2020-07-29 13:40:53 +03:00
parent 51ae12e4fd
commit c09ea04df3

View file

@ -68,11 +68,11 @@ var prices = map[opcode.Opcode]int64{
opcode.ABORT: 30, opcode.ABORT: 30,
opcode.ASSERT: 30, opcode.ASSERT: 30,
opcode.THROW: 22000, opcode.THROW: 22000,
//opcode.TRY: 100, opcode.TRY: 100,
//opcode.TRY_L: 100, opcode.TRYL: 100,
//opcode.ENDTRY: 100, opcode.ENDTRY: 100,
//opcode.ENDTRY_L: 100, opcode.ENDTRYL: 100,
//opcode.ENDFINALLY: 100, opcode.ENDFINALLY: 100,
opcode.RET: 0, opcode.RET: 0,
opcode.SYSCALL: 0, opcode.SYSCALL: 0,
opcode.DEPTH: 60, opcode.DEPTH: 60,