git.delta.rocks / unique-network / refs/commits / 2dfd73643010

difftreelog

Merge branch 'develop' into release/opal-v918000

Igor Kozyrev2022-03-29parents: #412ca93 #80d5011.patch.diff
in: master

2 files changed

modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
--- a/node/cli/src/chain_spec.rs
+++ b/node/cli/src/chain_spec.rs
@@ -38,8 +38,12 @@
 pub type OpalChainSpec = sc_service::GenericChainSpec<opal_runtime::GenesisConfig, Extensions>;
 
 pub enum RuntimeId {
+	#[cfg(feature = "unique-runtime")]
 	Unique,
+
+	#[cfg(feature = "quartz-runtime")]
 	Quartz,
+
 	Opal,
 	Unknown(String),
 }
modifiednode/cli/src/service.rsdiffbeforeafterboth
6161
62use unique_runtime_common::types::{AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block};62use unique_runtime_common::types::{AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block};
6363
64/// Native executor instance.64/// Unique native executor instance.
65#[cfg(feature = "unique-runtime")]
65pub struct UniqueRuntimeExecutor;66pub struct UniqueRuntimeExecutor;
67
68#[cfg(feature = "quartz-runtime")]
69/// Quartz native executor instance.
70
66pub struct QuartzRuntimeExecutor;71pub struct QuartzRuntimeExecutor;
72
73/// Opal native executor instance.
67pub struct OpalRuntimeExecutor;74pub struct OpalRuntimeExecutor;
6875
69#[cfg(feature = "unique-runtime")]76#[cfg(feature = "unique-runtime")]