mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
[FRAME] Remove V1 Module Syntax (#14685)
* Remove V1 pallet syntax Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove more Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * More... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Move no_bound derives to own folder Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Keep re-exports Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
49816ff4d9
commit
0853bbba72
@@ -67,17 +67,13 @@ pub use tt_call::*;
|
||||
|
||||
#[macro_use]
|
||||
pub mod dispatch;
|
||||
mod hash;
|
||||
pub mod storage;
|
||||
#[macro_use]
|
||||
pub mod event;
|
||||
pub mod inherent;
|
||||
#[macro_use]
|
||||
pub mod error;
|
||||
pub mod crypto;
|
||||
pub mod dispatch_context;
|
||||
mod hash;
|
||||
pub mod inherent;
|
||||
pub mod instances;
|
||||
pub mod migrations;
|
||||
pub mod storage;
|
||||
pub mod traits;
|
||||
pub mod weights;
|
||||
#[doc(hidden)]
|
||||
@@ -531,8 +527,7 @@ pub fn debug(data: &impl sp_std::fmt::Debug) {
|
||||
|
||||
#[doc(inline)]
|
||||
pub use frame_support_procedural::{
|
||||
construct_runtime, decl_storage, match_and_insert, transactional, PalletError,
|
||||
RuntimeDebugNoBound,
|
||||
construct_runtime, match_and_insert, transactional, PalletError, RuntimeDebugNoBound,
|
||||
};
|
||||
|
||||
#[doc(hidden)]
|
||||
@@ -2910,6 +2905,12 @@ pub mod pallet_macros {
|
||||
};
|
||||
}
|
||||
|
||||
#[deprecated(note = "Will be removed after July 2023; Use `sp_runtime::traits` directly instead.")]
|
||||
pub mod error {
|
||||
#[doc(hidden)]
|
||||
pub use sp_runtime::traits::{BadOrigin, LookupError};
|
||||
}
|
||||
|
||||
#[doc(inline)]
|
||||
pub use frame_support_procedural::register_default_impl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user