Skip to content

Commit

Permalink
fix(configuration-generator): create genesis block script (#484)
Browse files Browse the repository at this point in the history
* fix create genesis block script

* Empty commit

---------

Co-authored-by: sebastijankuzner <[email protected]>
  • Loading branch information
oXtxNt9U and sebastijankuzner authored Mar 15, 2024
1 parent 8f8264f commit efe16ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/configuration-generator/bin/create-genesis-block.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const envPaths = require("env-paths");
const { join } = require("path");
const { makeApplication } = require("../distribution/application-factory");
const { Identifiers } = require("../distribution/identifiers");
import envPaths from "env-paths";
import path from "path";
import { makeApplication } from "../distribution/application-factory.js";
import { Identifiers } from "../distribution/identifiers.js";

async function run() {
const paths = envPaths("ark", { suffix: "core" });
const configCore = join(paths.config, "testnet");
const paths = envPaths("mainsail", { suffix: "core" });
const configCore = path.join(paths.config, "testnet");
console.log(paths, configCore);

const flags = {
Expand Down

0 comments on commit efe16ce

Please sign in to comment.