mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-26 01:03:40 +00:00
Electra attestation changes sean review (#5972)
* instantiate empty bitlist in unreachable code * clean up error conversion * fork enabled bool cleanup * remove a couple todos * return bools instead of options in `aggregate` and use the result * delete commented out code * use map macros in simple transformations * remove signers_disjoint_from * get ef tests compiling * get ef tests compiling * update intentionally excluded files
This commit is contained in:
@@ -42,7 +42,9 @@ excluded_paths = [
|
||||
"bls12-381-tests/deserialization_G2",
|
||||
"bls12-381-tests/hash_to_G2",
|
||||
"tests/.*/eip6110",
|
||||
"tests/.*/whisk"
|
||||
"tests/.*/whisk",
|
||||
# TODO(electra): re-enable in https://github.com/sigp/lighthouse/pull/5758
|
||||
"tests/.*/.*/ssz_static/IndexedAttestation"
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ type_name_generic!(AggregateAndProof);
|
||||
type_name_generic!(AggregateAndProofBase, "AggregateAndProof");
|
||||
type_name_generic!(AggregateAndProofElectra, "AggregateAndProof");
|
||||
type_name_generic!(Attestation);
|
||||
type_name_generic!(AttestationBase, "Attestation");
|
||||
type_name_generic!(AttestationElectra, "Attestation");
|
||||
type_name!(AttestationData);
|
||||
type_name_generic!(AttesterSlashing);
|
||||
type_name_generic!(AttesterSlashingBase, "AttesterSlashing");
|
||||
@@ -76,6 +78,8 @@ type_name!(Fork);
|
||||
type_name!(ForkData);
|
||||
type_name_generic!(HistoricalBatch);
|
||||
type_name_generic!(IndexedAttestation);
|
||||
type_name_generic!(IndexedAttestationBase, "IndexedAttestation");
|
||||
type_name_generic!(IndexedAttestationElectra, "IndexedAttestation");
|
||||
type_name_generic!(LightClientBootstrap);
|
||||
type_name_generic!(LightClientBootstrapAltair, "LightClientBootstrap");
|
||||
type_name_generic!(LightClientBootstrapCapella, "LightClientBootstrap");
|
||||
|
||||
@@ -232,7 +232,6 @@ mod ssz_static {
|
||||
ssz_static_test!(fork, Fork);
|
||||
ssz_static_test!(fork_data, ForkData);
|
||||
ssz_static_test!(historical_batch, HistoricalBatch<_>);
|
||||
ssz_static_test!(indexed_attestation, IndexedAttestation<_>);
|
||||
ssz_static_test!(pending_attestation, PendingAttestation<_>);
|
||||
ssz_static_test!(proposer_slashing, ProposerSlashing);
|
||||
ssz_static_test!(
|
||||
|
||||
Reference in New Issue
Block a user