Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Move Fellowship to Collectives (#6718)
Browse files Browse the repository at this point in the history
* FellowshipAdmin origin over xcm

* accept Fellows origin from Collectives

* remove Fellowship

* remove unreachable arm
  • Loading branch information
muharem authored Feb 15, 2023
1 parent f95b1c2 commit ae2ad9b
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 881 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

4 changes: 0 additions & 4 deletions runtime/polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ pallet-nomination-pools-runtime-api = { git = "https:/paritytech/sub
pallet-offences = { git = "https:/paritytech/substrate", branch = "master", default-features = false }
pallet-preimage = { git = "https:/paritytech/substrate", branch = "master", default-features = false }
pallet-proxy = { git = "https:/paritytech/substrate", branch = "master", default-features = false }
pallet-ranked-collective = { git = "https:/paritytech/substrate", branch = "master", default-features = false }
pallet-referenda = { git = "https:/paritytech/substrate", branch = "master", default-features = false }
pallet-scheduler = { git = "https:/paritytech/substrate", branch = "master", default-features = false }
pallet-session = { git = "https:/paritytech/substrate", branch = "master", default-features = false }
Expand Down Expand Up @@ -159,7 +158,6 @@ std = [
"pallet-offences/std",
"pallet-preimage/std",
"pallet-proxy/std",
"pallet-ranked-collective/std",
"pallet-referenda/std",
"pallet-scheduler/std",
"pallet-session/std",
Expand Down Expand Up @@ -218,7 +216,6 @@ runtime-benchmarks = [
"pallet-nomination-pools-benchmarking/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-ranked-collective/runtime-benchmarks",
"pallet-referenda/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
Expand Down Expand Up @@ -267,7 +264,6 @@ try-runtime = [
"pallet-offences/try-runtime",
"pallet-preimage/try-runtime",
"pallet-proxy/try-runtime",
"pallet-ranked-collective/try-runtime",
"pallet-referenda/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-session/try-runtime",
Expand Down
12 changes: 12 additions & 0 deletions runtime/polkadot/constants/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,18 @@ pub mod fee {
}
}

/// XCM protocol related constants.
pub mod xcm {
/// Pluralistic bodies existing within the consensus.
pub mod body {
// Preallocated for the Root body.
#[allow(dead_code)]
const ROOT_INDEX: u32 = 0;
// The bodies corresponding to the Polkadot OpenGov Origins.
pub const FELLOWSHIP_ADMIN_INDEX: u32 = 1;
}
}

#[cfg(test)]
mod tests {
use super::{
Expand Down
Loading

0 comments on commit ae2ad9b

Please sign in to comment.