Skip to content

Commit c1efe8a

Browse files
committed
chore(tests): MAP, MUL & ADD gas pricing cf ethereum/EIPs#9097
1 parent 3b6e0cb commit c1efe8a

File tree

1 file changed

+4
-4
lines changed
  • tests/prague/eip2537_bls_12_381_precompiles

1 file changed

+4
-4
lines changed

tests/prague/eip2537_bls_12_381_precompiles/spec.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ class Spec:
133133
MAP_FP2_TO_G2 = 0x13
134134

135135
# Gas constants
136-
G1ADD_GAS = 500
136+
G1ADD_GAS = 375
137137
G1MUL_GAS = 12_000
138-
G2ADD_GAS = 800
139-
G2MUL_GAS = 45_000
138+
G2ADD_GAS = 600
139+
G2MUL_GAS = 22_500
140140
MAP_FP_TO_G1_GAS = 5_500
141-
MAP_FP2_TO_G2_GAS = 75_000
141+
MAP_FP2_TO_G2_GAS = 23_800
142142
PAIRING_BASE_GAS = 37_700
143143
PAIRING_PER_PAIR_GAS = 32_600
144144

0 commit comments

Comments
 (0)