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

Create new Optimism subgraph post-regenesis #178

Closed
willhennessy opened this issue Nov 12, 2021 · 8 comments
Closed

Create new Optimism subgraph post-regenesis #178

willhennessy opened this issue Nov 12, 2021 · 8 comments
Assignees
Labels
bug Something isn't working p0 Very important to fix

Comments

@willhennessy
Copy link
Contributor

The optimism info site and Add Liquidity in App are both dead since the Optimism Regenesis. Let's create a new subgraph to get this working again

@willhennessy willhennessy added bug Something isn't working p0 Very important to fix labels Nov 12, 2021
@willhennessy
Copy link
Contributor Author

  • big scope
  • some ideas to get the current state, but hard is getting historical state
  • next step: design a solution with the Graph team

@willhennessy
Copy link
Contributor Author

note: will try a subgraph deploy today
if that doesn't work, let's at last resume showing current data from post-regenesis and tackle historical data separately

@willhennessy
Copy link
Contributor Author

Update from Ian: in progress. Currently his top task. Lyra was unblocked, but we still need to fix this.

Optimistically we can get something working this week with ~2 days of work.

@K-Ho
Copy link

K-Ho commented Dec 14, 2021

Let me know if there's anything I can do to support here! <3

@0xtakamaka
Copy link

same here - can we help?

@ianlapham
Copy link
Member

@K-Ho @nejcb1 Hey guys here some info on the current state of optimism subgraph data

Was able to succesfuly get post-regenesis data but manually adding pre-regenesis pools.
The subgraph endpoint for that subgraph is here

The code for that subgraph is here

The main issue is that the graph doesnt index optimism blocks for that event anymore - I know that the graph has a snapshot of the data. So i think the solution for getting pre-regenesis data is to manually set properties on the entities based on that snapshot

@willhennessy
Copy link
Contributor Author

thanks ian! I'll mark this issue as complete and open a new issue to add pre-regenesis data in the future: #197

@Neokun
Copy link

Neokun commented Jul 11, 2022

Hello @ianlapham , can I ask for the snapshot on pre-regenesis?
Currently, the optimism-post-regenesis subgraph is having wrong/missing tick data of many pools (for example the pool 0x03af20bdaaffb4cc0a521796a223f7d85e2aac31)
And I need the full tick list data of the pool. Is there any fix to get all tick data of the pool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p0 Very important to fix
Projects
None yet
Development

No branches or pull requests

5 participants