Introduce PAYLOAD_BUILDER_VERSION#5377
Conversation
|
This I think it's more or less the same comment I had on the other PR. If we do allow builders to be created with any version, then off protocol projects may want to use that. What's the reason to restrict propagation to only 0x00 in this case? I would prefer to only restrict one reserved space and enforce this at creation |
If there's a will, there's a way. There's nothing we can do to prevent this. For instance, instead of the version they could use the first 4 values of the execution address. Ie
Because this check also exists in |
Yes, I think the assert on Allowing validators with different withdrawal prefix was useful (we are using it now to onboard builders for example). Reserving a space for builders versions is also useful (we can do whatever we want with those reserved ones). |
|
I'm going to make an executive decision & merge this PR. |
This PR introduces a new constant (
PAYLOAD_BUILDER_VERSION) for execution payload builders. Now that EIP-8282 is included, builders are not restricted to version 3 so this can start at 0. Builders onboarded at the fork are now hardcoded to usePAYLOAD_BUILDER_VERSIONinstead of the withdrawal prefix. And checks are added in gossip &process_execution_payload_bidto ensure the version is correct.