1. seed.ts upsert 的 update 子句移除 balance/targetBurn/remainingBurn, 避免重新部署时将已有池余额清零(导致 BurnConsumer 和 MiningDistributionConsumer 因余额不足崩溃) 2. activateMining 激活前检查 SHARE_POOL_A/B 余额,任一为0则阻止激活 并返回 400 错误提示先通过区块链充值 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| schema.prisma | ||
| seed.ts | ||