mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
eip-2537: update pairing check cost
This commit is contained in:
parent
4aad6aea1c
commit
85945c4fd0
2 changed files with 102 additions and 102 deletions
200
core/vm/testdata/precompiles/blsPairing.json
vendored
200
core/vm/testdata/precompiles/blsPairing.json
vendored
File diff suppressed because one or more lines are too long
|
|
@ -156,8 +156,8 @@ const (
|
|||
Bls12381G1MulGas uint64 = 12000 // Price for BLS12-381 elliptic curve G1 point scalar multiplication
|
||||
Bls12381G2AddGas uint64 = 800 // Price for BLS12-381 elliptic curve G2 point addition
|
||||
Bls12381G2MulGas uint64 = 45000 // Price for BLS12-381 elliptic curve G2 point scalar multiplication
|
||||
Bls12381PairingBaseGas uint64 = 65000 // 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
|
||||
Bls12381PairingBaseGas uint64 = 37700 // Base gas price for BLS12-381 elliptic curve pairing check
|
||||
Bls12381PairingPerPairGas uint64 = 32600 // Per-point pair gas price for BLS12-381 elliptic curve pairing check
|
||||
Bls12381MapG1Gas uint64 = 5500 // Gas price for BLS12-381 mapping field element to G1 operation
|
||||
Bls12381MapG2Gas uint64 = 75000 // Gas price for BLS12-381 mapping field element to G2 operation
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue