Open yorhodes opened 7 months ago
Do you think this is another candidate for our operations efforts to prio?
Is this saying you'd rather not have configs that include non-EVM routers that are programmatically enrolled, and instead you'd rather manually run hyperlane router enroll <domain> <address>
?
@tkporter friendly ping
Is this saying you'd rather not have configs that include non-EVM routers that are programmatically enrolled, and instead you'd rather manually run
hyperlane router enroll <domain> <address>
?
from @yorhodes: given distance from unified version tracked config across VM boundaries (ie cosmwasm & EVM deploy tooling), I think a CLI enroll command is a good stopgap and is more obvious to newcomers
Problem
Enrolling routers across the VM boundary (eg between Neutron and Arbitrum) is unintuitive with the
RouterDeployer
usage ofRouterConfig.foreignDeployment
https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/00a91f8e68211cc8d3185f8f9e2aa58257b247cf/typescript/sdk/src/router/HyperlaneRouterDeployer.ts#L121
Solution
We should have a CLI command for
hyperlane router enroll <domain> <address>
-- it would be easy to mess up this config so we should add checks such as looking up the bytecode on the target network at the addressThis will make warp routes across VM boundaries easier.
Nice to have
This command group could include
ism
andhook
interactions as well