Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
remove todo.
  • Loading branch information
kianenigma committed Jun 4, 2021
commit 52e474ae667a179d713b623dddb6013a5402e548
2 changes: 1 addition & 1 deletion client/tracing/src/block/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl<Block, Client> BlockExecutor<Block, Client>
tracing::debug!(target: "state_tracing", "Captured {} spans and {} events", spans.len(), events.len());

let approx_payload_size = BASE_PAYLOAD + events.len() * AVG_EVENT + spans.len() * AVG_SPAN;
let response = if approx_payload_size > DEFAULT_MAX_PAYLOAD { // TODO
let response = if approx_payload_size > DEFAULT_MAX_PAYLOAD {
Comment thread
emostov marked this conversation as resolved.
Outdated
Comment thread
emostov marked this conversation as resolved.
Outdated
TraceBlockResponse::TraceError(TraceError {
error:
"Payload likely exceeds max payload size of RPC server.".to_string()
Expand Down