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

Polygon fees pulls from stale subgraph #689

Closed
0xnirmal opened this issue Jul 31, 2023 · 2 comments
Closed

Polygon fees pulls from stale subgraph #689

0xnirmal opened this issue Jul 31, 2023 · 2 comments

Comments

@0xnirmal
Copy link
Contributor

Wanted to flag that I think Polygon fees are off. Checked it with a few other sources (and an indexer I use) and results from subgraph are less than what I would expect.

https://github.com/DefiLlama/dimension-adapters/blob/master/fees/polygon.ts#L10

This subgraph relies on this Quickswap pool to quote WMATIC-USDC, which seems like it may be quoting stale prices relative to mkt spot w/ more volume.

I reached out to @dmihal, but haven't heard back, figured I would also flag to you all as well.

@dtmkeng
Copy link
Contributor

dtmkeng commented Oct 6, 2023

updated switch to query on chain data

@dtmkeng dtmkeng closed this as completed Oct 6, 2023
@dtmkeng
Copy link
Contributor

dtmkeng commented Oct 6, 2023

thank you for report

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

No branches or pull requests

2 participants