test_consolidation_requests_during_fork()
¶
Documentation for tests/prague/eip7251_consolidations/test_consolidations_during_fork.py::test_consolidation_requests_during_fork@008e492e
.
Generate fixtures for these test cases for Prague with:
fill -v tests/prague/eip7251_consolidations/test_consolidations_during_fork.py::test_consolidation_requests_during_fork --fork Prague
Test making a consolidation request to the beacon chain at the time of the fork.
Source code in tests/prague/eip7251_consolidations/test_consolidations_during_fork.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
|
Parametrized Test Cases¶
This test case is only parametrized by fork.
Test ID (Abbreviated) | timestamp | blocks_consolidation_requests |
---|---|---|
...fork_CancunToPragueAtTime15k-blockchain_test--one_valid_request_second_block_after_fork | 14998 | [[], [ConsolidationRequestTransaction(sender_balance=1000000000000000000, sender_account=None, requests=[ConsolidationRequest(source_address=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', source_pubkey=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01', target_pubkey=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02', fee=1, valid=False, gas_limit=1000000, calldata_modifier= |