File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ func (p *Plugin) readMessagesForReport(
311311 return msgs , nil
312312}
313313
314- // createEmptyMessageWithIDAndSeqNum creates a message with just the sequence number set
314+ // createEmptyMessageWithIDAndSeqNum creates a message with just the message ID and sequence number set in the header.
315315func createEmptyMessageWithIDAndSeqNum (msg cciptypes.Message ) cciptypes.Message {
316316 return cciptypes.Message {
317317 Header : cciptypes.RampMessageHeader {
Original file line number Diff line number Diff line change @@ -188,8 +188,6 @@ func (p *Plugin) getFilterOutcome(
188188 report .WithMaxReportSizeBytes (maxReportLength ),
189189 report .WithMaxGas (p .offchainCfg .BatchGasLimit ),
190190 report .WithExtraMessageCheck (report .CheckNonces (observation .Nonces , p .addrCodec )),
191- //TODO: remove as we already check it in GetMessages phase
192- report .WithExtraMessageCheck (report .CheckIfInflight (p .inflightMessageCache .IsInflight )),
193191 report .WithMaxMessages (p .offchainCfg .MaxReportMessages ),
194192 report .WithMaxSingleChainReports (p .offchainCfg .MaxSingleChainReports ),
195193 )
You can’t perform that action at this time.
0 commit comments