Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to publish blocks with /eth/v2/beacon/blocks #5531

Closed
mcdee opened this issue Oct 26, 2023 · 1 comment
Closed

Failure to publish blocks with /eth/v2/beacon/blocks #5531

mcdee opened this issue Oct 26, 2023 · 1 comment

Comments

@mcdee
Copy link

mcdee commented Oct 26, 2023

POSTing block proposals to the /eth/v2/beacon/blocks returns an error. Simple reproduction (without proposal, but same error with them):

curl -X POST -H 'Content-type: application/json' --data '{}' http://localhost:9090/eth/v2/beacon/blocks
{"code":500,"message":"gossip broadcast_validation only supported"}

The same error occurs even if the broadcast_validation parameter is supplied.

curl -X POST -H 'Content-type: application/json' --data '{}' 'http://localhost:9090/eth/v2/beacon/blocks?broadcast_validation=gossip'
{"code":500,"message":"gossip broadcast_validation only supported"}

The first POST should work, given that gossip is the default value for broadcast_validation.

nimbus_beacon_node --version
Nimbus beacon node v23.10.0-8b07f4-stateofus
Copyright (c) 2019-2023 Status Research & Development GmbH

eth2 specification v1.4.0-beta.2-hotfix

Nim Compiler Version 1.6.14 [Linux: amd64]
cheatfate added a commit that referenced this issue Oct 31, 2023
arnetheduck pushed a commit that referenced this issue Nov 1, 2023
…#5547)

* Address issue #5531.

* Add more tests.

* Add to resttest ability to check values.
Fix tests.
@tersec
Copy link
Contributor

tersec commented Nov 4, 2023

#5547

@tersec tersec closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants