For OP we need to know the length of available payload to correctly handle optional fields on receipt. This PR changes the RlpReceipt trait so that fields decoding method accepts a slice of the same length as specified in header and can use it to determine where to stop decoding
Motivation
For OP we need to know the length of available payload to correctly handle optional fields on receipt. This PR changes the
RlpReceipt
trait so that fields decoding method accepts a slice of the same length as specified in header and can use it to determine where to stop decodingPR Checklist