Skip to content

Commit

Permalink
[mpm] Fix #3325 (#3347)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar authored Apr 16, 2022
1 parent 6251853 commit 0033d9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vm/move-package-manager/src/compatibility_check_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ pub fn handle_compatibility_check(
let rpc = cmd.rpc.unwrap_or_else(|| {
format!(
"http://{}:{}",
cmd.network.unwrap().boot_nodes_domain(),
cmd.network
.unwrap_or(BuiltinNetworkID::Main)
.boot_nodes_domain(),
9850
)
});
Expand Down Expand Up @@ -70,6 +72,11 @@ pub fn handle_compatibility_check(
.join(","),
&rpc
);
} else {
eprintln!(
"All modules in {} is full compatible with remote chain: {}!",
pkg.compiled_package_info.package_name, &rpc
);
}
Ok(())
}

0 comments on commit 0033d9a

Please sign in to comment.