Skip to content

Commit

Permalink
fix(mocks): assimilate_storage
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrjman committed Jun 15, 2021
1 parent 620e591 commit ebf5857
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 0 deletions.
Empty file removed xpallets/assets/meta.json
Empty file.
1 change: 1 addition & 0 deletions xpallets/assets/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use frame_support::{parameter_types, sp_io};
use chainx_primitives::AssetId;
pub use xp_protocol::X_BTC;

use crate::mock::sp_api_hidden_includes_construct_runtime::hidden_include::traits::GenesisBuild;
use crate::{self as xpallet_assets, AssetInfo, AssetRestrictions, Chain, Config, Error};

/// The AccountId alias in this test module.
Expand Down
1 change: 1 addition & 0 deletions xpallets/dex/spot/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use xp_protocol::{BTC_DECIMALS, PCX, PCX_DECIMALS, X_BTC, X_DOT};
use xpallet_assets::{AssetInfo, AssetRestrictions, Chain};

use crate::{self as xpallet_dex_spot, *};
use crate::mock::sp_api_hidden_includes_construct_runtime::hidden_include::traits::GenesisBuild;

/// The AccountId alias in this test module.
pub(crate) type AccountId = u64;
Expand Down
1 change: 1 addition & 0 deletions xpallets/gateway/common/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use sp_runtime::{
AccountId32, DispatchError, DispatchResult,
};

use crate::mock::sp_api_hidden_includes_construct_runtime::hidden_include::traits::GenesisBuild;
use chainx_primitives::AssetId;
pub use xp_protocol::{X_BTC, X_ETH};
use xpallet_assets::{AssetRestrictions, BalanceOf, ChainT, WithdrawalLimit};
Expand Down
1 change: 1 addition & 0 deletions xpallets/gateway/records/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub use xp_protocol::{X_BTC, X_ETH};
use xpallet_assets::AssetRestrictions;
use xpallet_assets_registrar::AssetInfo;

use crate::mock::sp_api_hidden_includes_construct_runtime::hidden_include::traits::GenesisBuild;
use crate::{self as xpallet_gateway_records, *};

/// The AccountId alias in this test module.
Expand Down

0 comments on commit ebf5857

Please sign in to comment.