rwadurian/backend/mpc-system/services/service-party-app/electron
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
..
modules fix(service-party-app): 修复 gRPC 响应字段名 snake_case 问题 2025-12-29 12:14:30 -08:00
types fix(service-party-app): 添加bech32类型声明和清理脚本 2025-12-28 20:14:17 -08:00
main.ts fix(service-party-app): 修复 gRPC 响应字段名 snake_case 问题 2025-12-29 12:14:30 -08:00
preload.ts feat(mpc-system): 完善 co_managed_keygen 流程并添加调试控制台 2025-12-29 05:32:40 -08:00