code: func (r *ReceiptForStorage) EncodeRLP(w io.Writer) error {
  	enc := &storedReceiptRLP{
  		PostStateOrStatus: (*Receipt)(r).statusEncoding(),
  		CumulativeGasUsed: r.CumulativeGasUsed,
  		Logs:              make([]*LogForStorage, len(r.Logs)),
  	}
  	for i, log := range r.Logs {
  		enc.Logs[i] = (*LogForStorage)(log)
  	}
  	return rlp.Encode(w, enc)
  }
docs: // EncodeRLP implements rlp.Encoder, and flattens all content fields of a receipt
  // into an RLP stream.