Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Segfaultd committed Feb 14, 2024
1 parent e5f5e74 commit fd90380
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
2 changes: 1 addition & 1 deletion src/async/consumers/block.consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MsgMultiSend } from '@lum-network/sdk-javascript/build/codegen/cosmos/b

import { BlockEntity, TransactionEntity } from '@app/database';
import { BlockService, ChainService, TransactionService, ValidatorService } from '@app/services';
import { LumChain } from "@app/services/chains";
import { LumChain } from '@app/services/chains';
import { AssetSymbol, getAddressesRelatedToTransaction, isBeam, NotificationChannels, NotificationEvents, QueueJobs, QueuePriority, Queues } from '@app/utils';

@Processor(Queues.BLOCKS)
Expand Down
2 changes: 1 addition & 1 deletion src/async/schedulers/metric.scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class MetricScheduler {
offset: BigInt(0),
reverse: false,
countTotal: false,
})
}),
});

// Increase the given state
Expand Down
16 changes: 1 addition & 15 deletions src/modules/cli.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,7 @@ import { AsyncQueues } from '@app/async';
TypeOrmModule.forRootAsync(DatabaseConfig),
TypeOrmModule.forFeature(DatabaseFeatures),
],
providers: [
ChainService,
BeamService,
BlockService,
MarketService,
StatService,
ProposalService,
TransactionService,
ValidatorService,
ValidatorDelegationService,
BlocksCommands,
RedisCommands,
TransactionsCommands,
ValidatorsCommands,
],
providers: [ChainService, BeamService, BlockService, MarketService, StatService, ProposalService, TransactionService, ValidatorService, ValidatorDelegationService, BlocksCommands, RedisCommands, TransactionsCommands, ValidatorsCommands],
})
export class CliModule implements OnModuleInit {
constructor(private readonly _chainService: ChainService) {}
Expand Down
14 changes: 1 addition & 13 deletions src/modules/sync-consumer.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,7 @@ import * as parseRedisUrl from 'parse-redis-url-simple';

import { AsyncQueues, BeamConsumer, BlockConsumer, MillionsDepositConsumer, NotificationConsumer } from '@app/async';

import {
BeamService,
BlockService,
ChainService,
MarketService,
MillionsDepositService,
ProposalDepositService,
ProposalService,
ProposalVoteService,
TransactionService,
ValidatorDelegationService,
ValidatorService,
} from '@app/services';
import { BeamService, BlockService, ChainService, MarketService, MillionsDepositService, ProposalDepositService, ProposalService, ProposalVoteService, TransactionService, ValidatorDelegationService, ValidatorService } from '@app/services';
import { ConfigMap, SentryModuleOptions } from '@app/utils';
import { DatabaseConfig, DatabaseFeatures } from '@app/database';

Expand Down

0 comments on commit fd90380

Please sign in to comment.