mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
Make PalletInfo fields public (#2231)
PalletInfo fields were private, preventing a user from actually using the QueryPallet instruction in a meaningful way since they couldn't read the received data.
This commit is contained in:
committed by
GitHub
parent
69494ea70b
commit
37bb02ef62
@@ -243,15 +243,15 @@ parameter_types! {
|
||||
#[scale_info(replace_segment("staging_xcm", "xcm"))]
|
||||
pub struct PalletInfo {
|
||||
#[codec(compact)]
|
||||
index: u32,
|
||||
name: BoundedVec<u8, MaxPalletNameLen>,
|
||||
module_name: BoundedVec<u8, MaxPalletNameLen>,
|
||||
pub index: u32,
|
||||
pub name: BoundedVec<u8, MaxPalletNameLen>,
|
||||
pub module_name: BoundedVec<u8, MaxPalletNameLen>,
|
||||
#[codec(compact)]
|
||||
major: u32,
|
||||
pub major: u32,
|
||||
#[codec(compact)]
|
||||
minor: u32,
|
||||
pub minor: u32,
|
||||
#[codec(compact)]
|
||||
patch: u32,
|
||||
pub patch: u32,
|
||||
}
|
||||
|
||||
impl PalletInfo {
|
||||
|
||||
Reference in New Issue
Block a user