test_tx_entry_point()¶
Documentation for tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py::test_tx_entry_point@verkle@v0.0.6.
Generate fixtures for these test cases for Cancun with:
Cancun only:
fill -v tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py::test_tx_entry_point --fork=Cancun --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Cancun:
fill -v tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py::test_tx_entry_point --until=Cancun
Test calling the Point Evaluation Precompile directly as transaction entry point, and measure the gas consumption.
- Using
gas_limitwith exact necessary gas, insufficient gas and extra gas. - Using correct and incorrect proofs
Source code in tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py
526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Skipped Parameters
For more concise readability, the table below does not list the following parameter values:
fork, blockchain_test, state_test, state_test_only, eof_test, eof_state_test.
| Test ID | z | y | kzg_commitment | kzg_proof | versioned_hash | proof_correct | call_gas |
|---|---|---|---|---|---|---|---|
| correct_proof-exact_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | True | 50000 |
| correct_proof-extra_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | True | 50001 |
| correct_proof-insufficient_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | True | 49999 |
| incorrect_proof-exact_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 1 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | False | 50000 |
| incorrect_proof-extra_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 1 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | False | 50001 |
| incorrect_proof-insufficient_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 1 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | False | 49999 |
| correct_proof-exact_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | True | 50000 |
| correct_proof-extra_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | True | 50001 |
| correct_proof-insufficient_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | True | 49999 |
| incorrect_proof-exact_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 1 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | False | 50000 |
| incorrect_proof-extra_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 1 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | False | 50001 |
| incorrect_proof-insufficient_gas | 44434237462617176941757081182233388991875531411361848851531703873752436619102 | 1 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None | False | 49999 |