feat: parse warp route artifacts with token-specific key names (#3420)
### Description Looks like all warp route artifacts until now used to have keys named `router`. The new artifacts (for USDC and USDT, inevm <> EVM) have their keys named according to the token type (e.g. `HypERC20`, `HypERC20Collateral` etc). This adds a script to parse such files, and updates agent images to deploy with these warp route app_context labels. ### Drive-by changes <!-- Are there any minor or drive-by changes also included? --> ### Related issues - Fixes https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3415 - Fixes https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3397 ### Backward compatibility <!-- Are these changes backward compatible? Are there any infrastructure implications, e.g. changes that would prohibit deploying older commits using this infra tooling? Yes/No --> ### Testing What kind of testing have these changes undergone? Manual on RC, by disabling the whitelist and applying the same `metricAppContexts` as for the hyperlane context: ``` hyperlane_submitter_queue_length{agent="relayer",app_context="injective_inevm_inj",hyperlane_baselib_version="0.1.0",queue_name="confirm_queue",remote="injective"} 9 hyperlane_submitter_queue_length{agent="relayer",app_context="injective_inevm_inj",hyperlane_baselib_version="0.1.0",queue_name="prepare_queue",remote="injective"} 0 hyperlane_submitter_queue_length{agent="relayer",app_context="inevm_ethereum_usdc",hyperlane_baselib_version="0.1.0",queue_name="confirm_queue",remote="inevm"} 7 hyperlane_submitter_queue_length{agent="relayer",app_context="inevm_ethereum_usdc",hyperlane_baselib_version="0.1.0",queue_name="prepare_queue",remote="inevm"} 1 hyperlane_submitter_queue_length{agent="relayer",app_context="inevm_ethereum_usdt",hyperlane_baselib_version="0.1.0",queue_name="confirm_queue",remote="inevm"} 10 hyperlane_submitter_queue_length{agent="relayer",app_context="inevm_ethereum_usdt",hyperlane_baselib_version="0.1.0",queue_name="prepare_queue",remote="inevm"} 0 ```pull/3426/head
parent
ae0990a0b3
commit
a72c3cf1a5
@ -1,8 +1,10 @@ |
||||
{ |
||||
"inevm": { |
||||
"HypERC20": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147" |
||||
"router": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147", |
||||
"type": "HypERC20" |
||||
}, |
||||
"ethereum": { |
||||
"HypERC20Collateral": "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f" |
||||
"router": "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f", |
||||
"type": "HypERC20Collateral" |
||||
} |
||||
} |
||||
|
@ -1,8 +1,10 @@ |
||||
{ |
||||
"inevm": { |
||||
"HypERC20": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5" |
||||
"router": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5", |
||||
"type": "HypERC20" |
||||
}, |
||||
"ethereum": { |
||||
"HypERC20Collateral": "0xab852e67bf03E74C89aF67C4BA97dd1088D3dA19" |
||||
"router": "0xab852e67bf03E74C89aF67C4BA97dd1088D3dA19", |
||||
"type": "HypERC20Collateral" |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue