Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
asardon opened this issue Aug 10, 2023 · 0 comments · Fixed by #594
Assignees

Comments

@asardon
Copy link
Member

asardon commented Aug 10, 2023

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.

@asardon asardon changed the title STATEMIND-173: The function copyPublishedOnChainQuote() does not update onChainQuoteHistory STATEMIND-174: The function copyPublishedOnChainQuote() does not update onChainQuoteHistory Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants