From 90014b3c8f8e2d8e9440cb2be63ae7f0c53f6a1d Mon Sep 17 00:00:00 2001 From: Tuyen Nguyen Date: Fri, 29 Dec 2023 15:03:08 +0700 Subject: [PATCH] chore: fix lint --- packages/state-transition/test/unit/cachedBeaconState.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/state-transition/test/unit/cachedBeaconState.test.ts b/packages/state-transition/test/unit/cachedBeaconState.test.ts index 14341dcb2c51..cd32776d1045 100644 --- a/packages/state-transition/test/unit/cachedBeaconState.test.ts +++ b/packages/state-transition/test/unit/cachedBeaconState.test.ts @@ -133,7 +133,7 @@ describe("CachedBeaconState", () => { const newStateBytes = newCachedState.serialize(); expect(newStateBytes).toEqual(stateBytes); expect(newCachedState.hashTreeRoot()).toEqual(state.hashTreeRoot()); - const shufflingGetter = (shufflingEpoch: Epoch, dependentRoot: RootHex) => { + const shufflingGetter = (shufflingEpoch: Epoch, dependentRoot: RootHex): EpochShuffling | null => { if ( shufflingEpoch === seedState.epochCtx.epoch - 1 && dependentRoot === getShufflingDecisionBlock(seedState, shufflingEpoch)