mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-30 11:24:31 +00:00
Gloas alpha spec 9 (#9393)
Changes implemented Ensure bids are for a higher slot than their parent (https://github.com/ethereum/consensus-specs/pull/5302) Ignore PTC attestations for empty assigned slots (https://github.com/ethereum/consensus-specs/pull/5281) Limit should_build_on_full checks to the previous slot (https://github.com/ethereum/consensus-specs/pull/5309) Apply proposer boost if dependent roots match (https://github.com/ethereum/consensus-specs/pull/5306) Exclude slashed validators from proposing (EIP-8045) (https://github.com/ethereum/consensus-specs/pull/5115) Force the proposer to reorg late payloads (https://github.com/ethereum/consensus-specs/pull/5210) Remove support for old deposit mechanism in Fulu (https://github.com/ethereum/consensus-specs/pull/4704) Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu> Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com> Co-Authored-By: Eitan Seri-Levi <eserilev@gmail.com> Co-Authored-By: Michael Sproul <michael@sigmaprime.io> Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
This commit is contained in:
@@ -708,14 +708,18 @@ mod ssz_static {
|
||||
|
||||
#[test]
|
||||
fn blob_sidecar() {
|
||||
SszStaticHandler::<BlobSidecar<MinimalEthSpec>, MinimalEthSpec>::deneb_and_later().run();
|
||||
SszStaticHandler::<BlobSidecar<MainnetEthSpec>, MainnetEthSpec>::deneb_and_later().run();
|
||||
SszStaticHandler::<BlobSidecar<MinimalEthSpec>, MinimalEthSpec>::deneb_only().run();
|
||||
SszStaticHandler::<BlobSidecar<MainnetEthSpec>, MainnetEthSpec>::deneb_only().run();
|
||||
SszStaticHandler::<BlobSidecar<MinimalEthSpec>, MinimalEthSpec>::electra_only().run();
|
||||
SszStaticHandler::<BlobSidecar<MainnetEthSpec>, MainnetEthSpec>::electra_only().run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn blob_identifier() {
|
||||
SszStaticHandler::<BlobIdentifier, MinimalEthSpec>::deneb_and_later().run();
|
||||
SszStaticHandler::<BlobIdentifier, MainnetEthSpec>::deneb_and_later().run();
|
||||
SszStaticHandler::<BlobIdentifier, MinimalEthSpec>::deneb_only().run();
|
||||
SszStaticHandler::<BlobIdentifier, MainnetEthSpec>::deneb_only().run();
|
||||
SszStaticHandler::<BlobIdentifier, MinimalEthSpec>::electra_only().run();
|
||||
SszStaticHandler::<BlobIdentifier, MainnetEthSpec>::electra_only().run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -1025,6 +1029,12 @@ fn fork_choice_get_head() {
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("get_head").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_on_attestation() {
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("on_attestation").run();
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("on_attestation").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_on_block() {
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("on_block").run();
|
||||
@@ -1049,12 +1059,6 @@ fn fork_choice_withholding() {
|
||||
// There is no mainnet variant for this test.
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_should_override_forkchoice_update() {
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("should_override_forkchoice_update").run();
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("should_override_forkchoice_update").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_get_proposer_head() {
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("get_proposer_head").run();
|
||||
|
||||
Reference in New Issue
Block a user