Conversation
| # Put the envelope into db and update optimistic status for the block. | ||
| dag.db.putExecutionPayloadEnvelope(signedEnvelope) | ||
|
|
||
| # https://github.com/ethereum/beacon-APIs/blob/v5.0.0-alpha.1/apis/eventstream/index.yaml |
There was a problem hiding this comment.
Why remove this comment? The idea is to identify which of the now-3 envelope SSE events triggers on specific conditions, and the dag.onEnvelopeFoo name doesn't make it immediately obvious what the mapping to/from the SSE event name is.
There was a problem hiding this comment.
Beacon block also has 3 SSE events and there is not references/comments so I thought it is fine to not have comment. Are you suggesting to add them to all 3 places and also to block's?
There was a problem hiding this comment.
It is also confusing to add on trigger instead of the event topic, likes how we define the data types of forks.
There was a problem hiding this comment.
It's partly because getting the triggers right is the most subtle part for these, and the part where the spec verbiage most directly applies.
Uh oh!
There was an error while loading. Please reload this page.