test_gas()
¶
Documentation for tests/prague/eip2537_bls_12_381_precompiles/test_bls12_map_fp_to_g1.py::test_gas@0f7c73a7
.
Generate fixtures for these test cases for Prague with:
fill -v tests/prague/eip2537_bls_12_381_precompiles/test_bls12_map_fp_to_g1.py::test_gas --fork Prague
Test the BLS12_MAP_FP_TO_G1 precompile gas requirements.
Source code in tests/prague/eip2537_bls_12_381_precompiles/test_bls12_map_fp_to_g1.py
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | input_data | expected_output | precompile_gas_modifier | precompile_address |
---|---|---|---|---|
...fork_Prague-state_test-extra_gas- | FP(x=0) | PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) | 1 | 16 |
...fork_Prague-state_test-insufficient_gas- | FP(x=0) | -1 | 16 | |
...fork_Prague-blockchain_test_from_state_test-extra_gas- | FP(x=0) | PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) | 1 | 16 |
...fork_Prague-blockchain_test_from_state_test-insufficient_gas- | FP(x=0) | -1 | 16 | |
...fork_Osaka-state_test-extra_gas- | FP(x=0) | PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) | 1 | 16 |
...fork_Osaka-state_test-insufficient_gas- | FP(x=0) | -1 | 16 | |
...fork_Osaka-blockchain_test_from_state_test-extra_gas- | FP(x=0) | PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) | 1 | 16 |
...fork_Osaka-blockchain_test_from_state_test-insufficient_gas- | FP(x=0) | -1 | 16 |