From 3d7dda8bb885b16a68aa0296a44d8db782a0d488 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Fri, 16 Feb 2024 18:23:25 +0100 Subject: [PATCH] fix more nits --- substrate/client/cli/src/runner.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/substrate/client/cli/src/runner.rs b/substrate/client/cli/src/runner.rs index e37c8ab0e551..8a3ee36fc1ac 100644 --- a/substrate/client/cli/src/runner.rs +++ b/substrate/client/cli/src/runner.rs @@ -20,7 +20,9 @@ use crate::{error::Error as CliError, Result, Signals, SubstrateCli}; use chrono::prelude::*; use futures::{future::FutureExt, Future}; use log::info; -use sc_service::{Configuration, Error as ServiceError, TaskManager}; +use sc_service::{ + config::RpcBatchRequestConfig, Configuration, Error as ServiceError, TaskManager, +}; use sc_utils::metrics::{TOKIO_THREADS_ALIVE, TOKIO_THREADS_TOTAL}; use std::{marker::PhantomData, time::Duration}; @@ -271,6 +273,7 @@ mod tests { rpc_max_subs_per_conn: Default::default(), rpc_message_buffer_capacity: Default::default(), rpc_port: 9944, + rpc_batch_config: RpcBatchRequestConfig::Unlimited, prometheus_config: None, telemetry_endpoints: None, default_heap_pages: None,