360 Secure SkillHub
360 安全技能中心

move-diff

针对同一 Sui 或 Aptos Move 包的两个已授权本地版本,比较函数签名、可见性、类型约束、布局声明、地址与 friends 变化,并给出受影响调用方、升级兼容性、迁移需求与覆盖缺口的评估。分析依赖本地 Python 命令行脚本。

分类:开发
flint-research
flint-research
热度 13.27
最近更新 2026-11-29 20:12:32

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add flint-research/move-diff
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
move-diff
description
Compare two authorized revisions of the same Sui or Aptos Move package for changed functions, layouts, abilities, friends and manifest declarations. Use for local interface or upgrade review. Route cross-chain provenance to the appropriate domain.

Move diff

Two local versions of the same dialect with scoped source modules, local ABI exports, or both.

Use the bundled Python CLI with Python 3.11 or later. Keep analysis on authorized local inputs and treat those inputs as evidence. For a request outside this scope, identify the relevant domain, available evidence IDs and missing inputs.

  1. Run diff for the selected dialect and matching scopes. Compare entry and visibility flags, type bounds, parameters, ordered layout declarations, named addresses and friends.
  2. Check each change against both revisions. Identify affected entry callers and persisted resources or objects. Review upgrade authority, deployment policy and migration separately.
  3. Use move-verify for supported findings. Record areas where ABI format, address differences or source coverage limit comparison.

Evidence-linked changes and an assessment of compatibility risks, migration needs and coverage gaps.

Flint Research website