mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 19:41:05 +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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::{
|
use super::{
|
||||||
|
|||||||
Reference in New Issue
Block a user