Merge pull request #2004 from nspcc-dev/fix-diff-71850

core: add price for CALLT instruction
This commit is contained in:
Roman Khimov 2021-06-07 19:25:02 +03:00 committed by GitHub
commit fd36f2568e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,6 +65,7 @@ var coefficients = map[opcode.Opcode]int64{
opcode.CALL: 1 << 9,
opcode.CALLL: 1 << 9,
opcode.CALLA: 1 << 9,
opcode.CALLT: 1 << 15,
opcode.ABORT: 0,
opcode.ASSERT: 1 << 0,
opcode.THROW: 1 << 9,