updating pairing prices

This commit is contained in:
Jared Wasinger 2024-12-09 18:51:59 +07:00
parent 38e0fe29f7
commit cfdadee6b1

View file

@ -155,8 +155,8 @@ const (
Bls12381G1MulGas uint64 = 12000 // Price for BLS12-381 elliptic curve G1 point scalar multiplication Bls12381G1MulGas uint64 = 12000 // Price for BLS12-381 elliptic curve G1 point scalar multiplication
Bls12381G2AddGas uint64 = 600 // Price for BLS12-381 elliptic curve G2 point addition Bls12381G2AddGas uint64 = 600 // Price for BLS12-381 elliptic curve G2 point addition
Bls12381G2MulGas uint64 = 22500 // Price for BLS12-381 elliptic curve G2 point scalar multiplication Bls12381G2MulGas uint64 = 22500 // Price for BLS12-381 elliptic curve G2 point scalar multiplication
Bls12381PairingBaseGas uint64 = 65000 // Base gas price for BLS12-381 elliptic curve pairing check Bls12381PairingBaseGas uint64 = 78000 // Base gas price for BLS12-381 elliptic curve pairing check
Bls12381PairingPerPairGas uint64 = 43000 // Per-point pair gas price for BLS12-381 elliptic curve pairing check Bls12381PairingPerPairGas uint64 = 51600 // Per-point pair gas price for BLS12-381 elliptic curve pairing check
Bls12381MapG1Gas uint64 = 4125 // Gas price for BLS12-381 mapping field element to G1 operation Bls12381MapG1Gas uint64 = 4125 // Gas price for BLS12-381 mapping field element to G1 operation
Bls12381MapG2Gas uint64 = 16866 // Gas price for BLS12-381 mapping field element to G2 operation Bls12381MapG2Gas uint64 = 16866 // Gas price for BLS12-381 mapping field element to G2 operation