mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-23 20:11:06 +00:00
Remove PalletInfo impl for () (#8090)
This commit is contained in:
@@ -1459,11 +1459,6 @@ pub trait PalletInfo {
|
|||||||
fn name<P: 'static>() -> Option<&'static str>;
|
fn name<P: 'static>() -> Option<&'static str>;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PalletInfo for () {
|
|
||||||
fn index<P: 'static>() -> Option<usize> { Some(0) }
|
|
||||||
fn name<P: 'static>() -> Option<&'static str> { Some("test") }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// The function and pallet name of the Call.
|
/// The function and pallet name of the Call.
|
||||||
#[derive(Clone, Eq, PartialEq, Default, RuntimeDebug)]
|
#[derive(Clone, Eq, PartialEq, Default, RuntimeDebug)]
|
||||||
pub struct CallMetadata {
|
pub struct CallMetadata {
|
||||||
|
|||||||
Reference in New Issue
Block a user