Skip to content

Commit 172d6b9

Browse files
authored
feat(tests): EIP-4844: add example input to the point evaluation (#1636)
Add real point evaluation precompile input from Mainnet.
1 parent 29dece9 commit 172d6b9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/cancun/eip4844_blobs/test_point_evaluation_precompile.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,16 @@ def post(
274274
"z,y,kzg_commitment,kzg_proof,versioned_hash",
275275
[
276276
pytest.param(Spec.BLS_MODULUS - 1, 0, INF_POINT, INF_POINT, None, id="in_bounds_z"),
277+
pytest.param(
278+
# Example valid input from a Mainnet transaction
279+
# https://etherscan.io/tx/0xcb3dc8f3b14f1cda0c16a619a112102a8ec70dce1b3f1b28272227cf8d5fbb0e
280+
0x019123BCB9D06356701F7BE08B4494625B87A7B02EDC566126FB81F6306E915F,
281+
0x6C2EB1E94C2532935B8465351BA1BD88EABE2B3FA1AADFF7D1CD816E8315BD38,
282+
0xA9546D41993E10DF2A7429B8490394EA9EE62807BAE6F326D1044A51581306F58D4B9DFD5931E044688855280FF3799E,
283+
0xA2EA83D9391E0EE42E0C650ACC7A1F842A7D385189485DDB4FD54ADE3D9FD50D608167DCA6C776AAD4B8AD5C20691BFE,
284+
0x018156B94FE9735E573BAB36DAD05D60FEB720D424CCD20AAF719343C31E4246,
285+
id="mainnet_1",
286+
),
277287
],
278288
)
279289
@pytest.mark.parametrize("result", [Result.SUCCESS])

0 commit comments

Comments
 (0)