lighthouse/beacon_node/beacon_chain/test_harness/examples/chain.yaml
2019-03-02 15:28:01 +11:00

39 lines
1.1 KiB
YAML

title: Sample Ethereum Serenity State Transition Tests
summary: Testing full state transition block processing
test_suite: prysm
fork: sapphire
version: 1.0
test_cases:
- config:
epoch_length: 64
deposits_for_chain_start: 1000
num_slots: 65
skip_slots: [2, 3]
deposits:
- slot: 1
amount: 32
merkle_index: 0
- slot: 3
amount: 32
merkle_index: 1
- slot: 5
amount: 32
merkle_index: 2
proposer_slashings:
- slot: 8 # At slot 8, trigger a proposal slashing
proposer_index: 42 # Penalize the validator at position 42
proposal_1_shard: 0
proposal_1_slot: 15
proposal_1_root: !!binary |
LkmqmqoodLKAslkjdkajsdljasdkajlksjdasldjasdd
proposal_2_shard: 0
proposal_2_slot: 15
proposal_2_root: !!binary |
DIFFERENTKAslkjdkajsdljasdkajlksjdasldjasdd
attester_slashings:
# At slot 2, trigger an attester slashing for validators #11 and #12
- slot: 2
validator_indices: [11, 12]
results:
num_validators: 1000