コード例 #1
0
def test_merge_fork_random_misc_balances(spec, phases, state):
    randomize_state(spec, state, rng=Random(6060))
    yield from run_fork_test(phases[MERGE], state)
コード例 #2
0
def test_merge_fork_random_large_validator_set(spec, phases, state):
    randomize_state(spec, state, rng=Random(7070))
    yield from run_fork_test(phases[MERGE], state)
コード例 #3
0
def test_fork_random_large_validator_set(spec, phases, state):
    yield from run_fork_test(phases[MERGE], state)
コード例 #4
0
def test_merge_fork_random_3(spec, phases, state):
    randomize_state(spec, state, rng=Random(4040))
    yield from run_fork_test(phases[MERGE], state)
コード例 #5
0
def test_fork_random_misc_balances(spec, phases, state):
    yield from run_fork_test(phases[MERGE], state)
コード例 #6
0
def test_fork_many_next_epoch(spec, phases, state):
    for _ in range(3):
        next_epoch(spec, state)
    yield from run_fork_test(phases[MERGE], state)
コード例 #7
0
def test_fork_next_epoch_with_block(spec, phases, state):
    next_epoch_via_block(spec, state)
    yield from run_fork_test(phases[MERGE], state)
コード例 #8
0
def test_fork_next_epoch(spec, phases, state):
    next_epoch(spec, state)
    yield from run_fork_test(phases[MERGE], state)
コード例 #9
0
def test_fork_base_state(spec, phases, state):
    yield from run_fork_test(phases[MERGE], state)