mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 21:19:24 +00:00
Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and arguably should even be published, I have yet to see node in the same way. Helps tighten API boundaries.
This commit is contained in:
@@ -117,7 +117,7 @@ pub fn run() -> sc_cli::Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BenchmarkCmd::Extrinsic(cmd) => {
|
BenchmarkCmd::Extrinsic(cmd) => {
|
||||||
let PartialComponents { client, .. } = service::new_partial(&config)?;
|
let client = service::new_partial(&config)?.client;
|
||||||
cmd.run(
|
cmd.run(
|
||||||
client.clone(),
|
client.clone(),
|
||||||
inherent_benchmark_data()?,
|
inherent_benchmark_data()?,
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
pub mod chain_spec;
|
|
||||||
pub mod rpc;
|
|
||||||
pub mod service;
|
|
||||||
Reference in New Issue
Block a user