attestantio / go-eth2-client

Apache License 2.0
102 stars 59 forks source link

`SubmitBlindedProposal` uses wrong endpoint #118

Closed pinebit closed 3 months ago

pinebit commented 3 months ago

While integrating v0.21.0, I noticed that SubmitBlindedProposal uses endpoint := "/eth/v2/beacon/blocks" which is wrong I believe. It should be https://ethereum.github.io/beacon-APIs/#/Beacon/publishBlindedBlockV2. Therefore, endpoint := "/eth/v2/beacon/blinded_blocks".

cc @mcdee