diff --git a/Cargo.lock b/Cargo.lock index 8a407836..82ac0136 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6361,7 +6361,7 @@ dependencies = [ [[package]] name = "integritee-collator" -version = "1.18.2" +version = "1.18.3" dependencies = [ "assert_cmd", "clap", @@ -6443,7 +6443,7 @@ dependencies = [ [[package]] name = "integritee-kusama-runtime" -version = "1.18.562" +version = "1.18.563" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -6492,6 +6492,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-sidechain", + "pallet-sudo", "pallet-teeracle", "pallet-teerdays", "pallet-teerex", diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index ce0ac695..549887ed 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-collator" description = "The Integritee parachain collator binary" # align major.minor revision with polkadot SDK. bump patch revision ad lib. make this the github release tag -version = "1.18.2" +version = "1.18.3" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" diff --git a/polkadot-parachains/integritee-kusama/Cargo.toml b/polkadot-parachains/integritee-kusama/Cargo.toml index 741789fc..da595f2f 100644 --- a/polkadot-parachains/integritee-kusama/Cargo.toml +++ b/polkadot-parachains/integritee-kusama/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-kusama-runtime" description = "The Integritee Kusama parachain runtime" # align major.minor revision with polkadot SDK. patch revision must match runtime spec_version -version = "1.18.562" +version = "1.18.563" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" @@ -61,6 +61,7 @@ pallet-proxy = { workspace = true } pallet-scheduler = { workspace = true } pallet-session = { workspace = true } pallet-sidechain = { workspace = true } +pallet-sudo = { workspace = true } pallet-teeracle = { workspace = true } pallet-teerdays = { workspace = true } pallet-teerex = { workspace = true } @@ -156,6 +157,7 @@ std = [ "pallet-scheduler/std", "pallet-session/std", "pallet-sidechain/std", + "pallet-sudo/std", "pallet-teeracle/std", "pallet-teerdays/std", "pallet-teerex/std", @@ -226,6 +228,7 @@ runtime-benchmarks = [ "pallet-proxy/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-sidechain/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", "pallet-teeracle/runtime-benchmarks", "pallet-teerdays/runtime-benchmarks", "pallet-teerex/runtime-benchmarks", @@ -282,6 +285,7 @@ try-runtime = [ "pallet-scheduler/try-runtime", "pallet-session/try-runtime", "pallet-sidechain/try-runtime", + "pallet-sudo/try-runtime", "pallet-teeracle/try-runtime", "pallet-teerdays/try-runtime", "pallet-teerex/try-runtime", diff --git a/polkadot-parachains/integritee-kusama/src/lib.rs b/polkadot-parachains/integritee-kusama/src/lib.rs index f1e014f5..e8c810b2 100644 --- a/polkadot-parachains/integritee-kusama/src/lib.rs +++ b/polkadot-parachains/integritee-kusama/src/lib.rs @@ -144,7 +144,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: Cow::Borrowed("integritee-kusama"), impl_name: Cow::Borrowed("integritee-full"), authoring_version: 2, - spec_version: 562, + spec_version: 563, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 8, @@ -1088,6 +1088,11 @@ impl pallet_collator_selection::Config for Runtime { type ValidatorRegistration = Session; type WeightInfo = weights::pallet_collator_selection::WeightInfo; } +impl pallet_sudo::Config for Runtime { + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type WeightInfo = (); +} construct_runtime!( pub enum Runtime @@ -1109,6 +1114,8 @@ construct_runtime!( TransactionPayment: pallet_transaction_payment = 11, Vesting: pallet_vesting = 12, + Sudo: pallet_sudo::{Pallet, Call, Storage, Config, Event} = 17, + // Governance. Treasury: pallet_treasury = 13, Democracy: pallet_democracy = 14, diff --git a/polkadot-parachains/src/chain_spec.rs b/polkadot-parachains/src/chain_spec.rs index edc8d6df..8e447354 100644 --- a/polkadot-parachains/src/chain_spec.rs +++ b/polkadot-parachains/src/chain_spec.rs @@ -216,6 +216,9 @@ fn integritee_genesis_config( "technicalCommittee": { "members": vec![root_key.clone()] }, + "sudo": { + "key": root_key.clone() + }, }) }