-
Notifications
You must be signed in to change notification settings - Fork 0
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
Set up DiscoveryIndexer #11
Conversation
L2B-2154 Set up DiscoveryIndexer
Context The DiscoveryIndexer runs Discovery on LayerZero on Ethereum only, gets updates from the contracts and updates the data in our DB if there are any changes, no history is needed. We'll use the discovery package from l2beat/tools If it takes too long (more than 12 sec), it's fine if we run it on the latest block (not on every block). |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Also sanity check: Please take a look at |
|
Resolves L2B-2154
This PR introduces new .env variables:
Using
@l2beat/discovery
requiredethers
degradation to5.7.2
.Right now Discovery takes ~20 seconds locally, should be a bit faster on the server.