fix modexp gasCost, GST +6

This commit is contained in:
andri lim 2019-04-24 21:31:05 +07:00
parent 8ecbce6d0c
commit 89402af114
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
3 changed files with 2280 additions and 2286 deletions

File diff suppressed because it is too large Load Diff

View File

@ -640,4 +640,4 @@ const
# The Yellow Paper is special casing the GasQuadDivisor.
# It is defined in Appendix G with the other GasFeeKind constants
# instead of Appendix E for precompiled contracts
GasQuadDivisor* = 100
GasQuadDivisor* = 20

View File

@ -33,17 +33,12 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"modexp_3_09984_39936_25000.json",
"modexp_3_5_100_22000.json",
"modexp_37120_37111_1_1000000.json",
"modexp_49_2401_2401_22000.json",
"modexp_3_5_100_35000.json",
"modexp_3_5_100_1000000.json",
"modexp_3_09984_39936_1000000.json",
"modexp_49_2401_2401_1000000.json",
"modexp_3_28948_11579_20500.json",
"modexp_49_2401_2401_155000.json",
"modexp_55190_55190_42965_25000.json",
"modexp_3_09984_39936_35000.json",
"modexp_49_2401_2401_20500.json",
"modexp_49_2401_2401_25000.json",
"modexp_3_09984_39936_22000.json",
"modexp_55190_55190_42965_155000.json",
"modexp_55190_55190_42965_1000000.json",
@ -57,7 +52,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
"modexp_modsize0_returndatasize.json",
"modexp_37120_37111_37111_1000000.json",
"modexp_39936_1_55201_155000.json",
"modexp_49_2401_2401_35000.json",
"ecpairing_perturb_g2_by_field_modulus_again.json",
"ecpairing_perturb_zeropoint_by_field_modulus.json",