Skip to content

Commit

Permalink
Disable Encointer runtime
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Jul 14, 2024
1 parent d99131f commit ec4914b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 29 deletions.
30 changes: 15 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ cumulus-primitives-core = { version = "0.14.0", default-features = false }
cumulus-primitives-utility = { version = "0.15.0", default-features = false }
cumulus-primitives-storage-weight-reclaim = { version = "6.0.0", default-features = false }
emulated-integration-tests-common = { version = "11.0.0" }
encointer-balances-tx-payment = { version = "~12.1.0", default-features = false }
encointer-balances-tx-payment-rpc-runtime-api = { version = "~12.1.0", default-features = false }
encointer-kusama-runtime = { path = "system-parachains/encointer" }
encointer-primitives = { version = "~12.2.0", default-features = false }
#encointer-balances-tx-payment = { version = "~12.1.0", default-features = false }
#encointer-balances-tx-payment-rpc-runtime-api = { version = "~12.1.0", default-features = false }
#encointer-kusama-runtime = { path = "system-parachains/encointer" }
#encointer-primitives = { version = "~12.2.0", default-features = false }
enumflags2 = { version = "0.7.7" }
frame-benchmarking = { version = "36.0.0", default-features = false }
frame-election-provider-support = { version = "36.0.0", default-features = false }
Expand Down Expand Up @@ -106,16 +106,16 @@ pallet-conviction-voting = { version = "36.0.0", default-features = false }
pallet-core-fellowship = { version = "20.0.0", default-features = false }
pallet-election-provider-multi-phase = { version = "35.0.0", default-features = false }
pallet-election-provider-support-benchmarking = { version = "35.0.0", default-features = false }
pallet-encointer-balances = { version = "~12.1.0", default-features = false }
pallet-encointer-bazaar = { version = "~12.1.0", default-features = false }
pallet-encointer-bazaar-rpc-runtime-api = { version = "~12.1.0", default-features = false }
pallet-encointer-ceremonies = { version = "~12.1.0", default-features = false }
pallet-encointer-ceremonies-rpc-runtime-api = { version = "~12.1.0", default-features = false }
pallet-encointer-communities = { version = "~12.1.0", default-features = false }
pallet-encointer-communities-rpc-runtime-api = { version = "~12.1.0", default-features = false }
pallet-encointer-faucet = { version = "~12.2.0", default-features = false }
pallet-encointer-reputation-commitments = { version = "~12.1.0", default-features = false }
pallet-encointer-scheduler = { version = "~12.1.0", default-features = false }
#pallet-encointer-balances = { version = "~12.1.0", default-features = false }
#pallet-encointer-bazaar = { version = "~12.1.0", default-features = false }
#pallet-encointer-bazaar-rpc-runtime-api = { version = "~12.1.0", default-features = false }
#pallet-encointer-ceremonies = { version = "~12.1.0", default-features = false }
#pallet-encointer-ceremonies-rpc-runtime-api = { version = "~12.1.0", default-features = false }
#pallet-encointer-communities = { version = "~12.1.0", default-features = false }
#pallet-encointer-communities-rpc-runtime-api = { version = "~12.1.0", default-features = false }
#pallet-encointer-faucet = { version = "~12.2.0", default-features = false }
#pallet-encointer-reputation-commitments = { version = "~12.1.0", default-features = false }
#pallet-encointer-scheduler = { version = "~12.1.0", default-features = false }
pallet-fast-unstake = { version = "35.0.0", default-features = false }
pallet-glutton = { version = "22.0.0", default-features = false }
pallet-grandpa = { version = "36.0.0", default-features = false }
Expand Down Expand Up @@ -282,7 +282,7 @@ members = [
"system-parachains/collectives/collectives-polkadot/constants",
"system-parachains/constants",
"system-parachains/coretime/coretime-kusama",
"system-parachains/encointer",
#"system-parachains/encointer",
"system-parachains/gluttons/glutton-kusama",
"system-parachains/people/people-kusama",
"system-parachains/people/people-polkadot",
Expand Down
6 changes: 3 additions & 3 deletions chain-spec-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ asset-hub-kusama-runtime = { workspace = true }
collectives-polkadot-runtime = { workspace = true }
bridge-hub-polkadot-runtime = { workspace = true }
bridge-hub-kusama-runtime = { workspace = true }
encointer-kusama-runtime = { workspace = true }
#encointer-kusama-runtime = { workspace = true }
glutton-kusama-runtime = { workspace = true }
coretime-kusama-runtime = { workspace = true }
people-kusama-runtime = { workspace = true }
Expand All @@ -51,7 +51,7 @@ runtime-benchmarks = [
"collectives-polkadot-runtime/runtime-benchmarks",
"coretime-kusama-runtime/runtime-benchmarks",
"cumulus-primitives-core/runtime-benchmarks",
"encointer-kusama-runtime/runtime-benchmarks",
#"encointer-kusama-runtime/runtime-benchmarks",
"glutton-kusama-runtime/runtime-benchmarks",
"kusama-runtime/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
Expand All @@ -62,5 +62,5 @@ runtime-benchmarks = [
"polkadot-runtime/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"encointer-kusama-runtime/runtime-benchmarks"
#"encointer-kusama-runtime/runtime-benchmarks"
]
6 changes: 3 additions & 3 deletions chain-spec-generator/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::{
relay_chain_specs::{KusamaChainSpec, PolkadotChainSpec},
system_parachains_specs::{
AssetHubKusamaChainSpec, AssetHubPolkadotChainSpec, BridgeHubKusamaChainSpec,
BridgeHubPolkadotChainSpec, CollectivesPolkadotChainSpec, EncointerKusamaChainSpec,
BridgeHubPolkadotChainSpec, CollectivesPolkadotChainSpec,
GluttonKusamaChainSpec, PeopleKusamaChainSpec, PeoplePolkadotChainSpec,
},
ChainSpec,
Expand Down Expand Up @@ -88,8 +88,8 @@ pub fn from_json_file(filepath: &str, supported: String) -> Result<Box<dyn Chain
Ok(Box::new(BridgeHubKusamaChainSpec::from_json_file(path)?)),
x if x.starts_with("glutton-kusama") =>
Ok(Box::new(GluttonKusamaChainSpec::from_json_file(path)?)),
x if x.starts_with("encointer-kusama") =>
Ok(Box::new(EncointerKusamaChainSpec::from_json_file(path)?)),
//x if x.starts_with("encointer-kusama") =>
// Ok(Box::new(EncointerKusamaChainSpec::from_json_file(path)?)),
x if x.starts_with("people-kusama") =>
Ok(Box::new(PeopleKusamaChainSpec::from_json_file(path)?)),
x if x.starts_with("people-polkadot") =>
Expand Down
8 changes: 4 additions & 4 deletions chain-spec-generator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ fn main() -> Result<(), String> {
"glutton-kusama-local",
Box::new(system_parachains_specs::glutton_kusama_local_testnet_config) as Box<_>,
),
(
"encointer-kusama-local",
Box::new(system_parachains_specs::encointer_kusama_local_testnet_config) as Box<_>,
),
//(
// "encointer-kusama-local",
// Box::new(system_parachains_specs::encointer_kusama_local_testnet_config) as Box<_>,
//),
(
"coretime-kusama-local",
Box::new(system_parachains_specs::coretime_kusama_local_testnet_config) as Box<_>,
Expand Down
8 changes: 4 additions & 4 deletions chain-spec-generator/src/system_parachains_specs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub type BridgeHubKusamaChainSpec = sc_chain_spec::GenericChainSpec<Extensions>;

pub type GluttonKusamaChainSpec = sc_chain_spec::GenericChainSpec<Extensions>;

pub type EncointerKusamaChainSpec = sc_chain_spec::GenericChainSpec<Extensions>;
//pub type EncointerKusamaChainSpec = sc_chain_spec::GenericChainSpec<Extensions>;

pub type CoretimeKusamaChainSpec = sc_chain_spec::GenericChainSpec<Extensions>;

Expand All @@ -62,7 +62,7 @@ const BRIDGE_HUB_POLKADOT_ED: Balance = bridge_hub_polkadot_runtime::Existential

const BRIDGE_HUB_KUSAMA_ED: Balance = bridge_hub_kusama_runtime::ExistentialDeposit::get();

const ENCOINTER_KUSAMA_ED: Balance = encointer_kusama_runtime::ExistentialDeposit::get();
//const ENCOINTER_KUSAMA_ED: Balance = encointer_kusama_runtime::ExistentialDeposit::get();

const CORETIME_KUSAMA_ED: Balance = coretime_kusama_runtime::ExistentialDeposit::get();

Expand Down Expand Up @@ -560,7 +560,7 @@ pub fn glutton_kusama_local_testnet_config() -> Result<Box<dyn ChainSpec>, Strin
}

// EncointerKusama
fn encointer_kusama_genesis(endowed_accounts: Vec<AccountId>, id: u32) -> serde_json::Value {
/*fn encointer_kusama_genesis(endowed_accounts: Vec<AccountId>, id: u32) -> serde_json::Value {
serde_json::json!({
"balances": asset_hub_kusama_runtime::BalancesConfig {
balances: endowed_accounts
Expand Down Expand Up @@ -624,7 +624,7 @@ pub fn encointer_kusama_local_testnet_config() -> Result<Box<dyn ChainSpec>, Str
.with_properties(properties)
.build(),
))
}
}*/

// CoretimeKusama
fn coretime_kusama_genesis(
Expand Down

0 comments on commit ec4914b

Please sign in to comment.