From 106137224a5e975c16a9d185912c7b2e355dc740 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 7 Dec 2025 03:30:26 -0800 Subject: [PATCH] fix(identity-service): add BlockchainEventConsumerService to InfrastructureModule The consumer was not being initialized because it was not registered in the module. --- .../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 659505a5..2b207701 100644 --- a/backend/services/identity-service/src/infrastructure/infrastructure.module.ts +++ b/backend/services/identity-service/src/infrastructure/infrastructure.module.ts @@ -8,6 +8,7 @@ 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 { BlockchainEventConsumerService } from './kafka/blockchain-event-consumer.service'; import { SmsService } from './external/sms/sms.service'; import { BlockchainClientService } from './external/blockchain/blockchain-client.service'; import { MpcClientService, MpcWalletService } from './external/mpc'; @@ -33,6 +34,7 @@ import { MPC_KEY_SHARE_REPOSITORY } from '@/domain/repositories/mpc-key-share.re RedisService, EventPublisherService, MpcEventConsumerService, + BlockchainEventConsumerService, SmsService, // BlockchainClientService 调用 blockchain-service API BlockchainClientService, @@ -50,6 +52,7 @@ import { MPC_KEY_SHARE_REPOSITORY } from '@/domain/repositories/mpc-key-share.re RedisService, EventPublisherService, MpcEventConsumerService, + BlockchainEventConsumerService, SmsService, BlockchainClientService, MpcClientService,