1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#[cfg(feature = "try-runtime")]
pub mod try_runtime {
pub fn pre_migrate() -> Result<(), &'static str> {
Ok(())
}
}
#[cfg(feature = "try-runtime")]
pub use try_runtime::*;
// --- darwinia-network ---
#[allow(unused)]
use crate::*;
#[allow(unused)]
pub fn migrate<T, I>()
where
T: Config<I>,
I: 'static,
{
}