-
Notifications
You must be signed in to change notification settings - Fork 743
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
Set fee recipient per validator #2883
Comments
Can I just check that by 'per validator', you mean validator account rather than validator client? Also, any insight on how / where the validator will store the validator account | fee recipient association? Just to add a bit more colour - for non-pooling staking providers, this will be an important feature. |
If we require different |
This feature is highly desirable for Rocket Pool (and likely for other staking providers). The main use case for us is for users running both Rocket Pool validators and solo validators simultaneously. Being able to direct priority fees to themselves or to Rocket Pool based on which validator proposed the block. |
I've added a fee-recipient & fee-recipient-file flag to the validator client which works the same way as graffiti / graffiti-file does. Currently testing it on kintsugi to see if it's working like that :) I'm not very familiar with rust and it's just a learning-by-doing copy-paste implementation of the existing graffiti / graffiti-file code. |
Turns out that since the CL needs to ask the EL to start preparing a payload well in advance of it's proposal duties (check this issue for more details #2715) , we cannot send the As mentioned in the above linked issue, we would need to have an api like Apologies for the misinformation, specially to @pk910 for the extra work 😅 |
Yea, saw it and makes sense. Didn't know that the EL needs to prepare blocks before that api call. (lighthouse currently does that all synchronously) Maybe I'll try on implementing the prepare_beacon_proposer endpoint.. And |
Yep, the proposal assumes that the BN api is closed off to anyone but the authenticated VCs.
Proposer shuffling is known only 1 epoch in advance. So if we are at the final slot
I think @paulhauner would be able to guide you better on this one, I think there are a fair bit of intricacies to take care of related to caching proposer duties here. |
Summarising some conversation from this Discord thread:
|
Hi @michaelsproul, I was following the discussion on Discord. Did you guys agreed on feeding this information via file or exposing an endpoint via HTTP? In the context of staking providers, an API could possibly be the easiest path to integrate with. In any case, could you guys allow updating the fee recipient per validator without needing to restart BN or VC? Just to add an alternative, VC could pool this configuration via HTTP, in a similar way it re-reads from a file. |
I think this needs to be somewhat configurable, to support using alternative BN and/or EL as a fallback (and letting them have the fees when in use). |
I have validator indexes and beacon nodes, eth2 withdrawal address , and a
bunch of other stuff.. it says I have 900 something ether on the beacon
cha.in.. but I don't know , what exactly, I'm doing with all this stuff. I
don't know how to recieve fee payments. I dont even know what I'm
validating to be quite honest. Can some one help me with this? I'm under
the impression I've got money somewhere, but I started messing with crypto
around July 2020.
…On Tue, Feb 1, 2022, 11:18 AM Ramana Kumar ***@***.***> wrote:
The VC should check that the fee recipient is as it expects when signing
and refuse to sign if there's a mismatch. This protects against the BN or
the EL being malicious and converts cases where the BN lacks the correct
fee recipient into signing failures (i.e. equivalent to if the BN were
offline).
I think this needs to be somewhat configurable, to support using
alternative BN and/or EL as a fallback (and letting them have the fees when
in use).
—
Reply to this email directly, view it on GitHub
<#2883 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATAXCVPVHPYLNO2BMLWMLA3UZAPWPANCNFSM5KXGK4IA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
…t (similar to graffiti / graffiti-file) (#2924) ## Issue Addressed #2883 ## Proposed Changes * Added `suggested-fee-recipient` & `suggested-fee-recipient-file` flags to validator client (similar to graffiti / graffiti-file implementation). * Added proposer preparation service to VC, which sends the fee-recipient of all known validators to the BN via [/eth/v1/validator/prepare_beacon_proposer](ethereum/beacon-APIs#178) api once per slot * Added [/eth/v1/validator/prepare_beacon_proposer](ethereum/beacon-APIs#178) api endpoint and preparation data caching * Added cleanup routine to remove cached proposer preparations when not updated for 2 epochs ## Additional Info Changed the Implementation following the discussion in #2883. Co-authored-by: pk910 <philipp@pk910.de> Co-authored-by: Paul Hauner <paul@paulhauner.com> Co-authored-by: Philipp K <philipp@pk910.de>
…t (similar to graffiti / graffiti-file) (#2924) ## Issue Addressed #2883 ## Proposed Changes * Added `suggested-fee-recipient` & `suggested-fee-recipient-file` flags to validator client (similar to graffiti / graffiti-file implementation). * Added proposer preparation service to VC, which sends the fee-recipient of all known validators to the BN via [/eth/v1/validator/prepare_beacon_proposer](ethereum/beacon-APIs#178) api once per slot * Added [/eth/v1/validator/prepare_beacon_proposer](ethereum/beacon-APIs#178) api endpoint and preparation data caching * Added cleanup routine to remove cached proposer preparations when not updated for 2 epochs ## Additional Info Changed the Implementation following the discussion in #2883. Co-authored-by: pk910 <philipp@pk910.de> Co-authored-by: Paul Hauner <paul@paulhauner.com> Co-authored-by: Philipp K <philipp@pk910.de>
Resolved via #2924 which implements setting the fee recipient via:
More information here: https://lighthouse-book.sigmaprime.io/suggested-fee-recipient.html |
It would be nice to be able to set the fee recipient on a per-validator basis so that validators sharing a BN need not use the same address
The text was updated successfully, but these errors were encountered: