mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
BREAKING: Rename Origin (#12258)
* BREAKING: Rename Origin * more renaming * a bit more renaming * fix * more fixing * fix in frame_support * even more fixes * fix * small fix * ... * update .stderr * docs * update docs * update docs * docs
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
/// The configuration trait
|
||||
pub trait Config: 'static {
|
||||
/// The runtime origin type.
|
||||
type Origin: codec::Codec + codec::EncodeLike + Default + scale_info::TypeInfo;
|
||||
type RuntimeOrigin: codec::Codec + codec::EncodeLike + Default + scale_info::TypeInfo;
|
||||
/// The block number type.
|
||||
type BlockNumber: codec::Codec + codec::EncodeLike + Default + scale_info::TypeInfo;
|
||||
/// The information about the pallet setup in the runtime.
|
||||
@@ -36,7 +36,7 @@ pub trait Config: 'static {
|
||||
|
||||
frame_support::decl_module! {
|
||||
/// Some test module
|
||||
pub struct Module<T: Config> for enum Call where origin: T::Origin, system=self {}
|
||||
pub struct Module<T: Config> for enum Call where origin: T::RuntimeOrigin, system=self {}
|
||||
}
|
||||
|
||||
/// A PalletInfo implementation which just panics.
|
||||
|
||||
Reference in New Issue
Block a user