mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
Renames frame crate to polkadot-sdk-frame (#3813)
Step in https://github.com/paritytech/polkadot-sdk/issues/3155 Needed for https://github.com/paritytech/eng-automation/issues/6 This PR renames `frame` crate to `polkadot-sdk-frame` as `frame` is not available on crates.io --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
+3
-3
@@ -17,13 +17,13 @@
|
||||
|
||||
#[frame_support::pallet]
|
||||
mod pallet {
|
||||
use frame::deps::frame_system::pallet_prelude::BlockNumberFor;
|
||||
use polkadot_sdk_frame::deps::frame_system::pallet_prelude::BlockNumberFor;
|
||||
use frame_support::pallet_prelude::{Hooks, IsType};
|
||||
|
||||
#[pallet::config]
|
||||
pub trait Config: frame::deps::frame_system::Config {
|
||||
pub trait Config: polkadot_sdk_frame::deps::frame_system::Config {
|
||||
type Bar: Clone + std::fmt::Debug + Eq;
|
||||
type RuntimeEvent: IsType<<Self as frame::deps::frame_system::Config>::RuntimeEvent>
|
||||
type RuntimeEvent: IsType<<Self as polkadot_sdk_frame::deps::frame_system::Config>::RuntimeEvent>
|
||||
+ From<Event<Self>>;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
error: Invalid `type RuntimeEvent`, associated type `RuntimeEvent` is reserved and must bound: `IsType<<Self as frame_system::Config>::RuntimeEvent>`
|
||||
--> tests/pallet_ui/event_type_invalid_bound_no_frame_crate.rs:26:3
|
||||
|
|
||||
26 | type RuntimeEvent: IsType<<Self as frame::deps::frame_system::Config>::RuntimeEvent>
|
||||
26 | type RuntimeEvent: IsType<<Self as polkadot_sdk_frame::deps::frame_system::Config>::RuntimeEvent>
|
||||
| ^^^^
|
||||
|
||||
Reference in New Issue
Block a user