mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
fix mapg2 gas
This commit is contained in:
parent
8bbbee12cf
commit
31b46209a7
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ const (
|
||||||
Bls12381PairingBaseGas uint64 = 78000 // 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 = 51600 // 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 = 17000 // Gas price for BLS12-381 mapping field element to G2 operation
|
||||||
|
|
||||||
// The Refund Quotient is the cap on how much of the used gas can be refunded. Before EIP-3529,
|
// 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
|
// up to half the consumed gas could be refunded. Redefined as 1/5th in EIP-3529
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue