This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Near watcher #34
Merged
Near watcher #34
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For backfilling, I think it would be far easier to grab the transactions from https://explorer.near.org/accounts/contract.wormhole_crypto.near and backfill them in a one of script. |
Ok, I think that's a great idea, happy to proceed with that approach |
jumpsiegel
previously approved these changes
Dec 29, 2022
evan-gray
suggested changes
Dec 30, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly questions 🙃
b945a8e
to
db68912
Compare
heyitaki
commented
Jan 1, 2023
jumpsiegel
previously approved these changes
Jan 2, 2023
jumpsiegel
reviewed
Jan 2, 2023
evan-gray
approved these changes
Jan 3, 2023
evan-gray
suggested changes
Jan 3, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
attempting to run the backfill resulted in a 429 and crash
ckeun
reviewed
Jan 3, 2023
14fe5b7
to
518b7d0
Compare
evan-gray
approved these changes
Jan 5, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a watcher for Near as well as a one-off backfilling script. Any data older than 5 epochs (~2.5 days) must hit an archival node to get data, so the backfill script uses a provider that hits an archive node whereas the watcher uses a regular provider.
Resolves #6 and #35