mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 20:57:59 +00:00
Proposal: Flatten AllPallets and similar types (#11813)
* flratten AllPallets types * feature flag it * fix * fix * fmt * remove todo * Update frame/support/src/traits/metadata.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update frame/support/src/migrations.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * fix * mark as deprecated * add docs * fix ui test? * fmt Co-authored-by: parity-processbot <> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
error[E0107]: missing generics for trait `Hooks`
|
||||
--> $DIR/hooks_invalid_item.rs:12:18
|
||||
--> tests/pallet_ui/hooks_invalid_item.rs:12:18
|
||||
|
|
||||
12 | impl<T: Config> Hooks for Pallet<T> {}
|
||||
| ^^^^^ expected 1 generic argument
|
||||
|
|
||||
note: trait defined here, with 1 generic parameter: `BlockNumber`
|
||||
--> $DIR/hooks.rs:214:11
|
||||
--> $WORKSPACE/frame/support/src/traits/hooks.rs
|
||||
|
|
||||
214 | pub trait Hooks<BlockNumber> {
|
||||
| pub trait Hooks<BlockNumber> {
|
||||
| ^^^^^ -----------
|
||||
help: add missing generic argument
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user