git.delta.rocks / unique-network / refs/commits / 666793cdc364

difftreelog

refactor(zombienet) restore check for relay chain upgrade completion before additional waiting

Fahrrader2023-05-03parent: #f6e494a.patch.diff
in: master

1 file changed

modifiedtests/src/util/frankenstein.tsdiffbeforeafterboth
239 }, network.relay[0].wsUri);239 }, network.relay[0].wsUri);
240240
241 // Wait for the next epoch so that the parachains will start cooperating with the relay241 // Wait for the next epoch so that the parachains will start cooperating with the relay
242 //if (relayUpgradeCompleted) {242 if (relayUpgradeCompleted) {
243 console.log('\n🚥 Starting timeout for the next epoch before upgrading the parachains code...');243 console.log('\n🚥 Starting timeout for the next epoch before upgrading the parachains code...');
244 await waitWithTimer(relayInfo.epochTime);244 await waitWithTimer(relayInfo.epochTime);
245 //}245 }
246246
247 for (const paraId in network.paras) {247 for (const paraId in network.paras) {
248 console.log(`\n--- Upgrading the runtime of parachain ${paraId} \t---`);248 console.log(`\n--- Upgrading the runtime of parachain ${paraId} \t---`);