Skip to content

Conversation

teogeb
Copy link
Contributor

@teogeb teogeb commented Jun 9, 2025

Update startBlock values to have values corresponding the contract creation block. Obviously there can't exist any contract events before those blocks.

Other changes

  • Renames subgraph_matic.yaml to subgraph_polygon.yaml to match the current name of the chain
  • removed some obsolete comments

@teogeb teogeb requested a review from harbu June 9, 2025 08:29
@harbu
Copy link
Contributor

harbu commented Jun 9, 2025

Can an event occur at the same block as when the contract was created?

@teogeb
Copy link
Contributor Author

teogeb commented Jun 9, 2025

Can an event occur at the same block as when the contract was created?

If there are events emitted by constructor. Not sure if we have those in our contracts.

@teogeb teogeb merged commit fc64b4f into master Jun 9, 2025
3 checks passed
@teogeb teogeb deleted the subgraphs-exact-start-blocks-for-polygon branch June 9, 2025 13:42
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.

2 participants