Polkadot XCM Body constants (#6788)

Co-authored-by: parity-processbot <>
This commit is contained in:
Muharem Ismailov
2023-03-06 15:43:28 +01:00
committed by GitHub
parent de408833d9
commit dfb60f32cd
@@ -98,6 +98,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)] #[cfg(test)]
mod tests { mod tests {
use super::{ use super::{