mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
Replace last usages of <() as PalletInfo> in substrate (#8080)
* replace last occurences * Update frame/support/src/traits.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update frame/support/test/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * fix dispatch test * move PanicPalletInfo to tests module Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1ee71e54e5
commit
9fbbecc195
@@ -84,7 +84,7 @@ mod tests {
|
||||
impl frame_support_test::Config for TraitImpl {
|
||||
type Origin = u32;
|
||||
type BlockNumber = u32;
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = frame_support_test::PanicPalletInfo;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
@@ -441,7 +441,7 @@ mod test2 {
|
||||
impl frame_support_test::Config for TraitImpl {
|
||||
type Origin = u32;
|
||||
type BlockNumber = u32;
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = frame_support_test::PanicPalletInfo;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
@@ -469,7 +469,7 @@ mod test3 {
|
||||
impl frame_support_test::Config for TraitImpl {
|
||||
type Origin = u32;
|
||||
type BlockNumber = u32;
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = frame_support_test::PanicPalletInfo;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
@@ -514,7 +514,7 @@ mod test_append_and_len {
|
||||
impl frame_support_test::Config for Test {
|
||||
type Origin = u32;
|
||||
type BlockNumber = u32;
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = frame_support_test::PanicPalletInfo;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ struct Test;
|
||||
impl frame_support_test::Config for Test {
|
||||
type BlockNumber = u32;
|
||||
type Origin = ();
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = frame_support_test::PanicPalletInfo;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
|
||||
@@ -253,7 +253,7 @@ impl system::Config for Runtime {
|
||||
type BlockNumber = BlockNumber;
|
||||
type AccountId = AccountId;
|
||||
type Event = Event;
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = PalletInfo;
|
||||
type Call = Call;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ impl system::Config for Runtime {
|
||||
type BlockNumber = BlockNumber;
|
||||
type AccountId = AccountId;
|
||||
type Event = Event;
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = PalletInfo;
|
||||
type Call = Call;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ mod tests {
|
||||
type BlockWeights = ();
|
||||
type BlockLength = ();
|
||||
type Version = ();
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = PalletInfo;
|
||||
type AccountData = ();
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = ();
|
||||
|
||||
@@ -53,7 +53,7 @@ struct Runtime;
|
||||
impl frame_support_test::Config for Runtime {
|
||||
type Origin = u32;
|
||||
type BlockNumber = u32;
|
||||
type PalletInfo = ();
|
||||
type PalletInfo = frame_support_test::PanicPalletInfo;
|
||||
type DbWeight = ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user