attestantio / go-eth2-client

Apache License 2.0
102 stars 59 forks source link

feat: implement `produceBlockV3` #107

Closed y0sher closed 3 months ago

y0sher commented 4 months ago

Description

Implements produceBlockV3 according to the ethereum beacon spec.

Why

produceBlockV2 is deprecated according to the ethereum beacon specs. the only correct way to get full blocks right now is using produceBlockV3.

Open questions

@mcdee your review appreciated

pinebit commented 4 months ago

It turned out we worked simultaneously on the same problem :) Still, I pushed my PR https://github.com/attestantio/go-eth2-client/pull/108 to show an alternative solution. Feel free to discard if you want to proceed with yours. But we need this to be merged as soon as possible, as it blocks our work on Charon.

mcdee commented 4 months ago

Hi thanks for the PR. Internally we have been working on unifying the underlying blinded and non-blinded proposal flows, and have an alternate pr #116

Please could you take a look at this and let me know if it meets your requirements? Thank you.

mcdee commented 3 months ago

Functionality now available in the library.