attestantio / go-eth2-client

Apache License 2.0
102 stars 59 forks source link

feat: UniversalProposal for produceBlockV3 #108

Closed pinebit closed 4 months ago

pinebit commented 4 months ago

This introduces UniversalProposal to support produceBlockV3 endpoint.

When I created the PR, I realized there is another one for the same purpose: https://github.com/attestantio/go-eth2-client/pull/107 done by @y0sher just a couple days ago.

In my implementation I did not deprecate the v2 endpoints, I believe they may co-exist safely in go-eth2-client project.

If you want to proceed with the other implementation, that's fine, just leave a note in the comment so I can close the PR.

cc @mcdee