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

sync-latest-fx-prices #602

Merged
merged 2 commits into from
Dec 20, 2023
Merged

sync-latest-fx-prices #602

merged 2 commits into from
Dec 20, 2023

Conversation

gmbronco
Copy link
Contributor

@gmbronco gmbronco commented Dec 15, 2023

Adding a job for syncing latest FX price from subgraph. The task itself is fast, so I'm scheduling it as one job for all the chains.

closes #565

@gmbronco gmbronco linked an issue Dec 15, 2023 that may be closed by this pull request
3 tasks
@franzns
Copy link
Contributor

franzns commented Dec 18, 2023

As discussed, I would refrain from introducing the "multichain-schedule" for this. Would like a more generalized approach.

@gmbronco
Copy link
Contributor Author

Removed multichain job in favour of chain specific ones.

Comment on lines 412 to 415
{
name: 'sync-latest-fx-prices',
interval: every(10, 'minutes'),
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we dont have fx pools on OP. not sure about the other chains

Comment on lines 295 to 298
{
name: 'sync-latest-fx-prices',
interval: every(10, 'minutes'),
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same, think they dont have fx pools

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, FX is on: Mainnet, Polygon and Avalanche so far.

@franzns franzns merged commit 6510405 into v3-canary Dec 20, 2023
1 check passed
@franzns franzns deleted the latest-fx-price branch December 20, 2023 14:21
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 this pull request may close these issues.

SOR: Handle failing FX pools by adding latestFXPrice to it's poolTokens.
2 participants