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 Validator Indices to Queue/Committee Instead of Public Keys #137

Merged
merged 1 commit into from Apr 22, 2020

Conversation

rauljordan
Copy link
Contributor

This PR resolves #131 and resolves #132. We add validator indices to common response types such as committee assignments and the validator queue as they are cheaper to compute than public keys and are not as useful. We mark the public key fields as deprecated instead of deleting them for now.

Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

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

Should we be marking public keys as deprecated? Would ppl still be using that under certain use cases?

@prestonvanloon
Copy link
Member

I approve removing public keys from these rtypes of request to reduce the size of the response. We can remove these fields entirely as we promote to v1alpha2 or v1beta1

@rauljordan rauljordan merged commit 1c66911 into master Apr 22, 2020
@rauljordan rauljordan deleted the val-indices branch April 22, 2020 17:29
Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

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

Lgtm

prestonvanloon added a commit to prestonvanloon/eth2-beaconchain-explorer that referenced this pull request Apr 25, 2020
prestonvanloon added a commit to prysmaticlabs/prysm that referenced this pull request Apr 25, 2020
prylabs-bulldozer bot pushed a commit to prysmaticlabs/prysm that referenced this pull request Apr 25, 2020
* Update EthereumAPIs to prysmaticlabs/ethereumapis#137 and implement validator index return field
peterbitfly pushed a commit to gobitfly/eth2-beaconchain-explorer that referenced this pull request Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants