-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #3415 - Fixes #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 ```
- Loading branch information
1 parent
290233d
commit 60c3dfd
Showing
4 changed files
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
typescript/infra/config/environments/mainnet3/warp/inevm-USDC-addresses.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
{ | ||
"inevm": { | ||
"HypERC20": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147" | ||
"router": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147", | ||
"type": "HypERC20" | ||
}, | ||
"ethereum": { | ||
"HypERC20Collateral": "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f" | ||
"router": "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f", | ||
"type": "HypERC20Collateral" | ||
} | ||
} |
6 changes: 4 additions & 2 deletions
6
typescript/infra/config/environments/mainnet3/warp/inevm-USDT-addresses.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
{ | ||
"inevm": { | ||
"HypERC20": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5" | ||
"router": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5", | ||
"type": "HypERC20" | ||
}, | ||
"ethereum": { | ||
"HypERC20Collateral": "0xab852e67bf03E74C89aF67C4BA97dd1088D3dA19" | ||
"router": "0xab852e67bf03E74C89aF67C4BA97dd1088D3dA19", | ||
"type": "HypERC20Collateral" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters