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
Why should this feature exist?
Engine API has concept for safe and finalized payloads within the ForkchoiceUpdated directive.
The execution spec does not require yet that these blocks are made available through the JSON-RPC, but it has been suggested and discussed several times in the ACD calls for example.
The ethclient.Client now support latest (nil) and pending (-1), but it would be useful to also support these new block concepts.
What are the use-cases?
For the end-user it would be helpful to have these available, but also for implementing tests in hive, we currently use the ethclient.Client module to obtain information from JSON-RPC, and part of the new tests for the Engine API require that we query for safe and finalized (I am not sure of the state of unsafe but it has been mentioned).
Implementation
Do you have ideas regarding the implementation of this feature?
At the moment it would be simply a matter of adding the string definitions (safe, finalized and maybe unsafe) to this function, even if setting the block number parameter to any of these strings results in error, we could this way start preparing the tests for when the actual definitions are included in the spec.
Are you willing to implement this feature?
Yes
The text was updated successfully, but these errors were encountered:
Rationale
Why should this feature exist?
Engine API has concept for
safe
andfinalized
payloads within the ForkchoiceUpdated directive.The execution spec does not require yet that these blocks are made available through the JSON-RPC, but it has been suggested and discussed several times in the ACD calls for example.
The ethclient.Client now support
latest
(nil) andpending
(-1), but it would be useful to also support these new block concepts.What are the use-cases?
For the end-user it would be helpful to have these available, but also for implementing tests in hive, we currently use the ethclient.Client module to obtain information from JSON-RPC, and part of the new tests for the Engine API require that we query for
safe
andfinalized
(I am not sure of the state ofunsafe
but it has been mentioned).Implementation
Do you have ideas regarding the implementation of this feature?
At the moment it would be simply a matter of adding the string definitions (
safe
,finalized
and maybeunsafe
) to this function, even if setting the block number parameter to any of these strings results in error, we could this way start preparing the tests for when the actual definitions are included in the spec.Are you willing to implement this feature?
Yes
The text was updated successfully, but these errors were encountered: