mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
Make pallet macro generate accessor to PalletInfo information on pallet placeholder (#8630)
* generate accessor to PalletInfo information on pallet placeholder * remove unused * use trait, and add tests * less verbose doc * add PalletInfoAccess to prelude for ease usage
This commit is contained in:
committed by
GitHub
parent
d64f79924a
commit
ea10494ca9
@@ -36,7 +36,7 @@ pub trait Config: 'static + Eq + Clone {
|
||||
frame_support::decl_module! {
|
||||
pub struct Module<T: Config> for enum Call where origin: T::Origin, system=self {
|
||||
#[weight = 0]
|
||||
fn noop(origin) {}
|
||||
fn noop(_origin) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user