params: add new precompiled gas price

pull/27540/head
Ulaş Erdoğan 2 years ago
parent a8c0a2e05c
commit c0554c0764
  1. 2
      params/protocol_params.go

@ -155,6 +155,8 @@ const (
Bls12381MapG1Gas uint64 = 5500 // Gas price for BLS12-381 mapping field element to G1 operation
Bls12381MapG2Gas uint64 = 110000 // Gas price for BLS12-381 mapping field element to G2 operation
EcverifyGas uint64 = 3450 // secp256r1 elliptic curve signature verifier gas price
// The Refund Quotient is the cap on how much of the used gas can be refunded. Before EIP-3529,
// up to half the consumed gas could be refunded. Redefined as 1/5th in EIP-3529
RefundQuotient uint64 = 2

Loading…
Cancel
Save