mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
feat(protocol-params): implement new gas repricing to support 100Mgas limit
This commit is contained in:
parent
e5da461f29
commit
7892c7cbf4
1 changed files with 4 additions and 4 deletions
|
|
@ -146,13 +146,13 @@ const (
|
|||
IdentityPerWordGas uint64 = 3 // Per-work price for a data copy operation
|
||||
|
||||
Bn256AddGasByzantium uint64 = 500 // Byzantium gas needed for an elliptic curve addition
|
||||
Bn256AddGasIstanbul uint64 = 150 // Gas needed for an elliptic curve addition
|
||||
Bn256AddGasIstanbul uint64 = 1800 // Gas needed for an elliptic curve addition
|
||||
Bn256ScalarMulGasByzantium uint64 = 40000 // Byzantium gas needed for an elliptic curve scalar multiplication
|
||||
Bn256ScalarMulGasIstanbul uint64 = 6000 // Gas needed for an elliptic curve scalar multiplication
|
||||
Bn256ScalarMulGasIstanbul uint64 = 13000 // Gas needed for an elliptic curve scalar multiplication
|
||||
Bn256PairingBaseGasByzantium uint64 = 100000 // Byzantium base price for an elliptic curve pairing check
|
||||
Bn256PairingBaseGasIstanbul uint64 = 45000 // Base price for an elliptic curve pairing check
|
||||
Bn256PairingBaseGasIstanbul uint64 = 80000 // Base price for an elliptic curve pairing check
|
||||
Bn256PairingPerPointGasByzantium uint64 = 80000 // Byzantium per-point price for an elliptic curve pairing check
|
||||
Bn256PairingPerPointGasIstanbul uint64 = 34000 // Per-point price for an elliptic curve pairing check
|
||||
Bn256PairingPerPointGasIstanbul uint64 = 125000 // Per-point price for an elliptic curve pairing check
|
||||
|
||||
Bls12381G1AddGas uint64 = 375 // Price for BLS12-381 elliptic curve G1 point addition
|
||||
Bls12381G1MulGas uint64 = 12000 // Price for BLS12-381 elliptic curve G1 point scalar multiplication
|
||||
|
|
|
|||
Loading…
Reference in a new issue