-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Added check to not fetch mercury prices when trigger capability is enabled #13888
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you
Quality Gate passedIssues Measures |
Quality Gate failedFailed conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bit of a hack, but then the entire plugin basically is one so 🤷♂️
Thank you, since we're planning to move to the LLO plugin at some point I felt more comfortable taking this approach. |
DF-20169
Added new check in
Observe
method incore/services/relay/evm/mercury/v3/data_source.go
file that extracts theEnableTriggerCapability
boolean from dataSource and if true skips callingLatestPrice
function. For Data Feeds 2.0 with DON - DON communication we don't need to fetch any price info from mercury server