From bd1bf710b9a49bfce0166c5662e8a972d1035c62 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Wed, 15 Jan 2025 18:31:05 +0100 Subject: [PATCH] Update the hasher for benchmarks (#437) --- setHasher.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setHasher.mjs b/setHasher.mjs index 24b27a27..cb2888f4 100644 --- a/setHasher.mjs +++ b/setHasher.mjs @@ -1,7 +1,7 @@ // Set the hasher to hashtree // Used to run benchmarks with with visibility into hashtree performance, useful for Lodestar -import {setHasher} from "@chainsafe/persistent-merkle-tree/lib/hasher/index.js"; -import {hasher} from "@chainsafe/persistent-merkle-tree/lib/hasher/hashtree.js"; +import {setHasher} from "@chainsafe/persistent-merkle-tree/lib/cjs/hasher/index.js"; +import {hasher} from "@chainsafe/persistent-merkle-tree/lib/cjs/hasher/hashtree.js"; setHasher(hasher); export {};