mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 21:37:56 +00:00
refactor: state RPC remove max_rpc_payload_size (#13649)
This limit is not needed anymore as the JSON-RPC servers doesn't terminate the connection if the RPC max limit is exceeded anymore
This commit is contained in:
@@ -631,12 +631,8 @@ where
|
||||
|
||||
let (chain, state, child_state) = {
|
||||
let chain = sc_rpc::chain::new_full(client.clone(), task_executor.clone()).into_rpc();
|
||||
let (state, child_state) = sc_rpc::state::new_full(
|
||||
client.clone(),
|
||||
task_executor.clone(),
|
||||
deny_unsafe,
|
||||
config.rpc_max_payload,
|
||||
);
|
||||
let (state, child_state) =
|
||||
sc_rpc::state::new_full(client.clone(), task_executor.clone(), deny_unsafe);
|
||||
let state = state.into_rpc();
|
||||
let child_state = child_state.into_rpc();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user