Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed May 4, 2024
1 parent bf6307e commit bb28051
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const MAX_ATTESTATIONS_PER_GROUP = 3;
* Note that we want to remove attestations with attesters that were included in the chain.
*/
export class AggregatedAttestationPool {
// per electra, different committees could have the same AttData hash
// per electra, different committees could have the same AttData hex
private readonly attestationGroupByIndexByDataHashBySlot = new MapDef<
Slot,
Map<DataRootHex, Map<CommitteeIndex, MatchingDataAttestationGroup>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function getAttesterSlashingsSignatureSets(
/** Get signature sets from a single AttesterSlashing object */
export function getAttesterSlashingSignatureSets(
state: CachedBeaconStateAllForks,
attesterSlashing: allForks.AttesterSlashing,
attesterSlashing: allForks.AttesterSlashing
): ISignatureSet[] {
return [attesterSlashing.attestation1, attesterSlashing.attestation2].map((attestation) =>
getIndexedAttestationBigintSignatureSet(state, attestation)
Expand Down
4 changes: 2 additions & 2 deletions packages/types/src/electra/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ export type LightClientStore = ValueOf<typeof ssz.LightClientStore>;

export type AggregateAndProof = ValueOf<typeof ssz.AggregateAndProof>;
export type SignedAggregateAndProof = ValueOf<typeof ssz.SignedAggregateAndProof>;
export type AttesterSlashing = ValueOf<typeof ssz.AttesterSlashing>
export type IndexedAttestationBigint = ValueOf<typeof ssz.IndexedAttestationBigint>
export type AttesterSlashing = ValueOf<typeof ssz.AttesterSlashing>;
export type IndexedAttestationBigint = ValueOf<typeof ssz.IndexedAttestationBigint>;

0 comments on commit bb28051

Please sign in to comment.