checkpoint-labs / checkpoint

Checkpoint is a library for indexing data of Starknet contracts.
https://checkpoint.box
MIT License
55 stars 22 forks source link

feat: prefetch blocks by targetting contracts #292

Closed Sekhmet closed 2 months ago

Sekhmet commented 2 months ago

Closes: https://github.com/snapshot-labs/pitches/issues/75

This PR replaces old prefetch with new system that will load only events from contracts we are interested in.

This makes initial sync much faster (5 minutes instead of couple hours).

Test plan