rwadurian/backend/mpc-system/services
hailin 989364969d fix(service-party-app): 修复 gRPC 响应字段名 snake_case 问题
问题:
- proto-loader 使用 keepCase: true,导致 gRPC 响应字段为 snake_case
- TypeScript 接口使用 camelCase,导致字段不匹配
- joinSession 响应的 session_info.threshold_t 和 threshold_n 无法读取
- 导致 activeKeygenSession.threshold 为 {t: 0, n: 0}
- TSS 进程收到错误的 threshold 参数导致 exit code 1

修复:
- grpc-client.ts 接口改为 snake_case 以匹配 proto 定义
- main.ts 更新为使用 snake_case 字段名
- SessionEvent 处理转换为 camelCase 再传递给 handleSessionStart

Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 12:14:30 -08:00
..
account fix(mpc-system): 修复 co_managed_keygen 参与者 party_index 映射问题 2025-12-29 09:06:13 -08:00
message-router fix(mpc-system): GetSessionStatus 返回实际的 threshold_n 和 threshold_t 2025-12-29 11:59:53 -08:00
server-party fix(server-party): co_managed_keygen 等待所有参与者加入后再开始 keygen 2025-12-29 09:55:52 -08:00
server-party-api fix(context): use parent context instead of Background() to allow proper cancellation 2025-12-06 06:36:34 -08:00
service-party-app fix(service-party-app): 修复 gRPC 响应字段名 snake_case 问题 2025-12-29 12:14:30 -08:00
session-coordinator fix(mpc-system): GetSessionStatus 返回实际的 threshold_n 和 threshold_t 2025-12-29 11:59:53 -08:00
tss-wasm feat(admin-web): 添加 TSS WASM 集成,实现与 Service-Party-App 功能对等 2025-12-29 01:39:43 -08:00