Description
The function copyPublishedOnChainQuote() is used to copy published on chain quotes and updates isOnChainQuoteFromVault, but it doesn’t update onChainQuoteHistory. This function can be used by approved senders to bypass writing to onChainQuoteHistory.
Recommendation
We recommend to save onChainQuote.generalQuoteInfo.validUntil in isPublishedOnChainQuote and update onChainQuoteHistory when copying a published quote.