Add unit tests to pallet-xcm (#3539)

* init

* reserve transfer asset unit test

* happy path tests for all dispatchables and can teleport assets to self surprisingly enough

* better tests

* minimize mock

* clean

* test send xcm failure when router blocks

* rm numbers to prefer variables

* clean

* test execute with local effects

* rm local env stuff

* copyrights

* fix merge conflict

* appease spellcheck

* fmt

* address review comments

* clean constants

* fmt
This commit is contained in:
Amar Singh
2021-08-03 07:07:30 -04:00
committed by GitHub
parent 24c0d5a51e
commit 90e6d318c7
5 changed files with 432 additions and 1 deletions
+6
View File
@@ -5450,11 +5450,17 @@ dependencies = [
"frame-support",
"frame-system",
"log",
"pallet-balances",
"parity-scale-codec",
"polkadot-parachain",
"polkadot-runtime-parachains",
"serde",
"sp-core",
"sp-io",
"sp-runtime",
"sp-std",
"xcm",
"xcm-builder",
"xcm-executor",
]