mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-03 17:54:28 +00:00
4db2f082e1
Runs tests against a state at some slot
45 lines
1.3 KiB
YAML
45 lines
1.3 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: 64
|
|
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_skipped_slots: 2
|
|
states:
|
|
- slot: 63
|
|
num_validators: 1003
|
|
# slashed_validators: [11, 12, 13, 14, 42]
|
|
slashed_validators: [13, 42] # This line is incorrect, our implementation isn't processing attester_slashings.
|
|
exited_validators: []
|
|
|