difftreelog
feat move sapphire to quartz
in: master
5 files changed
node/cli/Cargo.tomldiffbeforeafterboth340 'opal-runtime?/try-runtime',340 'opal-runtime?/try-runtime',341 'try-runtime-cli/try-runtime',341 'try-runtime-cli/try-runtime',342]342]343sapphire-runtime = ['opal-runtime', 'opal-runtime/become-sapphire']343sapphire-runtime = ['quartz-runtime', 'quartz-runtime/become-sapphire']344pov-estimate = [344pov-estimate = [345 'unique-runtime?/pov-estimate',345 'unique-runtime?/pov-estimate',346 'quartz-runtime?/pov-estimate',346 'quartz-runtime?/pov-estimate',runtime/opal/Cargo.tomldiffbeforeafterboth185 'foreign-assets',185 'foreign-assets',186 'pallet-test-utils',186 'pallet-test-utils',187]187]188become-sapphire = []189pov-estimate = []188pov-estimate = []190189191refungible = []190refungible = []runtime/opal/src/lib.rsdiffbeforeafterboth444445pub use runtime_common::*;45pub use runtime_common::*;464647#[cfg(feature = "become-sapphire")]48pub const RUNTIME_NAME: &str = "sapphire";49#[cfg(feature = "become-sapphire")]50pub const TOKEN_SYMBOL: &str = "QTZ";5152#[cfg(not(feature = "become-sapphire"))]53pub const RUNTIME_NAME: &str = "opal";47pub const RUNTIME_NAME: &str = "opal";54#[cfg(not(feature = "become-sapphire"))]55pub const TOKEN_SYMBOL: &str = "OPL";48pub const TOKEN_SYMBOL: &str = "OPL";564957/// This runtime version.50/// This runtime version.66 state_version: 0,59 state_version: 0,67};60};686169parameter_types! {62parameter_types! {70 pub const Version: RuntimeVersion = VERSION;63 pub const Version: RuntimeVersion = VERSION;71}72#[cfg(feature = "become-sapphire")]73parameter_types! {74 pub const SS58Prefix: u16 = 8883;64 pub const SS58Prefix: u16 = 42;75 pub const ChainId: u64 = 8883;76}7778#[cfg(not(feature = "become-sapphire"))]79parameter_types! {80 pub const SS58Prefix: u16 = 42;81 pub const ChainId: u64 = 8882;65 pub const ChainId: u64 = 8882;82}66}836784construct_runtime!(opal);68construct_runtime!(opal);8569runtime/quartz/Cargo.tomldiffbeforeafterboth171]171]172limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']172limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']173quartz-runtime = ['refungible', 'app-promotion', 'foreign-assets']173quartz-runtime = ['refungible', 'app-promotion', 'foreign-assets']174become-sapphire = []174pov-estimate = []175pov-estimate = []175176176refungible = []177refungible = []runtime/quartz/src/lib.rsdiffbeforeafterboth444445pub use runtime_common::*;45pub use runtime_common::*;464647#[cfg(feature = "become-sapphire")]48pub const RUNTIME_NAME: &str = "sapphire";49#[cfg(not(feature = "become-sapphire"))]47pub const RUNTIME_NAME: &str = "quartz";50pub const RUNTIME_NAME: &str = "quartz";48pub const TOKEN_SYMBOL: &str = "QTZ";51pub const TOKEN_SYMBOL: &str = "QTZ";495259 state_version: 0,62 state_version: 0,60};63};616462parameter_types! {65parameter_types! {63 pub const Version: RuntimeVersion = VERSION;66 pub const Version: RuntimeVersion = VERSION;67}68#[cfg(feature = "become-sapphire")]69parameter_types! {64 pub const SS58Prefix: u8 = 255;70 pub const SS58Prefix: u16 = 8883;71 pub const ChainId: u64 = 8883;72}7374#[cfg(not(feature = "become-sapphire"))]75parameter_types! {76 pub const SS58Prefix: u8 = 255;65 pub const ChainId: u64 = 8881;77 pub const ChainId: u64 = 8881;66}78}677968construct_runtime!(quartz);80construct_runtime!(quartz);6981