Skip to content

Commit

Permalink
Move trusted setup file out of src
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Nov 26, 2022
1 parent 8d0f1c0 commit 8f18bd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/util/kzg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {loadTrustedSetup, transformTrustedSetupJSON} from "c-kzg";
// Solutions: https://stackoverflow.com/questions/46745014/alternative-for-dirname-in-node-js-when-using-es6-modules
// eslint-disable-next-line @typescript-eslint/naming-convention
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const trustedSetupFilepath = path.join(__dirname, "../trusted_setup.json");
const trustedSetupFilepath = path.join(__dirname, "../../trusted_setup.json");

/**
* Load our KZG trusted setup into C-KZG for later use
Expand Down
File renamed without changes.

0 comments on commit 8f18bd8

Please sign in to comment.