ChainSafe / lodestar

🌟 TypeScript Implementation of Ethereum Consensus
https://lodestar.chainsafe.io
Apache License 2.0
1.14k stars 278 forks source link

Implement builder circuit breaker functionality / liveness failsafe #6325

Closed nflaig closed 1 month ago

nflaig commented 7 months ago

From https://github.com/ethereum/builder-specs/pull/95:

Honest proposers implement a "circuit breaker" condition operationalized by the beacon node that is triggered when the node determines the chain is unhealthy. When the circuit breaker is fired, proposers MUST not utilize the external builder network and exclusively build locally.

nflaig commented 1 month ago

We already have

https://github.com/ChainSafe/lodestar/blob/3fb0f5cc6c121e154fef3ee06c0ffd6f59a4c840/packages/beacon-node/src/execution/builder/http.ts#L72-L88

is there anything else we would want to implement? If not this can be closed

nflaig commented 1 month ago

Behavior noted in https://github.com/ChainSafe/lodestar/issues/6325#issuecomment-2239316466 seems sufficient to me, closing for now