-
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
E2E: fee-recipient evaluator #10528
E2E: fee-recipient evaluator #10528
Conversation
…e, adding more logging temporarily
publickey := validator.GetPublicKey() | ||
// calculate deterministic fee recipient using first 20 bytes of public key | ||
deterministicFeeRecipient := common.HexToAddress(hexutil.Encode(publickey[:fieldparams.FeeRecipientLength])).Hex() | ||
if deterministicFeeRecipient != account.Hex() && components.DefaultFeeRecipientAddress != account.Hex() { |
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.
As a last point, is there anyway to differentiate which validator should be running with the default recipients and which validators should not be ? It is possible (ex:some validator bug) , where the validator does not apply the proposer config correctly and just uses the default fee recipient. With this check we wouldn't have anyway to differentiate. If this isn't possible to figure out currently it is fine we can ignore it for now.
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.
That's a good point was also thinking about it. I'll see if I can think of something for this. There definitely are validators that use the default , will spend more time figuring out why.
What type of PR is this?
E2E
relates to #10292
What does this PR do? Why is it needed?
This PR is to provide E2E for the fee-recipient feature #10292 ( only works post merge/bellatrix release) It will check the presence of the fee recipient in the bellatrix block and see if the user receives transactions.