mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
Polkadot XCM Body constants (#6788)
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -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)]
|
||||
mod tests {
|
||||
use super::{
|
||||
|
||||
Reference in New Issue
Block a user