Skip to content

Commit

Permalink
remove unused import of nodelistFromStates
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlbui committed Jun 20, 2024
1 parent 8bd4974 commit 9380ac9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/p2p/Comms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { getStreamWithTypeCheck, requestErrorHandler } from '../types/Helpers'
import { TypeIdentifierEnum } from '../types/enum/TypeIdentifierEnum'
import { InternalError, ResponseError, serializeResponseError } from '../types/ResponseError'
import { Utils } from '@shardus/types'
import { nodelistFromStates } from './Join'

/** ROUTES */

Expand Down
1 change: 0 additions & 1 deletion src/p2p/GlobalAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { getStreamWithTypeCheck, requestErrorHandler } from '../types/Helpers'
import { TypeIdentifierEnum } from '../types/enum/TypeIdentifierEnum'
import { MakeReceiptReq, deserializeMakeReceiptReq, serializeMakeReceiptReq } from '../types/MakeReceipReq'
import { Utils } from '@shardus/types'
import { nodelistFromStates } from './Join'

/** ROUTES */
// [TODO] - need to add validattion of types to the routes
Expand Down
1 change: 0 additions & 1 deletion src/snapshot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import * as partitionGossip from './partition-gossip'
import * as SnapshotFunctions from './snapshotFunctions'
import { getNewestCycle } from '../p2p/Sync'
import { Utils } from '@shardus/types'
import { nodelistFromStates } from '../p2p/Join'

console.log('StateManager', StateManager)
console.log('StateManager type', StateManager.StateManagerTypes)
Expand Down
2 changes: 0 additions & 2 deletions src/snapshot/partition-gossip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import { logFlags } from '../logger'
import { CycleShardData } from '../state-manager/state-manager-types'
import { profilerInstance } from '../utils/profiler'
import { ShardInfo } from '@shardus/types/build/src/state-manager/shardFunctionTypes'
import { nodelistFromStates } from '../p2p/Join'
import { P2P } from '@shardus/types'

/** TYPES */

Expand Down

0 comments on commit 9380ac9

Please sign in to comment.