git.delta.rocks / unique-network / refs/commits / 6f6269b651ef

difftreelog

refactor(zombienet) additional check for relay upgrade run before waiting

Fahrrader2023-05-03parent: #8b18283.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 && NEW_RELAY_WASM) {
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 }