Chia-Network / clvm_rs

Rust implementation of clvm
Apache License 2.0
67 stars 57 forks source link

adjust the cost of secp256k1_verify upwards by 450k #314

Closed arvidn closed 1 year ago

arvidn commented 1 year ago

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)

coveralls-official[bot] commented 1 year ago

Pull Request Test Coverage Report for Build 5276757095


Totals Coverage Status
Change from base Build 5276652808: 0.0%
Covered Lines: 5092
Relevant Lines: 5479

💛 - Coveralls