Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Sep 19, 2024
1 parent 6dd9c58 commit 10056d2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/ssz/src/type/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
} from "../viewDU/profile";
import {Case} from "../util/strings";
import {BitArray} from "../value/bitArray";
import {getActiveFields, mixInActiveFields, setActiveFields} from "./stableContainer";
import {mixInActiveFields, setActiveFields} from "./stableContainer";
import {zeroHash} from "../util/zeros";
/* eslint-disable @typescript-eslint/member-ordering */

Expand Down
10 changes: 8 additions & 2 deletions packages/ssz/src/type/stableContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ import {
getNode,
zeroNode,
countToDepth,
setNodeH,
getNodeH,
setNode,
setNodeWithFn,
} from "@chainsafe/persistent-merkle-tree";
import {ValueWithCachedPermanentRoot, hash64, maxChunksToDepth, merkleize, splitIntoRootChunks, symbolCachedPermanentRoot} from "../util/merkleize";
import {
ValueWithCachedPermanentRoot,
hash64,
maxChunksToDepth,
merkleize,
splitIntoRootChunks,
symbolCachedPermanentRoot,
} from "../util/merkleize";
import {Require} from "../util/types";
import {namedClass} from "../util/named";
import {Type, ValueOf} from "./abstract";
Expand Down
2 changes: 1 addition & 1 deletion packages/ssz/src/viewDU/stableContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {CompositeType, isCompositeType, CompositeTypeAny} from "../type/composit
import {computeSerdesData, ContainerTypeGeneric} from "../view/stableContainer";
import {TreeViewDU} from "./abstract";
import {OptionalType} from "../type/optional";
import { BitArray } from "../value/bitArray"
import {BitArray} from "../value/bitArray";

/* eslint-disable @typescript-eslint/member-ordering */

Expand Down
2 changes: 1 addition & 1 deletion packages/ssz/test/unit/byType/profile/valid.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BitArray, ProfileType, UintNumberType, hash64} from "../../../../src";
import {BitArray, ProfileType, UintNumberType} from "../../../../src";
import {runTypeTestValid} from "../runTypeTestValid";

// taken from eip spec tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runTypeTestValid({
},
],
});
//
//
runTypeTestValid({
type: Shape2,
defaultValue: {side: null, color: 0, radius: null},
Expand Down

0 comments on commit 10056d2

Please sign in to comment.