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

Use epoch subgraph to get network specific epoch start blocks #34

Open
fordN opened this issue Sep 17, 2024 · 0 comments
Open

Use epoch subgraph to get network specific epoch start blocks #34

fordN opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fordN
Copy link
Collaborator

fordN commented Sep 17, 2024

Now that the protocol has migrated to Arbitrum One we need to update the algorithm for getting epoch start blocks.

The arbitrum network subgraph tracks epoch start blocks using L1 block numbers, so we can no longer rely on it for this information. Instead, the epoch subgraph will need to be used to identify the start block for an epoch, i.e the block that POIs should be generated when closing an allocation in that epoch.

@fordN fordN changed the title Bug: Epoch block numbers always show L1 blocks, need to use epoch subgraph to get network specific epoch start blocks Use epoch subgraph to get network specific epoch start blocks Sep 17, 2024
@fordN fordN self-assigned this Sep 17, 2024
@fordN fordN added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant