You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
200: The block was validated successfully and has been broadcast. It has also been integrated into the beacon node's database.
202: The block failed validation, but was successfully broadcast anyway. It was not integrated into the beacon node's database.
it would be nice to disambiguate these cases when it exists
for example, the code calling this API could return something more expressive than a () like:
some of the beacon APIs return different status codes in the 2XX range to indicate different notions of success
e.g. https://ethereum.github.io/beacon-APIs/#/Beacon/publishBlock
200:
The block was validated successfully and has been broadcast. It has also been integrated into the beacon node's database.
202:
The block failed validation, but was successfully broadcast anyway. It was not integrated into the beacon node's database.
it would be nice to disambiguate these cases when it exists
for example, the code calling this API could return something more expressive than a
()
like:The text was updated successfully, but these errors were encountered: