Skip to content

Commit

Permalink
agent, common: Cleanup old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tilacog committed Jun 30, 2023
1 parent 482e614 commit 13f30eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/indexer-agent/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,8 @@ export async function run(
//
// Note: it only lives here and not on yargs.check because we don't have a logger in
// that context
// TODO:L2: This is disabled for debugging, but we should add those in the parsing
// stage.
// --------------------------------------------------------------------------------
// reviewArgumentsForWarnings(argv, logger)
reviewArgumentsForWarnings(argv, logger)

// --------------------------------------------------------------------------------
// * Configure event listeners for unhandled promise rejections and uncaught
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,6 @@ export default {
},
{ graphNode, logger, models, multiNetworks }: IndexerManagementResolverContext,
): Promise<ReallocateAllocationResult> => {
// TODO:L2: Make use of the protocolNetwork argument in method calls (NetworkMonitor, TransactionMonitor, Contracts, etc)
logger = logger.child({
component: 'reallocateAllocationResolver',
})
Expand All @@ -855,6 +854,7 @@ export default {
)
}

// Obtain the Network object and its associated components and data
const network = extractNetwork(protocolNetwork, multiNetworks)
const networkMonitor = network.networkMonitor
const contracts = network.contracts
Expand Down

0 comments on commit 13f30eb

Please sign in to comment.