difftreelog
Add DESTINATION_SPEC_VERSION
in: master
1 file changed
tests/src/util/frankenstein.tsdiffbeforeafterboth34const NEW_RELAY_WASM = process.env.NEW_RELAY_WASM;34const NEW_RELAY_WASM = process.env.NEW_RELAY_WASM;35const NEW_PARA_BIN = process.env.NEW_PARA_BIN;35const NEW_PARA_BIN = process.env.NEW_PARA_BIN;36const NEW_PARA_WASM = process.env.NEW_PARA_WASM;36const NEW_PARA_WASM = process.env.NEW_PARA_WASM;37const DESTINATION_SPEC_VERSION = process.env.DESTINATION_SPEC_VERSION!;37const PARACHAIN_BLOCK_TIME = 12_000;38const PARACHAIN_BLOCK_TIME = 12_000;38const SUPERUSER_KEY = '//Alice';39const SUPERUSER_KEY = '//Alice';3940248 await waitWithTimer(relayInfo.epochTime);249 await waitWithTimer(relayInfo.epochTime);249 }250 }250251251 const migration = migrations[process.env.DESTINATION_SPEC_VERSION!];252 const migration = migrations[DESTINATION_SPEC_VERSION];252 console.log('⭐️⭐️⭐️ DESTINATION_SPEC_VERSION ⭐️⭐️⭐️', process.env.DESTINATION_SPEC_VERSION!);253 console.log('⭐️⭐️⭐️ DESTINATION_SPEC_VERSION ⭐️⭐️⭐️', DESTINATION_SPEC_VERSION);253 for(const paraId in network.paras) {254 for(const paraId in network.paras) {254 console.log(`\n--- Upgrading the runtime of parachain ${paraId} \t---`);255 console.log(`\n--- Upgrading the runtime of parachain ${paraId} \t---`);255 const para = network.paras[paraId];256 const para = network.paras[paraId];