test_valid_inputs()
¶
Documentation for tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py::test_valid_inputs@49a16fac
.
Generate fixtures for these test cases for Prague with:
fill -v tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py::test_valid_inputs --fork Prague
Test valid sanity precompile calls that are expected to succeed.
kzg_commitment
andkzg_proof
are set to values such thatp(z)==0
for all values ofz
, hencey
is tested to be zero, and call to be successful.
Source code in tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 |
|
Parametrized Test Cases¶
This test case is only parametrized by fork and fixture format.
Test ID (Abbreviated) | result | z | y | kzg_commitment | kzg_proof | versioned_hash |
---|---|---|---|---|---|---|
...fork_Cancun-blockchain_test-result_Result.SUCCESS-in_bounds_z | Result.SUCCESS | 52435875175126190479447740508185965837690552500527637822603658699938581184512 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None |
...fork_Cancun-state_test-result_Result.SUCCESS-in_bounds_z | Result.SUCCESS | 52435875175126190479447740508185965837690552500527637822603658699938581184512 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None |
...fork_Prague-blockchain_test-result_Result.SUCCESS-in_bounds_z | Result.SUCCESS | 52435875175126190479447740508185965837690552500527637822603658699938581184512 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None |
...fork_Prague-state_test-result_Result.SUCCESS-in_bounds_z | Result.SUCCESS | 52435875175126190479447740508185965837690552500527637822603658699938581184512 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None |
...fork_Osaka-blockchain_test-result_Result.SUCCESS-in_bounds_z | Result.SUCCESS | 52435875175126190479447740508185965837690552500527637822603658699938581184512 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None |
...fork_Osaka-state_test-result_Result.SUCCESS-in_bounds_z | Result.SUCCESS | 52435875175126190479447740508185965837690552500527637822603658699938581184512 | 0 | c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
c0000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
None |