Open BelfordZ opened 1 year ago
Supporting these constraints would solve an issue for us. Most Ethereum clients have support a subscription API described here. But we can't add the underlying methods to the specs because of this lack of expressivity: https://github.com/ethereum/execution-apis/issues/496#issuecomment-1831695107
We should have a way to support 1 param determining the type of another param.
ie assume I have the following api:
If my api is such that when the param
foo
is1
, I need the parambaz
to bestring
, there is no way to represent that constraint at the moment.This issue is to come up with ideas and discuss ways this can be solved