git.delta.rocks / unique-network / refs/commits / e105d72c172c

difftreelog

fix use config.ts for endpoints

Daniel Shiposha2023-10-02parent: #57b7f8c.patch.diff
in: master

2 files changed

modifiedtests/src/migrations/942057-appPromotion/lockedToFreeze.tsdiffbeforeafterboth
4import path, {dirname} from 'path';4import path, {dirname} from 'path';
5import {isInteger, parse} from 'lossless-json';5import {isInteger, parse} from 'lossless-json';
6import {fileURLToPath} from 'url';6import {fileURLToPath} from 'url';
7import config from '../../config';
78
89
9const WS_ENDPOINT = 'ws://localhost:9944';10const WS_ENDPOINT = config.substrateUrl;
10const DONOR_SEED = '//Alice';11const DONOR_SEED = '//Alice';
11const UPDATE_IF_VERSION = 942057;12const UPDATE_IF_VERSION = 942057;
1213
modifiedtests/src/migrations/correctStateAfterMaintenance.tsdiffbeforeafterboth
1import config from '../config';
1import {usingPlaygrounds} from '../util';2import {usingPlaygrounds} from '../util';
23
34
45
5const WS_ENDPOINT = 'ws://127.0.0.1:9944';6const WS_ENDPOINT = config.substrateUrl;
6const DONOR_SEED = '//Alice';7const DONOR_SEED = '//Alice';
78
8export const main = async(options: { wsEndpoint: string; donorSeed: string } = {9export const main = async(options: { wsEndpoint: string; donorSeed: string } = {