mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
Add proposer slashing support to test_harness
Test harness will now add signatures to a ProposerSlashing and submit it to the BeaconChain
This commit is contained in:
@@ -19,6 +19,17 @@ test_cases:
|
||||
- slot: 5
|
||||
amount: 32
|
||||
merkle_index: 2
|
||||
proposer_slashings:
|
||||
- slot: 8 # At slot 8, we trigger a proposal slashing occurring
|
||||
proposer_index: 42 # We 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
|
||||
results:
|
||||
num_validators: 1000
|
||||
- config:
|
||||
|
||||
Reference in New Issue
Block a user