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.
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
[Merged by Bors] - Register validator api #3194
[Merged by Bors] - Register validator api #3194
Changes from 21 commits
312bab3
49fea56
9b8cdda
c591e7a
2ab3f0a
10a03b5
00c8957
bddf03a
e3a7033
62a6cd8
291895d
885819b
edc8dce
b20d7fb
ca567fd
b3ee9b8
bdbe795
3f66349
ae061f0
b759e8d
054aa0f
faa87d3
365e784
a73bafe
76e23fc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
I'm interested in the motivation behind this. This would put validator IP info in our
DEBG
logs, which I don't think we usually do. I'm not against it if it's going to be useful.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.
This exists in the
prepare_beacon_proposer
, not sure the reasoning behind it being put there, but I can remove it from both if we'd like?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.
Oh interesting, I missed this on a review from an external contributor. Let's pull them both out if you don't mind.
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.
It might be nice to have
16777216
as a constant so we don't repeat it in other places of the code. Might even be able to make this function aconst fn
?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.
Went with a constant here for now