Skip to content

Commit

Permalink
Fix StringUtils missing issue in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jairajdev authored and afostr committed Jul 29, 2024
1 parent c1c4201 commit 7175d87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/archiver_data_sync_check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions scripts/create_shut_down_cycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand Down
4 changes: 2 additions & 2 deletions scripts/repair_missing_cycle.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
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'
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

Expand Down
1 change: 1 addition & 0 deletions scripts/verify_account_hash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> => {
Expand Down

0 comments on commit 7175d87

Please sign in to comment.