mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra
This commit is contained in:
@@ -112,7 +112,10 @@ type_name_generic!(PendingAttestation);
|
|||||||
type_name!(ProposerSlashing);
|
type_name!(ProposerSlashing);
|
||||||
type_name_generic!(SignedAggregateAndProof);
|
type_name_generic!(SignedAggregateAndProof);
|
||||||
type_name_generic!(SignedAggregateAndProofBase, "SignedAggregateAndProofBase");
|
type_name_generic!(SignedAggregateAndProofBase, "SignedAggregateAndProofBase");
|
||||||
type_name_generic!(SignedAggregateAndProofElectra, "SignedAggregateAndProofElectra");
|
type_name_generic!(
|
||||||
|
SignedAggregateAndProofElectra,
|
||||||
|
"SignedAggregateAndProofElectra"
|
||||||
|
);
|
||||||
type_name_generic!(SignedBeaconBlock);
|
type_name_generic!(SignedBeaconBlock);
|
||||||
type_name!(SignedBeaconBlockHeader);
|
type_name!(SignedBeaconBlockHeader);
|
||||||
type_name_generic!(SignedContributionAndProof);
|
type_name_generic!(SignedContributionAndProof);
|
||||||
|
|||||||
@@ -248,20 +248,15 @@ mod ssz_static {
|
|||||||
ssz_static_test!(validator, Validator);
|
ssz_static_test!(validator, Validator);
|
||||||
ssz_static_test!(voluntary_exit, VoluntaryExit);
|
ssz_static_test!(voluntary_exit, VoluntaryExit);
|
||||||
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn signed_aggregate_and_proof() {
|
fn signed_aggregate_and_proof() {
|
||||||
SszStaticHandler::<AttesterSlashingBase<MinimalEthSpec>, MinimalEthSpec>::pre_electra(
|
SszStaticHandler::<AttesterSlashingBase<MinimalEthSpec>, MinimalEthSpec>::pre_electra()
|
||||||
)
|
|
||||||
.run();
|
.run();
|
||||||
SszStaticHandler::<AttesterSlashingBase<MainnetEthSpec>, MainnetEthSpec>::pre_electra(
|
SszStaticHandler::<AttesterSlashingBase<MainnetEthSpec>, MainnetEthSpec>::pre_electra()
|
||||||
)
|
|
||||||
.run();
|
.run();
|
||||||
SszStaticHandler::<AttesterSlashingElectra<MinimalEthSpec>, MinimalEthSpec>::electra_only(
|
SszStaticHandler::<AttesterSlashingElectra<MinimalEthSpec>, MinimalEthSpec>::electra_only()
|
||||||
)
|
|
||||||
.run();
|
.run();
|
||||||
SszStaticHandler::<AttesterSlashingElectra<MainnetEthSpec>, MainnetEthSpec>::electra_only(
|
SszStaticHandler::<AttesterSlashingElectra<MainnetEthSpec>, MainnetEthSpec>::electra_only()
|
||||||
)
|
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user