test_worst_precompile_only_data_input()
¶
Documentation for tests/zkevm/test_worst_compute.py::test_worst_precompile_only_data_input@64f949d0
.
Generate fixtures for these test cases for Prague with:
fill -v tests/zkevm/test_worst_compute.py::test_worst_precompile_only_data_input --fork Prague
Test running a block with as many precompile calls which have a single data
input.
Source code in tests/zkevm/test_worst_compute.py
420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | address | static_cost | per_word_dynamic_cost | bytes_per_unit_of_work |
---|---|---|---|---|
...fork_Cancun-state_test-SHA2-256 | 2 | 60 | 12 | 64 |
...fork_Cancun-state_test-RIPEMD-160 | 3 | 600 | 120 | 64 |
...fork_Cancun-state_test-IDENTITY | 4 | 15 | 3 | 1 |
...fork_Cancun-blockchain_test_from_state_test-SHA2-256 | 2 | 60 | 12 | 64 |
...fork_Cancun-blockchain_test_from_state_test-RIPEMD-160 | 3 | 600 | 120 | 64 |
...fork_Cancun-blockchain_test_from_state_test-IDENTITY | 4 | 15 | 3 | 1 |
...fork_Prague-state_test-SHA2-256 | 2 | 60 | 12 | 64 |
...fork_Prague-state_test-RIPEMD-160 | 3 | 600 | 120 | 64 |
...fork_Prague-state_test-IDENTITY | 4 | 15 | 3 | 1 |
...fork_Prague-blockchain_test_from_state_test-SHA2-256 | 2 | 60 | 12 | 64 |
...fork_Prague-blockchain_test_from_state_test-RIPEMD-160 | 3 | 600 | 120 | 64 |
...fork_Prague-blockchain_test_from_state_test-IDENTITY | 4 | 15 | 3 | 1 |
...fork_Osaka-state_test-SHA2-256 | 2 | 60 | 12 | 64 |
...fork_Osaka-state_test-RIPEMD-160 | 3 | 600 | 120 | 64 |
...fork_Osaka-state_test-IDENTITY | 4 | 15 | 3 | 1 |
...fork_Osaka-blockchain_test_from_state_test-SHA2-256 | 2 | 60 | 12 | 64 |
...fork_Osaka-blockchain_test_from_state_test-RIPEMD-160 | 3 | 600 | 120 | 64 |
...fork_Osaka-blockchain_test_from_state_test-IDENTITY | 4 | 15 | 3 | 1 |