test_precompile_before_fork()
¶
Documentation for tests/osaka/eip7951_p256verify_precompiles/test_p256verify_before_fork.py::test_precompile_before_fork@0f7c73a7
.
Generate fixtures for these test cases for Prague with:
fill -v tests/osaka/eip7951_p256verify_precompiles/test_p256verify_before_fork.py::test_precompile_before_fork --fork Prague
Test P256VERIFY precompiles before the Osaka hard fork is active.
The call must succeed but the output must be empty.
Source code in tests/osaka/eip7951_p256verify_precompiles/test_p256verify_before_fork.py
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 |
|
Parametrized Test Cases¶
This test case is only parametrized by fork and fixture format.
Test ID (Abbreviated) | expected_output | call_succeeds | precompile_address | input_data |
---|---|---|---|---|
...fork_Prague-state_test--P256VERIFY | True | 256 | bb5a52f42f9c9261ed4361f59422a1e3 0036e7c32b270c8807a419feca605023 2ba3a8be6b94d5ec80a6d9d1190a436e ffe50d85a1eee859b8cc6af9bd5c2e18 4cd60b855d442f5b3c7b11eb6c4e0ae7 525fe710fab9aa7c77a67f79e6fadd76 2927b10512bae3eddcfe467828128bad 2903269919f7086069c8c4df6c732838 c7787964eaac00e5921fb1498a60f460 6766b3d9685001558d1a974e7341513e |
|
...fork_PragueToOsakaAtTime15k-blockchain_test_from_state_test--P256VERIFY | True | 256 | bb5a52f42f9c9261ed4361f59422a1e3 0036e7c32b270c8807a419feca605023 2ba3a8be6b94d5ec80a6d9d1190a436e ffe50d85a1eee859b8cc6af9bd5c2e18 4cd60b855d442f5b3c7b11eb6c4e0ae7 525fe710fab9aa7c77a67f79e6fadd76 2927b10512bae3eddcfe467828128bad 2903269919f7086069c8c4df6c732838 c7787964eaac00e5921fb1498a60f460 6766b3d9685001558d1a974e7341513e |