-
Notifications
You must be signed in to change notification settings - Fork 247
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
fix(admin): id in NodeInfo is string instead of B256 #1038
Conversation
Signed-off-by: jsvisa <[email protected]>
Signed-off-by: jsvisa <[email protected]>
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.
nice find, I believe I couldn't figure out what the correct value here is
Signed-off-by: jsvisa <[email protected]>
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.
lgtm
ty
@DaniPopes if we release alloy with this fix alloy as a patch, this will break 1.0.1 reth build for some folks
* fix(admin): id in NodeInfo is string instead of B256 Signed-off-by: jsvisa <[email protected]> * fix testcase Signed-off-by: jsvisa <[email protected]> * apply code review Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]>
* fix(admin): id in NodeInfo is string instead of B256 Signed-off-by: jsvisa <[email protected]> * fix testcase Signed-off-by: jsvisa <[email protected]> * apply code review Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]>
Motivation
Return the same response type as geth's, ref https://github.com/ethereum/go-ethereum/blob/v1.14.0/p2p/server.go#L1078-L1079
Solution
PR Checklist