optimism
optimism copied to clipboard
op-node: Increase MaxFrameLength + Check buffer size against FrameLength
Several Changes
- MaxFrameLen should be increased to 10MB from 1MB
- Inside
func (f *Frame) UnmarshalBinary(r ByteReader) error
we should validateframeLength
against the remaining bytes - We need to update the specs + make MaxFrameLen a clear protocol constant.