Switch All construct_runtimes to New Syntax (#2979)

Clean up all the old syntax.

---------

Co-authored-by: command-bot <>
Co-authored-by: gupnik <nikhilgupta.iitk@gmail.com>
Co-authored-by: Nikhil Gupta <17176722+gupnik@users.noreply.github.com>
Co-authored-by: Maksym H <1177472+mordamax@users.noreply.github.com>
This commit is contained in:
joe petrowski
2024-01-22 08:15:53 +01:00
committed by GitHub
parent d37a45650e
commit 757ae372f7
133 changed files with 792 additions and 847 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ pub type Balance = u32;
type Block = frame_system::mocking::MockBlock<Runtime>;
frame_support::construct_runtime!(
pub struct Runtime {
pub enum Runtime {
System: frame_system,
TasksExample: tasks_example,
}