From 359c3dae414e2503a46f124003c417dded0f51b7 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Thu, 15 Sep 2022 10:10:47 +0100 Subject: [PATCH] Fix latest substrate compatibility check (#653) * Fix weights refs * Update Runtime Call name --- testing/integration-tests/src/frame/contracts.rs | 2 +- testing/integration-tests/src/frame/sudo.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/integration-tests/src/frame/contracts.rs b/testing/integration-tests/src/frame/contracts.rs index 31cc84c0e3..8340bc220e 100644 --- a/testing/integration-tests/src/frame/contracts.rs +++ b/testing/integration-tests/src/frame/contracts.rs @@ -8,7 +8,7 @@ use crate::{ node_runtime::{ self, contracts::events, - runtime_types::frame_support::weights::weight_v2::Weight, + runtime_types::sp_weights::weight_v2::Weight, system, }, test_context, diff --git a/testing/integration-tests/src/frame/sudo.rs b/testing/integration-tests/src/frame/sudo.rs index fd5c91a50e..2ac0a6875f 100644 --- a/testing/integration-tests/src/frame/sudo.rs +++ b/testing/integration-tests/src/frame/sudo.rs @@ -7,7 +7,7 @@ use crate::{ self, runtime_types::{ self, - frame_support::weights::weight_v2::Weight, + sp_weights::weight_v2::Weight, }, sudo, }, @@ -16,7 +16,7 @@ use crate::{ }; use sp_keyring::AccountKeyring; -type Call = runtime_types::kitchensink_runtime::Call; +type Call = runtime_types::kitchensink_runtime::RuntimeCall; type BalancesCall = runtime_types::pallet_balances::pallet::Call; #[tokio::test]