Skip to content

Commit

Permalink
chore: correctly set ssz hasher in prover cli (#7396)
Browse files Browse the repository at this point in the history
**Motivation**

E2E tests are failing due to this

**Description**

Correctly set ssz hasher in prover CLI
  • Loading branch information
nflaig authored Jan 24, 2025
1 parent 821c319 commit cf23839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/prover/src/cli/applyPreset.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// MUST import this file first before anything and not import any Lodestar code.

import {hasher} from "@chainsafe/persistent-merkle-tree/lib/hasher/as-sha256.js";
import {setHasher} from "@chainsafe/persistent-merkle-tree/lib/hasher/index.js";
import {setHasher} from "@chainsafe/persistent-merkle-tree";
import {hasher} from "@chainsafe/persistent-merkle-tree/hasher/as-sha256";

// without setting this first, persistent-merkle-tree will use noble instead
setHasher(hasher);
Expand Down

0 comments on commit cf23839

Please sign in to comment.