Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
chore: import cleanup (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay authored Feb 1, 2023
1 parent 58f1199 commit 7473103
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/smart_contract.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as C from "capi/mod.ts"

import { client } from "capi/frame/zombienet/examples/smart_contract/zombienet.toml/collator01/@v0.9.360/mod.ts"
import { client } from "zombienet/examples/smart_contract/zombienet.toml/collator01/@v0.9.360/mod.ts"

const salt = Uint8Array.from(Array.from([0, 0, 0, 0]), () => Math.floor(Math.random() * 16))

Expand Down
4 changes: 2 additions & 2 deletions examples/xcm_teleport_assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import {
extrinsic,
types,
XcmPallet,
} from "capi/frame/zombienet/examples/xcm_teleport_assets.toml/alice/@v0.9.36/mod.ts"
} from "zombienet/examples/xcm_teleport_assets.toml/alice/@v0.9.36/mod.ts"
import {
client as parachainClient,
System,
} from "capi/frame/zombienet/examples/xcm_teleport_assets.toml/collator01/@v0.9.360/mod.ts"
} from "zombienet/examples/xcm_teleport_assets.toml/collator01/@v0.9.360/mod.ts"

const {
VersionedMultiAssets,
Expand Down
5 changes: 3 additions & 2 deletions import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"westend_dev/": "http://localhost:4646/frame/dev/westend/@v0.9.36/",
"rococo/": "http://localhost:4646/frame/wss/rococo-contracts-rpc.polkadot.io/@v0.9.360/",
"rococo_contracts/": "http://localhost:4646/frame/wss/rococo-contracts-rpc.polkadot.io/@v0.9.360/",
"rococo_dev": "http://localhost:4646/frame/dev/rococo/@v0.9.36/",
"rococo_dev/": "http://localhost:4646/frame/dev/rococo/@v0.9.36/",
"acala/": "http://localhost:4646/frame/wss/acala-polkadot.api.onfinality.io/public-ws/@v2.12.0/",
"moonbeam/": "http://localhost:4646/frame/wss/wss.api.moonbeam.network/@v0.28.1/",
"statemint/": "http://localhost:4646/frame/wss/statemint-rpc.polkadot.io/@v0.9.36/",
Expand All @@ -17,7 +17,8 @@
},
"scopes": {
"examples/": {
"capi/": "http://localhost:4646/"
"capi/mod.ts": "http://localhost:4646/mod.ts",
"zombienet/": "http://localhost:4646/frame/zombienet/"
}
}
}

0 comments on commit 7473103

Please sign in to comment.