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

Commit

Permalink
Add PayOverXcm and salary pallet integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoaguirre committed Jun 6, 2023
1 parent 8e733d4 commit b0dc210
Show file tree
Hide file tree
Showing 8 changed files with 598 additions and 465 deletions.
387 changes: 204 additions & 183 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions xcm/xcm-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ polkadot-parachain = { path = "../../parachain", default-features = false }
primitive-types = "0.12.1"
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" }
pallet-xcm = { path = "../pallet-xcm" }
pallet-salary = { git = "https://github.com/paritytech/substrate", branch = "master" }
pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "master" }
primitives = { package = "polkadot-primitives", path = "../../primitives" }
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
assert_matches = "1.5.0"
polkadot-test-runtime = { path = "../../runtime/test-runtime" }
Expand Down
2 changes: 0 additions & 2 deletions xcm/xcm-builder/src/tests/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,6 @@ pub fn response(query_id: u64) -> Option<Response> {
})
}

// TODO: Add counter for query ids
// TODO: Add more information in QUERIES
pub struct TestQueryHandler<T, BlockNumber>(core::marker::PhantomData<(T, BlockNumber)>);
impl<T: Config, BlockNumber: sp_runtime::traits::Zero> QueryHandler
for TestQueryHandler<T, BlockNumber>
Expand Down
128 changes: 0 additions & 128 deletions xcm/xcm-builder/src/tests/pay.rs

This file was deleted.

Loading

0 comments on commit b0dc210

Please sign in to comment.