fix(dioxide): coordinate concurrent ISNs across plugins and Python callers - #6
Draft
fengjy73 wants to merge 16 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与范围
Dioxide
tx.compose不预留 ISN。diox04/diox11 共用签名账户,而 Relayer 无序消息按不同会话并发提交,插件对象锁不能保护跨插件/跨进程账户。只读并发探测中四次 compose 均返回 181,账户 ISN 未变化。修复
bridge_tx_account/bridge_tx_submission,网络实例 + 有效 sender/delegatee 账户协调;数据库不可用时 fail closed。已完成验证
发布与实链验收
已部署新 Relayer、Plugin Server、两个插件、Python 模块及 Runner adapters,独立表和 root-only 配置生效,旧包已备份。
验收不向真实业务应用注入数据。Dioxide 本身仅支持原生 SDP V1;V2/V3 在已有支持链路回归,不能伪造 Dioxide V2/V3 通过。
运维说明:
acb-sdk/tools/dioxide-tx-coordinator/README.md。回滚必须保留协调表与未决签名记录,不得回退 ISN。配套 crosschain PR #3;无监管专属代码的通用 upstream PR #83。所有历史失败 UCP 均保持原样。
最终补充:新版Ethereum采集同块普通/监管各2条全部成功,PTC100%;监管四阶段完整,独立FISCO SDK确认目标正文各一次。最终协调库229个唯一ISN(181–409)全部FINALIZED。本次文档提交不替换已验收的ISN运行包。