-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fee recipient: checksum log #10664
Merged
Merged
Fee recipient: checksum log #10664
Changes from 10 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e0e9449
adding checksum check at validator client and beacon node
james-prysm e6b4b0e
Merge branch 'develop' into fee-recipient-checksum
james-prysm aff2a3a
Merge branch 'develop' into fee-recipient-checksum
james-prysm c8ed60a
adding validation and logs on validator client startup
james-prysm 7dfa86a
moving the log and validation
james-prysm 8136bf8
fixing unit tests
james-prysm 3725970
Merge branch 'develop' into fee-recipient-checksum
james-prysm af23f2d
adding test for back checksum on validator client
james-prysm f382876
fixing bazel
james-prysm 8713f69
Merge branch 'develop' into fee-recipient-checksum
james-prysm a3f88d4
addressing comments
james-prysm c0ba991
Merge branch 'develop' into fee-recipient-checksum
james-prysm 6f11fe7
Merge branch 'develop' into fee-recipient-checksum
james-prysm c4bf45f
Merge branch 'develop' into fee-recipient-checksum
james-prysm 7a73269
fixing log display
james-prysm b542030
Merge branch 'develop' into fee-recipient-checksum
james-prysm ee13966
Merge branch 'develop' into fee-recipient-checksum
james-prysm b5d8579
Update beacon-chain/node/config.go
rauljordan 634d54b
Apply suggestions from code review
rauljordan e056ebc
breaking up lines
james-prysm 3a2b1c0
fixing unit test
james-prysm 74f92f0
ugh another fix to unit test
james-prysm c15f102
Merge refs/heads/develop into fee-recipient-checksum
prylabs-bulldozer[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
10 changes: 10 additions & 0 deletions
10
validator/node/testdata/good-prepare-beacon-proposer-config-badchecksum.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"proposer_config": { | ||
"0xa057816155ad77931185101128655c0191bd0214c201ca48ed887f6c4c6adf334070efcd75140eada5ac83a92506dd7a": { | ||
"fee_recipient": "0xae967917c465db8578ca9024c205720b1a3651A9" | ||
} | ||
}, | ||
"default_config": { | ||
"fee_recipient": "0xae967917c465db8578ca9024c205720b1a3651A9" | ||
} | ||
} |
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.
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.
Let's consider this log from the user's perspective. Many do not know what a checksum is, so we should instead warn them that a checksummed address is safer to prevent against spelling mistakes in Ethereum addresses. The provided address was not checksummed and will be used as is when setting transaction fee recipients
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'll go ahead and update this
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.
Maybe something about how we recommend using a mixed-case address to prevent against spelling mistakes in your fee recipient Ethereum address. The provided address is not a valid checksum (mixed-case) address. Not sure if we should link people to a specific place, but something worth thinking about