Skip to content

fix: reuse deployed mock token addresses - #32

Merged
L930861 merged 1 commit into
mainfrom
codex/reuse-mock-token-addresses
Aug 23, 2026
Merged

L930861 merged 1 commit into
mainfrom
codex/reuse-mock-token-addresses

Conversation

@L930861

@L930861 L930861 commented Aug 23, 2026 •

Copy link
Copy Markdown
Collaborator

这个PR 修复区块链版本发布时重复部署 MockUSDC 和 MockBond合约、导致代币地址变化及余额归零的问题。

主要改动:
发布时自动复用已有 MockUSDC 和 MockBond 合约地址。
仅在首次部署或明确重置链时创建新代币合约。
部署前后自动验证代币地址、总供应量及账户余额是否保持一致。
验证失败时停止部署,避免错误地址同步到后端。
Settlemet、Netting 和 LiquidityBuffer 仍按原流程重新部署。

@L930861
L930861 merged commit 8663d04 into main Aug 23, 2026
1 check passed
@L930861
L930861 deleted the codex/reuse-mock-token-addresses branch August 23, 2026 02:18
@github-actions

Copy link
Copy Markdown

🎉🎉🎉 Congratulations on your new release! 🎉🎉🎉

We have created a release draft of the new version, please go to Release to publish it! ✨

@Nero978 Nero978 added the bug Something isn't working label Aug 23, 2026
@Nero978 Nero978 linked an issue Aug 23, 2026 that may be closed by this pull request
@Nero978 Nero978 linked an issue Aug 23, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

请排查下余额,余额不对 Every new Deployment will run the MockUSDC and Mockbond again

2 participants