test_worst_log_opcodes()¶
Documentation for tests/benchmark/test_worst_opcode.py::test_worst_log_opcodes@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/benchmark/test_worst_opcode.py::test_worst_log_opcodes -m benchmark
Test running a block with as many LOG opcodes as possible.
Source code in tests/benchmark/test_worst_opcode.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
Parametrized Test Cases¶
This test case is only parametrized by fork.
| Test ID (Abbreviated) | fixed_offset | zeros_topic | size | non_zero_data | opcode |
|---|---|---|---|---|---|
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log0 | True | True | 0 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log1 | True | True | 0 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log2 | True | True | 0 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log3 | True | True | 0 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log4 | True | True | 0 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log0 | True | True | 1048576 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log1 | True | True | 1048576 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log2 | True | True | 1048576 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log3 | True | True | 1048576 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log4 | True | True | 1048576 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log0 | True | True | 1048576 | True | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log1 | True | True | 1048576 | True | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log2 | True | True | 1048576 | True | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log3 | True | True | 1048576 | True | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log4 | True | True | 1048576 | True | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log0 | True | False | 0 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log1 | True | False | 0 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log2 | True | False | 0 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log3 | True | False | 0 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log4 | True | False | 0 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log0 | True | False | 1048576 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log1 | True | False | 1048576 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log2 | True | False | 1048576 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log3 | True | False | 1048576 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log4 | True | False | 1048576 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log0 | True | False | 1048576 | True | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log1 | True | False | 1048576 | True | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log2 | True | False | 1048576 | True | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log3 | True | False | 1048576 | True | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log4 | True | False | 1048576 | True | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log0 | False | True | 0 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log1 | False | True | 0 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log2 | False | True | 0 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log3 | False | True | 0 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log4 | False | True | 0 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log0 | False | True | 1048576 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log1 | False | True | 1048576 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log2 | False | True | 1048576 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log3 | False | True | 1048576 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log4 | False | True | 1048576 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log0 | False | True | 1048576 | True | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log1 | False | True | 1048576 | True | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log2 | False | True | 1048576 | True | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log3 | False | True | 1048576 | True | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log4 | False | True | 1048576 | True | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log0 | False | False | 0 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log1 | False | False | 0 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log2 | False | False | 0 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log3 | False | False | 0 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log4 | False | False | 0 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log0 | False | False | 1048576 | False | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log1 | False | False | 1048576 | False | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log2 | False | False | 1048576 | False | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log3 | False | False | 1048576 | False | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log4 | False | False | 1048576 | False | LOG4 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log0 | False | False | 1048576 | True | LOG0 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log1 | False | False | 1048576 | True | LOG1 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log2 | False | False | 1048576 | True | LOG2 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log3 | False | False | 1048576 | True | LOG3 |
| ...fork_Prague-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log4 | False | False | 1048576 | True | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log0 | True | True | 0 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log1 | True | True | 0 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log2 | True | True | 0 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log3 | True | True | 0 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-0_bytes_data-log4 | True | True | 0 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log0 | True | True | 1048576 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log1 | True | True | 1048576 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log2 | True | True | 1048576 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log3 | True | True | 1048576 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_zeros_data-log4 | True | True | 1048576 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log0 | True | True | 1048576 | True | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log1 | True | True | 1048576 | True | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log2 | True | True | 1048576 | True | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log3 | True | True | 1048576 | True | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-zeros_topic-1_MiB_non_zero_data-log4 | True | True | 1048576 | True | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log0 | True | False | 0 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log1 | True | False | 0 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log2 | True | False | 0 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log3 | True | False | 0 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-0_bytes_data-log4 | True | False | 0 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log0 | True | False | 1048576 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log1 | True | False | 1048576 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log2 | True | False | 1048576 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log3 | True | False | 1048576 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_zeros_data-log4 | True | False | 1048576 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log0 | True | False | 1048576 | True | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log1 | True | False | 1048576 | True | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log2 | True | False | 1048576 | True | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log3 | True | False | 1048576 | True | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_True-non_zero_topic-1_MiB_non_zero_data-log4 | True | False | 1048576 | True | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log0 | False | True | 0 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log1 | False | True | 0 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log2 | False | True | 0 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log3 | False | True | 0 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-0_bytes_data-log4 | False | True | 0 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log0 | False | True | 1048576 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log1 | False | True | 1048576 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log2 | False | True | 1048576 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log3 | False | True | 1048576 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_zeros_data-log4 | False | True | 1048576 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log0 | False | True | 1048576 | True | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log1 | False | True | 1048576 | True | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log2 | False | True | 1048576 | True | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log3 | False | True | 1048576 | True | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-zeros_topic-1_MiB_non_zero_data-log4 | False | True | 1048576 | True | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log0 | False | False | 0 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log1 | False | False | 0 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log2 | False | False | 0 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log3 | False | False | 0 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-0_bytes_data-log4 | False | False | 0 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log0 | False | False | 1048576 | False | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log1 | False | False | 1048576 | False | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log2 | False | False | 1048576 | False | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log3 | False | False | 1048576 | False | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_zeros_data-log4 | False | False | 1048576 | False | LOG4 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log0 | False | False | 1048576 | True | LOG0 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log1 | False | False | 1048576 | True | LOG1 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log2 | False | False | 1048576 | True | LOG2 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log3 | False | False | 1048576 | True | LOG3 |
| ...fork_Osaka-blockchain_test-fixed_offset_False-non_zero_topic-1_MiB_non_zero_data-log4 | False | False | 1048576 | True | LOG4 |