Skip to content

Commit

Permalink
feat: use ListUintNum64Type for lodestar Balances type
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Mar 8, 2024
1 parent 473e552 commit afe6336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ssz/test/lodestarTypes/phase0/sszTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
VectorBasicType,
VectorCompositeType,
} from "../../../src";
import {ListUintNum64Type} from "../../../src/type/listUintNum64";
import {
preset,
MAX_REQUEST_BLOCKS,
Expand Down Expand Up @@ -250,7 +251,7 @@ export const Validator = ValidatorNodeStruct;

// Export as stand-alone for direct tree optimizations
export const Validators = new ListCompositeType(ValidatorNodeStruct, VALIDATOR_REGISTRY_LIMIT);
export const Balances = new ListBasicType(UintNum64, VALIDATOR_REGISTRY_LIMIT);
export const Balances = new ListUintNum64Type(VALIDATOR_REGISTRY_LIMIT);
export const RandaoMixes = new VectorCompositeType(Bytes32, EPOCHS_PER_HISTORICAL_VECTOR);
export const Slashings = new VectorBasicType(Gwei, EPOCHS_PER_SLASHINGS_VECTOR);
export const JustificationBits = new BitVectorType(JUSTIFICATION_BITS_LENGTH);
Expand Down

0 comments on commit afe6336

Please sign in to comment.