@@ -1680,6 +1680,28 @@ def test_worst_modexp(
16801680 id = "p256verify" ,
16811681 marks = [pytest .mark .eip_checklist ("precompile/test/excessive_gas_usage" , eip = [7951 ])],
16821682 ),
1683+ pytest .param (
1684+ p256verify_spec .Spec .P256VERIFY ,
1685+ [
1686+ "235060CAFE19A407880C272BC3E73600E3A12294F56143ED61929C2FF4525ABB" ,
1687+ "182E5CBDF96ACCB859E8EEA1850DE5FF6E430A19D1D9A680ECD5946BBEA8A32B" ,
1688+ "76DDFAE6797FA6777CAAB9FA10E75F52E70A4E6CEB117B3C5B2F445D850BD64C" ,
1689+ "3828736CDFC4C8696008F71999260329AD8B12287846FEDCEDE3BA1205B12729" ,
1690+ "3E5141734E971A8D55015068D9B3666760F4608A49B11F92E500ACEA647978C7" ,
1691+ ],
1692+ id = "p256verify_wrong_endianness" ,
1693+ ),
1694+ pytest .param (
1695+ p256verify_spec .Spec .P256VERIFY ,
1696+ [
1697+ "BB5A52F42F9C9261ED4361F59422A1E30036E7C32B270C8807A419FECA605023" ,
1698+ "000000000000000000000000000000004319055358E8617B0C46353D039CDAAB" ,
1699+ "FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC63254E" ,
1700+ "0AD99500288D466940031D72A9F5445A4D43784640855BF0A69874D2DE5FE103" ,
1701+ "C5011E6EF2C42DCD50D5D3D29F99AE6EBA2C80C9244F4C5422F0979FF0C3BA5E" ,
1702+ ],
1703+ id = "p256verify_modular_comp_x_coordinate_exceeds_n" ,
1704+ ),
16831705 ],
16841706)
16851707def test_worst_precompile_fixed_cost (
0 commit comments