fix(identity-service): add MpcEventConsumerService to InfrastructureModule

Add missing MpcEventConsumerService provider to fix NestJS dependency injection error.
MpcClientService requires MpcEventConsumerService but it was not registered in the module.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-06 22:15:35 -08:00
parent 10e4fa4a5f
commit 417f580df8
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import { MpcKeyShareRepositoryImpl } from './persistence/repositories/mpc-key-sh
import { UserAccountMapper } from './persistence/mappers/user-account.mapper';
import { RedisService } from './redis/redis.service';
import { EventPublisherService } from './kafka/event-publisher.service';
import { MpcEventConsumerService } from './kafka/mpc-event-consumer.service';
import { SmsService } from './external/sms/sms.service';
import { WalletGeneratorServiceImpl } from './external/blockchain/wallet-generator.service.impl';
import { BlockchainQueryService } from './external/blockchain/blockchain-query.service';
@ -32,6 +33,7 @@ import { WalletGeneratorService } from '@/domain/services/wallet-generator.servi
UserAccountMapper,
RedisService,
EventPublisherService,
MpcEventConsumerService,
SmsService,
// WalletGeneratorService 抽象类由 WalletGeneratorServiceImpl 实现
WalletGeneratorServiceImpl,
@ -55,6 +57,7 @@ import { WalletGeneratorService } from '@/domain/services/wallet-generator.servi
UserAccountMapper,
RedisService,
EventPublisherService,
MpcEventConsumerService,
SmsService,
WalletGeneratorServiceImpl,
WalletGeneratorService,