You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let deps:BTreeSet<ObjectID> = self.published_dependencies.clone().into_iter().collect();
167
+
let deps:BTreeSet<ObjectID> = self.dependencies.clone().into_iter().collect();
171
168
for md inself.modules.iter(){
172
169
let md = Self::mock_module(md);
173
170
// deps.extend(
@@ -330,25 +327,31 @@ impl SuiCompiledPackage {
330
327
.published
331
328
.iter()
332
329
.map(|v| *v.1)
330
+
// .chain(modules.iter().map(|v| {
331
+
// v.immediate_dependencies().into_iter().map(|t| (*t.address()).into()) // we comment this because we may add multiple addresses that belongs to the upgraded packages which share the same UpgradeCap.
332
+
// }).flatten())
333
+
.filter(|t| t != &ObjectID::ZERO && t != &root_address)
333
334
.collect::<BTreeSet<ObjectID>>();
334
335
336
+
let published:Vec<ObjectID> = artifacts
337
+
.dependency_ids
338
+
.published
339
+
.values()
340
+
.cloned()
341
+
.collect();
335
342
debug!(
336
-
"Package {} transitively depends on {}",
343
+
"Package {} transitively depends on {}, the publised ids are {}",
0 commit comments