rwadurian/backend/mpc-system/services/service-party-app
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
..
electron fix(service-party-app): 修复 gRPC 响应字段名 snake_case 问题 2025-12-29 12:14:30 -08:00
proto fix(service-party-app): 修复 proto 文件打包路径问题 2025-12-28 07:39:55 -08:00
scripts fix(service-party-app): 使用 afterPack hook 确保 TSS 二进制文件被正确打包 2025-12-29 11:14:39 -08:00
src fix(service-party-app): 修复 threshold 为 undefined 导致的崩溃 2025-12-29 11:37:09 -08:00
tss-party fix(co-managed-wallet): 修复向后兼容性问题并完善protobuf定义 2025-12-27 23:33:40 -08:00
.gitignore feat(service-party-app): 添加SQLite存储和Kava区块链集成 2025-12-28 19:45:45 -08:00
build-windows.bat fix(service-party-app): 更新build-windows.bat支持clean选项 2025-12-28 20:17:27 -08:00
electron-builder.json fix(service-party-app): 使用 afterPack hook 确保 TSS 二进制文件被正确打包 2025-12-29 11:14:39 -08:00
index.html feat(service-party-app): 添加签名功能并重命名应用 2025-12-28 08:00:00 -08:00
package-lock.json fix(service-party-app): 添加bech32类型声明和清理脚本 2025-12-28 20:14:17 -08:00
package.json fix(service-party-app): 在 package.json 的 build 配置中添加 afterPack 2025-12-29 11:20:35 -08:00
tsconfig.electron.json fix(service-party-app): 修复 Electron 主进程编译配置 2025-12-28 07:31:26 -08:00
tsconfig.json feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00
tsconfig.node.json feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00
vite.config.ts feat(co-managed-wallet): 添加分布式多方共管钱包创建功能 2025-12-27 21:39:07 -08:00