From d18a2bd0d6442f3c288bf6c4a3ad85aa6990860e Mon Sep 17 00:00:00 2001 From: Matias Volpe Date: Wed, 26 Apr 2023 15:10:46 -0300 Subject: [PATCH] fix: xcm asset teleportation example (#933) --- capi.config.ts | 19 ++++--------------- examples/nfts.eg.ts | 2 +- examples/xcm/asset_teleportation.eg.ts | 2 +- import_map.json | 2 +- 4 files changed, 7 insertions(+), 18 deletions(-) diff --git a/capi.config.ts b/capi.config.ts index 4fd488cf9..095915d02 100644 --- a/capi.config.ts +++ b/capi.config.ts @@ -35,26 +35,15 @@ export const config: Config = { binary: polkadot, chain: "rococo-local", parachains: { - contracts: { - id: 2000, - binary: polkadotParachain, - chain: "contracts-rococo-local", - }, westmint: { - id: 3000, + id: 1000, binary: polkadotParachain, chain: "westmint-local", }, - }, - }, - rococoWestmint: { - binary: polkadot, - chain: "rococo-local", - parachains: { - westmint: { - id: 1000, + contracts: { + id: 2000, binary: polkadotParachain, - chain: "westmint-local", + chain: "contracts-rococo-local", }, }, }, diff --git a/examples/nfts.eg.ts b/examples/nfts.eg.ts index e440dcb40..c92a94aa6 100644 --- a/examples/nfts.eg.ts +++ b/examples/nfts.eg.ts @@ -13,7 +13,7 @@ import { PalletNftsEvent, RuntimeEvent, westmint, -} from "@capi/rococo-westmint/westmint" +} from "@capi/rococo-dev/westmint" import { assertEquals } from "asserts" import { $, createDevUsers, Rune } from "capi" import { DefaultCollectionSetting, DefaultItemSetting } from "capi/patterns/nfts.ts" diff --git a/examples/xcm/asset_teleportation.eg.ts b/examples/xcm/asset_teleportation.eg.ts index 5af83f640..2c64e01e7 100644 --- a/examples/xcm/asset_teleportation.eg.ts +++ b/examples/xcm/asset_teleportation.eg.ts @@ -24,7 +24,7 @@ import { CumulusPalletParachainSystemEvent, RuntimeEvent, westmint, -} from "@capi/rococo-westmint/westmint" +} from "@capi/rococo-dev/westmint" import { assert } from "asserts" import { createDevUsers, Rune } from "capi" import { signature } from "capi/patterns/signature/polkadot.ts" diff --git a/import_map.json b/import_map.json index 93b2941ac..71d8a56a2 100644 --- a/import_map.json +++ b/import_map.json @@ -1,6 +1,6 @@ { "imports": { - "@capi/": "http://localhost:4646/2c655e26fc9ba86a/" + "@capi/": "http://localhost:4646/029d4f2852e1a7d7/" }, "scopes": { "examples/": {