teku
teku copied to clipboard
Switch to publishBlockV2
Description
publishBlockV2 is mature enough API and we could consider switching to it on our VC if we don't need to keep V1 fallback. Otherwise we will get a lot of legacy code on switch.
There are several things worth to check before switching:
- are all BNs compatible with it? Prysm is working only with Prysm, Grandine doesn't have separate BN, so Lighthouse, Nimbus, Lodestar should be checked. Users cannot use versions prior first mainnet-deneb required release, so compatibility should be tested on this version for each BN. Kurtosis tool could help to do this.
- required GOSSIP validation on V2. Currently we publish block in any case. Unless it's the only block published, there is no risk for validator to do this. But any bug or whatever in GOSSIP validation will prevent node from publishing block. Also there could be delay added.