optimism icon indicating copy to clipboard operation
optimism copied to clipboard

op-node: Increase MaxFrameLength + Check buffer size against FrameLength

Open trianglesphere opened this issue 9 months ago • 0 comments

Several Changes

  1. MaxFrameLen should be increased to 10MB from 1MB
  2. Inside func (f *Frame) UnmarshalBinary(r ByteReader) error we should validate frameLength against the remaining bytes
  3. We need to update the specs + make MaxFrameLen a clear protocol constant.

trianglesphere avatar May 09 '24 17:05 trianglesphere