Skip to content

Commit

Permalink
Increase gas price to 3940 to make time spend per gas equal to ecrecover
Browse files Browse the repository at this point in the history
  • Loading branch information
anodar committed Apr 17, 2024
1 parent d9ee1dc commit 35b8b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion params/protocol_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ 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

P256VerifyGas uint64 = 3450 // secp256r1 elliptic curve signature verifier gas price
P256VerifyGas uint64 = 3940 // 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
Expand Down

0 comments on commit 35b8b1f

Please sign in to comment.