You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pub struct PostcardCodec {
/// Used for `max_size` parameter when reading Response Message
/// Necessary in order to avoid DoS attacks
/// Currently the size mostly depends on the max size of the Block
max_response_size: usize,
}
but we always convert max_response_size to a u64 when reading it. We should define max_response_size to be a u64 directly.
The text was updated successfully, but these errors were encountered:
Context
We currently define
but we always convert
max_response_size
to a u64 when reading it. We should definemax_response_size
to be a u64 directly.The text was updated successfully, but these errors were encountered: