Skip to content

STATEMIND-174: The function copyPublishedOnChainQuote() does not update onChainQuoteHistory #588

@asardon

Description

@asardon

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions