difftreelog
fix use config.ts for endpoints
in: master
2 files changed
tests/src/migrations/942057-appPromotion/lockedToFreeze.tsdiffbeforeafterboth--- a/tests/src/migrations/942057-appPromotion/lockedToFreeze.ts
+++ b/tests/src/migrations/942057-appPromotion/lockedToFreeze.ts
@@ -4,9 +4,10 @@
import path, {dirname} from 'path';
import {isInteger, parse} from 'lossless-json';
import {fileURLToPath} from 'url';
+import config from '../../config';
-const WS_ENDPOINT = 'ws://localhost:9944';
+const WS_ENDPOINT = config.substrateUrl;
const DONOR_SEED = '//Alice';
const UPDATE_IF_VERSION = 942057;
tests/src/migrations/correctStateAfterMaintenance.tsdiffbeforeafterboth1import config from '../config';1import {usingPlaygrounds} from '../util';2import {usingPlaygrounds} from '../util';2334455const WS_ENDPOINT = 'ws://127.0.0.1:9944';6const WS_ENDPOINT = config.substrateUrl;6const DONOR_SEED = '//Alice';7const DONOR_SEED = '//Alice';788export const main = async(options: { wsEndpoint: string; donorSeed: string } = {9export const main = async(options: { wsEndpoint: string; donorSeed: string } = {