Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Aug 3, 2024
1 parent 0cf6a17 commit fb7b24d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions e2e_tests/order/processing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { UNIT } from '../consts';
import { configureBroker, purchaseRegion, startSales } from '../coretime.common';
import { ismpAddParachain } from '../ismp.common';
import { REGIONX_API_TYPES, REGIONX_CUSTOM_RPC } from '../types';
import { transferRegionToRegionX } from '../xc.common';
import { transferRegionToRegionX } from '../xc-regions.common';

async function run(_nodeName: string, networkInfo: any, _jsArgs: any) {
const { wsUri: regionXUri } = networkInfo.nodesByName['regionx-collator01'];
Expand Down Expand Up @@ -48,15 +48,10 @@ async function run(_nodeName: string, networkInfo: any, _jsArgs: any) {
log('Adding ISMP: ');
await ismpAddParachain(alice, regionXApi);

// Needed for fee payment
// Alice has relay tokens on Coretime chain by default, so no need to send there.
log('Transfering rc token to RegionX:');
await transferRelayAssetToPara(rococoApi, alice, 1005, alice.address, 100n * UNIT);
await transferRelayAssetToPara(rococoApi, alice, 2000, alice.address, 100n * UNIT);

// It takes time to cross-chain transfer assets.
await sleep(10000);

log('Configuring coretime chain:');
await configureBroker(coretimeApi, alice);
log('Starting sales:');
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion e2e_tests/xc-transfer/region-transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { UNIT } from '../consts';
import { configureBroker, purchaseRegion, startSales } from '../coretime.common';
import { ismpAddParachain } from '../ismp.common';
import { REGIONX_API_TYPES, REGIONX_CUSTOM_RPC } from '../types';
import { transferRegionToCoretimeChain, transferRegionToRegionX } from '../xc.common';
import { transferRegionToCoretimeChain, transferRegionToRegionX } from '../xc-regions.common';

async function run(_nodeName: any, networkInfo: any, _jsArgs: any) {
const { wsUri: regionXUri } = networkInfo.nodesByName['regionx-collator01'];
Expand Down
2 changes: 1 addition & 1 deletion zombienet_tests/order/processing.zndsl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Description: Native currency fee payment
Description: Order processing test
Network: ./processing.toml
Creds: config

Expand Down

0 comments on commit fb7b24d

Please sign in to comment.