mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
Update EF tests to spec v1.5.0-beta.2 (#6958)
Update spec tests for recent v1.5.0-beta.2 release. There are no substantial changes for Electra and earlier, and the Fulu test updates to be made are tracked here: - https://github.com/sigp/lighthouse/issues/6957 - Add `SingleAttestation` SSZ tests - Add new `deposit_with_reorg` fork choice tests - Update tag to v1.5.0-beta.2 - Ignore Fulu tests
This commit is contained in:
@@ -282,6 +282,12 @@ mod ssz_static {
|
||||
.run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn single_attestation() {
|
||||
SszStaticHandler::<SingleAttestation, MinimalEthSpec>::electra_and_later().run();
|
||||
SszStaticHandler::<SingleAttestation, MainnetEthSpec>::electra_and_later().run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn attester_slashing() {
|
||||
SszStaticHandler::<AttesterSlashingBase<MinimalEthSpec>, MinimalEthSpec>::pre_electra()
|
||||
@@ -880,6 +886,12 @@ fn fork_choice_get_proposer_head() {
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("get_proposer_head").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_deposit_with_reorg() {
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("deposit_with_reorg").run();
|
||||
// There is no mainnet variant for this test.
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn optimistic_sync() {
|
||||
OptimisticSyncHandler::<MinimalEthSpec>::default().run();
|
||||
|
||||
Reference in New Issue
Block a user