diff --git a/runtime/parachains/src/runtime_api_impl/v1.rs b/runtime/parachains/src/runtime_api_impl/v1.rs index 994a720bc590..3c3651746b57 100644 --- a/runtime/parachains/src/runtime_api_impl/v1.rs +++ b/runtime/parachains/src/runtime_api_impl/v1.rs @@ -180,9 +180,8 @@ pub fn availability_cores() -> Vec( ) -> (::BlockNumber, ::Hash) { use parity_scale_codec::Decode as _; - let state_version = >::runtime_version().state_version(); let relay_parent_number = >::block_number(); - let relay_parent_storage_root = T::Hash::decode(&mut &sp_io::storage::root(state_version)[..]) + let relay_parent_storage_root = T::Hash::decode(&mut &sp_io::storage::root()[..]) .expect("storage root must decode to the Hash type; qed"); (relay_parent_number, relay_parent_storage_root) }