feat: add block tag enum for validating reorgPeriod (#4739)
### Description - feat: add `EthJsonRpcBlockParameterTag` enum for validating reorgPeriod - cli will check that reorgPeriod is either a number or one of the appropriate tags, but the underlying schema is still left loose to be forwards-compatible - exporting the enum will also let us use this in unit tests on the registry side ### Drive-by changes na ### Related issues na ### Backward compatibility ye ### Testing ci --------- Signed-off-by: pbio <10051819+paulbalaji@users.noreply.github.com>pull/4740/head
parent
5fc442b97f
commit
d41aa69285
@ -0,0 +1,6 @@ |
||||
--- |
||||
'@hyperlane-xyz/cli': minor |
||||
'@hyperlane-xyz/sdk': minor |
||||
--- |
||||
|
||||
Add `EthJsonRpcBlockParameterTag` enum for validating reorgPeriod |
Loading…
Reference in new issue