Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed Apr 29, 2024
1 parent 3624d7f commit 86b230a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions packages/types/src/electra/sszTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,19 @@ import {ssz as bellatrixSsz} from "../bellatrix/index.js";
import {ssz as capellaSsz} from "../capella/index.js";
import {ssz as denebSsz} from "../deneb/index.js";

const {UintNum64, Slot, Root, BLSSignature, UintBn256, Bytes32, BLSPubkey, DepositIndex, UintBn64, ExecutionAddress, ValidatorIndex} =
primitiveSsz;
const {
UintNum64,
Slot,
Root,
BLSSignature,
UintBn256,
Bytes32,
BLSPubkey,
DepositIndex,
UintBn64,
ExecutionAddress,
ValidatorIndex,
} = primitiveSsz;

export const AggregationBits = new BitListType(MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT);

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 @@ -39,5 +39,5 @@ export type Attestation = ValueOf<typeof ssz.Attestation>;
export type IndexedAttestation = ValueOf<typeof ssz.IndexedAttestation>;
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 86b230a

Please sign in to comment.