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 authored and GitHub committed 2023-03-14 23:09:33 +00:00
1 parent e9cac8e065
commit b1a07821e7
4 files changed
+348 -334

No files matched your search

+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)])