diff --git a/scripts/archiver_data_sync_check.ts b/scripts/archiver_data_sync_check.ts index 0d5555a4..704bf35d 100644 --- a/scripts/archiver_data_sync_check.ts +++ b/scripts/archiver_data_sync_check.ts @@ -4,6 +4,7 @@ import { join } from 'path' import { postJson } from '../src/P2P' import { config, overrideDefaultConfig } from '../src/Config' import { ArchiverNodeInfo } from '../src/State' +import { Utils as StringUtils } from '@shardus/types' const configFile = join(process.cwd(), 'archiver-config.json') overrideDefaultConfig(configFile) diff --git a/scripts/create_shut_down_cycle.ts b/scripts/create_shut_down_cycle.ts index ed793ee6..cf575733 100644 --- a/scripts/create_shut_down_cycle.ts +++ b/scripts/create_shut_down_cycle.ts @@ -10,6 +10,7 @@ import * as Logger from '../src/Logger' import { P2P } from '@shardus/types' import { addSigListeners } from '../src/State' import { computeCycleMarker } from '../src/Data/Cycles' +import { Utils as StringUtils } from '@shardus/types' const archiversAtShutdown = [ { diff --git a/scripts/repair_missing_cycle.ts b/scripts/repair_missing_cycle.ts index 43188aea..a35b657d 100644 --- a/scripts/repair_missing_cycle.ts +++ b/scripts/repair_missing_cycle.ts @@ -1,6 +1,5 @@ import { readFileSync } from 'fs' -import { resolve } from 'path' -import { join } from 'path' +import { resolve, join } from 'path' import { overrideDefaultConfig, config } from '../src/Config' import * as Crypto from '../src/Crypto' import * as db from '../src/dbstore/sqlite3storage' @@ -8,6 +7,7 @@ import * as dbstore from '../src/dbstore' import * as CycleDB from '../src/dbstore/cycles' import { startSaving } from '../src/saveConsoleOutput' import * as Logger from '../src/Logger' +import { Utils as StringUtils } from '@shardus/types' const patchCycleData = false diff --git a/scripts/verify_account_hash.ts b/scripts/verify_account_hash.ts index 5eaf8686..edd760d3 100644 --- a/scripts/verify_account_hash.ts +++ b/scripts/verify_account_hash.ts @@ -9,6 +9,7 @@ import { startSaving } from '../src/saveConsoleOutput' import * as Logger from '../src/Logger' import { AccountType, fixAccountUint8Arrays, accountSpecificHash } from '../src/shardeum/calculateAccountHash' import { addSigListeners } from '../src/State' +import { Utils as StringUtils } from '@shardus/types' const updateHash = false const runProgram = async (): Promise => {