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

loop through blocks till finalized block #86

Merged
merged 2 commits into from
May 25, 2022

Conversation

KarishmaBothara
Copy link
Collaborator

Description

This PR is to address the issue #85

Details

Loop through all block number till it reaches finalised block to find system events.. For the first time, we would need to set the processed block as it does not have to start with block 0

Changes
scripts/subscribeEventProof.js
src/mongo/models.js

Have kept finalised tracking in the same job/daemon to avoid running multiple jobs for validator relayer.

@KarishmaBothara KarishmaBothara changed the base branch from main to rata_deployment May 25, 2022 03:25
@KarishmaBothara KarishmaBothara merged commit 8e6eb10 into rata_deployment May 25, 2022
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