Skip to content

Commit 0d63a47

Browse files
committed
movy integration updates
1 parent aa6173a commit 0d63a47

30 files changed

Lines changed: 1418 additions & 260 deletions

File tree

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ flamegraph.svg
99
target
1010
vault
1111
dataset
12-
.z3-trace
12+
*.zstd
13+
.z3-trace

‎Cargo.lock‎

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,11 @@ petgraph = "0.8"
6161
glob = "0.3.3"
6262
tonic = "0.14"
6363
url = "2.5.7"
64-
knowdit-repo-model = "0.3"
6564

66-
# Sui dependencies
67-
# The fork crates have TWO interchangeable sources. Exactly ONE block must be active.
68-
# (A) git block — DEFAULT. Self-contained: normal/CI builds and `cargo test -p movy-fork-tests`
69-
# run against the pushed wtdcode/sui branch. CI only checks out this repo, so this must stay
70-
# the committed default (the path block below needs ../sui present and would break CI).
71-
# (B) ../sui path block — opt-in for testing the LOCAL ./sui checkout BEFORE pushing an upgrade.
72-
# Comment (A) and uncomment (B) locally, run the gate, then switch back before committing.
73-
# The two blocks list the SAME crates with the SAME features, so toggling never changes behavior.
74-
# See crates/movy-fork-tests/FORK_TESTS.md.
65+
66+
# knowdit-repo-model = { path = "../knowdit/crates/knowdit-repo-model", version = "0.4" }
67+
knowdit-repo-model = "0.6"
68+
7569

7670
# (A) git block — ACTIVE (default):
7771
move-binary-format = {git = "https://github.com/wtdcode/sui", branch = "v1.65.2-fuzz"}

‎crates/movy-analysis/src/export_call_graph.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub fn load_call_graph(package_root: &Path, test_mode: bool) -> Result<CallGraph
3131
let mut pending_calls = BTreeMap::<MoveFunctionKey, BTreeSet<PendingCall>>::new();
3232

3333
for root in &search_roots {
34-
let package = SuiCompiledPackage::build_checked(root, test_mode, false, true)?;
34+
let package = SuiCompiledPackage::build_checked(root, test_mode, false, true, &movy_sui::compile::BuildIsolation::default())?;
3535
for module in package.all_modules_iter() {
3636
if is_sui_std_module(module.address().to_string().as_str()) {
3737
continue;

0 commit comments

Comments
 (0)