Since the secp256 operators are implemented using the unknown operators, the opcode determine its cost, and vice versa. In order to alter the cost, this patch also need to alter the opcode.
The new secp256k1_verify opcode is: 0x13d61f00
The new cost of secp256k1_verify is: 1300000 (the cost is fixed, not related to what arguments are passed)
Since the secp256 operators are implemented using the unknown operators, the opcode determine its cost, and vice versa. In order to alter the cost, this patch also need to alter the opcode.
The new
secp256k1_verify
opcode is: 0x13d61f00 The new cost ofsecp256k1_verify
is: 1300000 (the cost is fixed, not related to what arguments are passed)