test_invalid_length_pairing()Test the BLS12_PAIRING precompile, by expecting the call to fail for all possible input
Back to test_invalid_length_pairing().
| Test ID (Abbreviated) | precompile_address | tx_gas_limit | expected_output | precompile_gas_list | precompile_data_length_list |
|---|---|---|---|---|---|
| ...fork_Prague-state_test-precompile_address_15---zero_length | 15 | 100000000 | [70300] | [0] | |
| ...fork_Prague-state_test-precompile_address_15---input_too_short | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [383, 767, 1151, 1535, 1919, 2303, 2687, 3071, 3455, 3839, 4223, 4607, 4991, 5375, 5759, 6143, 6527, 6911, 7295, 7679] | |
| ...fork_Prague-state_test-precompile_address_15---input_too_long | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [385, 769, 1153, 1537, 1921, 2305, 2689, 3073, 3457, 3841, 4225, 4609, 4993, 5377, 5761, 6145, 6529, 6913, 7297, 7681] | |
| ...fork_Prague-blockchain_test_from_state_test-precompile_address_15---zero_length | 15 | 100000000 | [70300] | [0] | |
| ...fork_Prague-blockchain_test_from_state_test-precompile_address_15---input_too_short | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [383, 767, 1151, 1535, 1919, 2303, 2687, 3071, 3455, 3839, 4223, 4607, 4991, 5375, 5759, 6143, 6527, 6911, 7295, 7679] | |
| ...fork_Prague-blockchain_test_from_state_test-precompile_address_15---input_too_long | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [385, 769, 1153, 1537, 1921, 2305, 2689, 3073, 3457, 3841, 4225, 4609, 4993, 5377, 5761, 6145, 6529, 6913, 7297, 7681] | |
| ...fork_Osaka-state_test-precompile_address_15---zero_length | 15 | 100000000 | [70300] | [0] | |
| ...fork_Osaka-state_test-precompile_address_15---input_too_short | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [383, 767, 1151, 1535, 1919, 2303, 2687, 3071, 3455, 3839, 4223, 4607, 4991, 5375, 5759, 6143, 6527, 6911, 7295, 7679] | |
| ...fork_Osaka-state_test-precompile_address_15---input_too_long | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [385, 769, 1153, 1537, 1921, 2305, 2689, 3073, 3457, 3841, 4225, 4609, 4993, 5377, 5761, 6145, 6529, 6913, 7297, 7681] | |
| ...fork_Osaka-blockchain_test_from_state_test-precompile_address_15---zero_length | 15 | 100000000 | [70300] | [0] | |
| ...fork_Osaka-blockchain_test_from_state_test-precompile_address_15---input_too_short | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [383, 767, 1151, 1535, 1919, 2303, 2687, 3071, 3455, 3839, 4223, 4607, 4991, 5375, 5759, 6143, 6527, 6911, 7295, 7679] | |
| ...fork_Osaka-blockchain_test_from_state_test-precompile_address_15---input_too_long | 15 | 100000000 | [70300, 102900, 135500, 168100, 200700, 233300, 265900, 298500, 331100, 363700, 396300, 428900, 461500, 494100, 526700, 559300, 591900, 624500, 657100, 689700] | [385, 769, 1153, 1537, 1921, 2305, 2689, 3073, 3457, 3841, 4225, 4609, 4993, 5377, 5761, 6145, 6529, 6913, 7297, 7681] |