From 417f580df8207f3100dacfeda406f5337a6f559f Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 6 Dec 2025 22:15:35 -0800 Subject: [PATCH] fix(identity-service): add MpcEventConsumerService to InfrastructureModule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../src/infrastructure/infrastructure.module.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/services/identity-service/src/infrastructure/infrastructure.module.ts b/backend/services/identity-service/src/infrastructure/infrastructure.module.ts index 7d9fc360..3c5a8cf9 100644 --- a/backend/services/identity-service/src/infrastructure/infrastructure.module.ts +++ b/backend/services/identity-service/src/infrastructure/infrastructure.module.ts @@ -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,