mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-07 03:22:20 +00:00
e59404f463
Removes a lot of the detail from the `proposer_slashings` field -- IMO this is not necessary in the test spec, the details of how a proposer_slashing is created should be held in the program and the spec should only define that one happens.
38 lines
1.1 KiB
YAML
38 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:
|
|
# At slot 2, trigger a proposer slashing for validator #42.
|
|
- slot: 2
|
|
validator_index: 42
|
|
# At slot 8, trigger a proposer slashing for validator #13.
|
|
- slot: 8
|
|
validator_index: 13
|
|
attester_slashings:
|
|
# At slot 2, trigger an attester slashing for validators #11 and #12.
|
|
- slot: 2
|
|
validator_indices: [11, 12]
|
|
# At slot 5, trigger an attester slashing for validator #14.
|
|
- slot: 5
|
|
validator_indices: [14]
|
|
results:
|
|
num_validators: 1000
|