Skip to content

Commit

Permalink
chore(tests): MAP, MUL & ADD gas pricing cf ethereum/EIPs#9097
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz committed Dec 18, 2024
1 parent 3b6e0cb commit c1efe8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/prague/eip2537_bls_12_381_precompiles/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ class Spec:
MAP_FP2_TO_G2 = 0x13

# Gas constants
G1ADD_GAS = 500
G1ADD_GAS = 375
G1MUL_GAS = 12_000
G2ADD_GAS = 800
G2MUL_GAS = 45_000
G2ADD_GAS = 600
G2MUL_GAS = 22_500
MAP_FP_TO_G1_GAS = 5_500
MAP_FP2_TO_G2_GAS = 75_000
MAP_FP2_TO_G2_GAS = 23_800
PAIRING_BASE_GAS = 37_700
PAIRING_PER_PAIR_GAS = 32_600

Expand Down

0 comments on commit c1efe8a

Please sign in to comment.