test_gas()
¶
Documentation for tests/prague/eip2537_bls_12_381_precompiles/test_bls12_map_fp_to_g1.py::test_gas@83970623
.
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
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
|
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-blockchain_test-extra_gas- | FP(x=0) | PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) | 1 | 16 |
...fork_Prague-blockchain_test-insufficient_gas- | FP(x=0) | -1 | 16 | |
...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_Osaka-blockchain_test-extra_gas- | FP(x=0) | PointG1(x=2718523093224377422680924513836569955862094615601650617640302534610709548675950121390173489943242206205504662709269, y=1411717398097673129936182529224644864953905593399347218631786464447277645552464825136124091127047943658180991656243) | 1 | 16 |
...fork_Osaka-blockchain_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 |