Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion polkadot-parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
homepage = "https://integritee.network/"
repository = "https://github.com/integritee-network/parachain"
Expand Down
6 changes: 5 additions & 1 deletion polkadot-parachains/integritee-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
homepage = "https://integritee.network/"
repository = "https://github.com/integritee-network/parachain"
Expand Down Expand Up @@ -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 }
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
9 changes: 8 additions & 1 deletion polkadot-parachains/integritee-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
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,
Expand Down Expand Up @@ -351,11 +351,11 @@
// Auction,
}

impl Default for ProxyType {
fn default() -> Self {
Self::Any
}
}

Check warning on line 358 in polkadot-parachains/integritee-kusama/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

this `impl` can be derived

warning: this `impl` can be derived --> polkadot-parachains/integritee-kusama/src/lib.rs:354:1 | 354 | / impl Default for ProxyType { 355 | | fn default() -> Self { 356 | | Self::Any 357 | | } 358 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default help: replace the manual implementation with a derive attribute and mark the default variant | 344 + #[derive(Default)] 345 ~ pub enum ProxyType { 346 ~ #[default] 347 ~ Any, // Any transactions. |

impl InstanceFilter<RuntimeCall> for ProxyType {
fn filter(&self, c: &RuntimeCall) -> bool {
Expand Down Expand Up @@ -1088,6 +1088,11 @@
type ValidatorRegistration = Session;
type WeightInfo = weights::pallet_collator_selection::WeightInfo<Runtime>;
}
impl pallet_sudo::Config for Runtime {
type RuntimeCall = RuntimeCall;
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
}

construct_runtime!(
pub enum Runtime
Expand All @@ -1109,6 +1114,8 @@
TransactionPayment: pallet_transaction_payment = 11,
Vesting: pallet_vesting = 12,

Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 17,

// Governance.
Treasury: pallet_treasury = 13,
Democracy: pallet_democracy = 14,
Expand Down
3 changes: 3 additions & 0 deletions polkadot-parachains/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ fn integritee_genesis_config(
"technicalCommittee": {
"members": vec![root_key.clone()]
},
"sudo": {
"key": root_key.clone()
},
})
}

Expand Down
Loading