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

Add beacon deposit event #142

Merged
merged 10 commits into from
Oct 11, 2022
Merged

Add beacon deposit event #142

merged 10 commits into from
Oct 11, 2022

Conversation

hawyar
Copy link
Contributor

@hawyar hawyar commented Oct 6, 2022

Update schema

  • candidate -> validator
  • candidate_list -> validator_list

Added deposit event for contracts of interest

@hawyar hawyar requested a review from shanejearley October 6, 2022 15:54
candidate: string
candidate_list: string[]
validator: string
validator_list: string[]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts making most of these optional and then including them only when needed? When trying to make sense of the data for querying, it may be clearer to make columns don't apply to a particular row empty (as in the column is not used for that particular event type). For the specific example of validator_list, there would be a conventional difference between an empty array and a null value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, I updated the schema for both.

Copy link
Contributor

@shanejearley shanejearley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, love the type property descriptions!

@hawyar hawyar merged commit 100f421 into develop Oct 11, 2022
@shanejearley shanejearley linked an issue Oct 11, 2022 that may be closed by this pull request
@shanejearley shanejearley deleted the feature/beacon-deposit-event branch October 25, 2022 19:46
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.

Add Ethereum provider to crawler
2 participants