mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 19:21:03 +00:00
Remove #[macro_use] annotation from mod service in all nodes. (#2456)
This PR removes `#[macro_use]` from the service module in each of the Substrate nodes in the repo. * Parachain Template * Polkadot Parachain * Minimal Node * Node Template * Kitchen Sink Node IDK why this annotation was present, maybe from when we had the `new_partial!` macro? --------- Co-authored-by: Joshy Orndorff <git-user-email.h0ly5@simplelogin.com>
This commit is contained in:
@@ -3,11 +3,10 @@
|
|||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
mod chain_spec;
|
mod chain_spec;
|
||||||
#[macro_use]
|
|
||||||
mod service;
|
|
||||||
mod cli;
|
mod cli;
|
||||||
mod command;
|
mod command;
|
||||||
mod rpc;
|
mod rpc;
|
||||||
|
mod service;
|
||||||
|
|
||||||
fn main() -> sc_cli::Result<()> {
|
fn main() -> sc_cli::Result<()> {
|
||||||
command::run()
|
command::run()
|
||||||
|
|||||||
@@ -20,11 +20,10 @@
|
|||||||
#![warn(unused_extern_crates)]
|
#![warn(unused_extern_crates)]
|
||||||
|
|
||||||
mod chain_spec;
|
mod chain_spec;
|
||||||
#[macro_use]
|
|
||||||
mod service;
|
|
||||||
mod cli;
|
mod cli;
|
||||||
mod command;
|
mod command;
|
||||||
mod rpc;
|
mod rpc;
|
||||||
|
mod service;
|
||||||
|
|
||||||
fn main() -> sc_cli::Result<()> {
|
fn main() -> sc_cli::Result<()> {
|
||||||
command::run()
|
command::run()
|
||||||
|
|||||||
@@ -19,11 +19,10 @@
|
|||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
mod chain_spec;
|
mod chain_spec;
|
||||||
#[macro_use]
|
|
||||||
mod service;
|
|
||||||
mod cli;
|
mod cli;
|
||||||
mod command;
|
mod command;
|
||||||
mod rpc;
|
mod rpc;
|
||||||
|
mod service;
|
||||||
|
|
||||||
fn main() -> sc_cli::Result<()> {
|
fn main() -> sc_cli::Result<()> {
|
||||||
command::run()
|
command::run()
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
//! Substrate Node Template CLI library.
|
//! Substrate Node Template CLI library.
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
mod chain_spec;
|
|
||||||
#[macro_use]
|
|
||||||
mod service;
|
|
||||||
mod benchmarking;
|
mod benchmarking;
|
||||||
|
mod chain_spec;
|
||||||
mod cli;
|
mod cli;
|
||||||
mod command;
|
mod command;
|
||||||
mod rpc;
|
mod rpc;
|
||||||
|
mod service;
|
||||||
|
|
||||||
fn main() -> sc_cli::Result<()> {
|
fn main() -> sc_cli::Result<()> {
|
||||||
command::run()
|
command::run()
|
||||||
|
|||||||
@@ -30,16 +30,14 @@
|
|||||||
|
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
pub mod chain_spec;
|
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
pub mod service;
|
|
||||||
#[cfg(feature = "cli")]
|
#[cfg(feature = "cli")]
|
||||||
mod benchmarking;
|
mod benchmarking;
|
||||||
|
pub mod chain_spec;
|
||||||
#[cfg(feature = "cli")]
|
#[cfg(feature = "cli")]
|
||||||
mod cli;
|
mod cli;
|
||||||
#[cfg(feature = "cli")]
|
#[cfg(feature = "cli")]
|
||||||
mod command;
|
mod command;
|
||||||
|
pub mod service;
|
||||||
|
|
||||||
#[cfg(feature = "cli")]
|
#[cfg(feature = "cli")]
|
||||||
pub use cli::*;
|
pub use cli::*;
|
||||||
|
|||||||
Reference in New Issue
Block a user