Fix runtime api import path (#2319)

This syncs the latest changes in Substrate and fixes the import path of the runtime api.
This commit is contained in:
Bastian Köcher
2023-03-15 00:09:33 +01:00
committed by GitHub
parent e9cac8e065
commit b1a07821e7
4 changed files with 348 additions and 334 deletions
+345 -331
View File
File diff suppressed because it is too large Load Diff
@@ -359,7 +359,7 @@ fn test_asset_xcm_trader_not_possible_for_non_sufficient_assets() {
#[test]
fn test_assets_balances_api_works() {
use assets_common::runtime_api::runtime_decl_for_FungiblesApi::FungiblesApi;
use assets_common::runtime_api::runtime_decl_for_fungibles_api::FungiblesApi;
ExtBuilder::<Runtime>::default()
.with_collators(vec![AccountId::from(ALICE)])
@@ -371,7 +371,7 @@ fn test_asset_xcm_trader_not_possible_for_non_sufficient_assets() {
#[test]
fn test_assets_balances_api_works() {
use assets_common::runtime_api::runtime_decl_for_FungiblesApi::FungiblesApi;
use assets_common::runtime_api::runtime_decl_for_fungibles_api::FungiblesApi;
ExtBuilder::<Runtime>::default()
.with_collators(vec![AccountId::from(ALICE)])
@@ -359,7 +359,7 @@ fn test_asset_xcm_trader_not_possible_for_non_sufficient_assets() {
#[test]
fn test_assets_balances_api_works() {
use assets_common::runtime_api::runtime_decl_for_FungiblesApi::FungiblesApi;
use assets_common::runtime_api::runtime_decl_for_fungibles_api::FungiblesApi;
ExtBuilder::<Runtime>::default()
.with_collators(vec![AccountId::from(ALICE)])