test_eip_6110()
Documentation for tests/prague/eip6110_deposits/test_eip_mainnet.py::test_eip_6110@ffe48572.
Generate fixtures for these test cases for Prague with:
fill -v tests/prague/eip6110_deposits/test_eip_mainnet.py::test_eip_6110 --fork Prague
Test making a deposit to the beacon chain deposit contract.
Source code in tests/prague/eip6110_deposits/test_eip_mainnet.py
| @pytest.mark.parametrize(
"requests",
[
pytest.param(
[
SystemContractInteractionTransaction(
requests=[
DepositRequest(
pubkey=0x01,
withdrawal_credentials=0x02,
amount=1_000_000_000,
signature=0x03,
index=0x0,
)
],
),
],
id="single_deposit_from_eoa_minimum",
),
],
)
def test_eip_6110(
blockchain_test: BlockchainTestFiller,
pre: Alloc,
blocks: List[Block],
) -> None:
"""Test making a deposit to the beacon chain deposit contract."""
blockchain_test(
pre=pre,
post={},
blocks=blocks,
)
|
Parametrized Test Cases
This test generates 1 parametrized test case across 1 fork.