feat: relayer app contexts use warp route artifacts from the registry (#4845)
### Description This PR aims to solve 2 problems: forgetting to add warp routes as app contexts in the relayer, and deduplicating artifacts that live in infra and the registry - Removes a bunch of the duplicated warp route artifacts in infra, in favor of getting them from the registry - Now all WarpRouteIds defined in infra will be auto-populated into the mainnet3 relayers as app contexts, with the label as the warp route ID - This significantly increased the size of the metric app context configuration, which was previously supplied as an env var to the relayers. This caused the env var size limit to be hit. As a workaround, larger configuration strings are now moved into a configmap that will be read in as a JSON by the relayer. I intentionally kept some of the configs as env vars, e.g. the relayChains, because this is much more ergonomic to change on the fly and many of us have operational muscle memory around this that I didn't want to break. - Note one consequence of this is that merkly's ETH app is prone to running out of ETH and causing prep queues to rise. Because of this, I'll ignore merkly eth from our high urgency alert ### Drive-by changes - There are a few places we were whitelisting warp routes in the gas config that I've now removed. From what I can tell none of these are necessary anymore as they were intended to be temporary workarounds. - Updated the addresses for merkly from here https://minter.merkly.com/hyperlane/docs ### Related issues <!-- - Fixes #[issue number here] --> ### 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? None/Manual/Unit Tests -->pull/4846/head
parent
408b975900
commit
e1c6eef8ab
@ -0,0 +1,9 @@ |
|||||||
|
apiVersion: v1 |
||||||
|
kind: ConfigMap |
||||||
|
metadata: |
||||||
|
name: {{ include "agent-common.fullname" . }}-relayer-configmap |
||||||
|
labels: |
||||||
|
{{- include "agent-common.labels" . | nindent 4 }} |
||||||
|
data: |
||||||
|
relayer-config.json: | |
||||||
|
{{- toJson .Values.hyperlane.relayer.configMapConfig | nindent 4 }} |
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"ethereum": { |
|
||||||
"HypERC20Collateral": "0x1D622da2ce4C4D9D4B0611718cb3BcDcAd008DD4", |
|
||||||
"collateral": "0x1D622da2ce4C4D9D4B0611718cb3BcDcAd008DD4", |
|
||||||
"proxyAdmin": "0xe41a3270875f28A03312877cD95A01e9a53664b1", |
|
||||||
"timelockController": "0x0000000000000000000000000000000000000000" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"ancient8": { |
|
||||||
"router": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5" |
|
||||||
}, |
|
||||||
"ethereum": { |
|
||||||
"router": "0x8b4192B9Ad1fCa440A5808641261e5289e6de95D" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"neutron": { |
|
||||||
"router": "neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq" |
|
||||||
}, |
|
||||||
"arbitrum": { |
|
||||||
"router": "0xd56734d7f9979dd94fae3d67c7e928234e71cd4c" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"neutron": { |
|
||||||
"router": "neutron1dvzvf870mx9uf65uqhx40yzx9gu4xlqqq2pnx362a0ndmustww3smumrf5" |
|
||||||
}, |
|
||||||
"arbitrum": { |
|
||||||
"router": "0x93ca0d85837FF83158Cd14D65B169CdB223b1921" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"eclipsemainnet": { |
|
||||||
"router": "0xa0c167513f4d025217a48891973c3dbe41e10e76230033ef5d676299a18ca7f5" |
|
||||||
}, |
|
||||||
"stride": { |
|
||||||
"router": "stride1pvtesu3ve7qn7ctll2x495mrqf2ysp6fws68grvcu6f7n2ajghgsh2jdj6" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"eclipsemainnet": { |
|
||||||
"router": "0x0d258188d0761163da174da890d0c1becdee51a01dbc9e2a6bfcb342140eb509" |
|
||||||
}, |
|
||||||
"stride": { |
|
||||||
"router": "stride134axwdlam929m3mar3wv95nvkyep7mr87ravkqcpf8dfe3v0pjlqwrw6ee" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"inevm": { |
|
||||||
"synthetic": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147" |
|
||||||
}, |
|
||||||
"ethereum": { |
|
||||||
"collateral": "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"inevm": { |
|
||||||
"synthetic": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5" |
|
||||||
}, |
|
||||||
"ethereum": { |
|
||||||
"collateral": "0xab852e67bf03E74C89aF67C4BA97dd1088D3dA19" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"injective": { |
|
||||||
"router": "inj1mv9tjvkaw7x8w8y9vds8pkfq46g2vcfkjehc6k" |
|
||||||
}, |
|
||||||
"inevm": { |
|
||||||
"router": "0x26f32245fCF5Ad53159E875d5Cae62aEcf19c2d4" |
|
||||||
} |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"neutron": { |
|
||||||
"router": "neutron1ch7x3xgpnj62weyes8vfada35zff6z59kt2psqhnx9gjnt2ttqdqtva3pa" |
|
||||||
}, |
|
||||||
"mantapacific": { |
|
||||||
"router": "0x6fae4d9935e2fcb11fc79a64e917fb2bf14dafaa" |
|
||||||
} |
|
||||||
} |
|
@ -1,29 +0,0 @@ |
|||||||
{ |
|
||||||
"bsc": { |
|
||||||
"router": "0x9Ff085A556A498395B9edA690666E3BD34751024" |
|
||||||
}, |
|
||||||
"arbitrum": { |
|
||||||
"router": "0x1217441e6E8E960D065698317FE13594a5704f69" |
|
||||||
}, |
|
||||||
"optimism": { |
|
||||||
"router": "0xEF90AF9FCC831c5E2266285C4A1787201f96736a" |
|
||||||
}, |
|
||||||
"base": { |
|
||||||
"router": "0x4b36617B3D2cAb714a056090306A88Dd6DD4cCcf" |
|
||||||
}, |
|
||||||
"blast": { |
|
||||||
"router": "0xB951c9b16603825C285bf59b14e983047d421Af5" |
|
||||||
}, |
|
||||||
"mode": { |
|
||||||
"router": "0x477614191C3ccF8e10a6D1291dBAf098D17497BE" |
|
||||||
}, |
|
||||||
"linea": { |
|
||||||
"router": "0x477614191C3ccF8e10a6D1291dBAf098D17497BE" |
|
||||||
}, |
|
||||||
"ethereum": { |
|
||||||
"router": "0x0B386cAe2851E954b52D10Aee4ba8CCDC11463E1" |
|
||||||
}, |
|
||||||
"fraxtal": { |
|
||||||
"router": "0xdFf621F952c23972dFD3A9E5d7B9f6339e9c078B" |
|
||||||
} |
|
||||||
} |
|
@ -1,38 +0,0 @@ |
|||||||
{ |
|
||||||
"arbitrum": { |
|
||||||
"xERC20": "0xB26bBfC6d1F469C821Ea25099017862e7368F4E8" |
|
||||||
}, |
|
||||||
"base": { |
|
||||||
"xERC20": "0x2552516453368e42705D791F674b312b8b87CD9e" |
|
||||||
}, |
|
||||||
"blast": { |
|
||||||
"xERC20": "0x486b39378f99f073A3043C6Aabe8666876A8F3C5" |
|
||||||
}, |
|
||||||
"bsc": { |
|
||||||
"xERC20": "0xE00C6185a5c19219F1FFeD213b4406a254968c26" |
|
||||||
}, |
|
||||||
"ethereum": { |
|
||||||
"xERC20Lockbox": "0xC59336D8edDa9722B4f1Ec104007191Ec16f7087" |
|
||||||
}, |
|
||||||
"fraxtal": { |
|
||||||
"xERC20": "0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5" |
|
||||||
}, |
|
||||||
"linea": { |
|
||||||
"xERC20": "0xC59336D8edDa9722B4f1Ec104007191Ec16f7087" |
|
||||||
}, |
|
||||||
"mode": { |
|
||||||
"xERC20": "0xC59336D8edDa9722B4f1Ec104007191Ec16f7087" |
|
||||||
}, |
|
||||||
"optimism": { |
|
||||||
"xERC20": "0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2" |
|
||||||
}, |
|
||||||
"sei": { |
|
||||||
"xERC20": "0xE5163F148C82a0818545d5D34e30BC1EDA870cB9" |
|
||||||
}, |
|
||||||
"taiko": { |
|
||||||
"xERC20": "0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78" |
|
||||||
}, |
|
||||||
"zircuit": { |
|
||||||
"xERC20": "0x2552516453368e42705D791F674b312b8b87CD9e" |
|
||||||
} |
|
||||||
} |
|
@ -1,163 +0,0 @@ |
|||||||
{ |
|
||||||
"ancient8": [ |
|
||||||
{ |
|
||||||
"address": "0xB3fCcD379ad66CED0c91028520C64226611A48c9", |
|
||||||
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000000060000000000000000000000002f2afae1139ce54fefc03593fee8ab2adf4a85a7", |
|
||||||
"isProxy": false, |
|
||||||
"name": "Synthetic" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0xdB670e1a1e312BF17425b08cE55Bdf2cD8F8eD54", |
|
||||||
"constructorArguments": "", |
|
||||||
"isProxy": false, |
|
||||||
"name": "ProxyAdmin" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x9fA986ACB22953c504Fcf5985DFA476d481C3b1B", |
|
||||||
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000000060000000000000000000000002f2afae1139ce54fefc03593fee8ab2adf4a85a7", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5", |
|
||||||
"constructorArguments": "0000000000000000000000009fa986acb22953c504fcf5985dfa476d481c3b1b000000000000000000000000db670e1a1e312bf17425b08ce55bdf2cd8f8ed5400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144e80a7c79000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba000000000000000000000000000000000000000000000000000000000000000855534420436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
|
||||||
"isProxy": true, |
|
||||||
"name": "TransparentUpgradeableProxy" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x086eF95a2F74582Ee30E7D698518a872fb18301f", |
|
||||||
"constructorArguments": "", |
|
||||||
"isProxy": false, |
|
||||||
"name": "ProxyAdmin" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147", |
|
||||||
"constructorArguments": "", |
|
||||||
"isProxy": false, |
|
||||||
"name": "ProxyAdmin" |
|
||||||
} |
|
||||||
], |
|
||||||
"arbitrum": [ |
|
||||||
{ |
|
||||||
"address": "0x93ca0d85837FF83158Cd14D65B169CdB223b1921", |
|
||||||
"constructorArguments": "0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000979ca5202784112f4738403dbec5d0f3b9daabb9", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20" |
|
||||||
} |
|
||||||
], |
|
||||||
"ethereum": [ |
|
||||||
{ |
|
||||||
"address": "0x15b5D6B614242B118AA404528A7f3E2Ad241e4A4", |
|
||||||
"constructorArguments": "000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypNative" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x31Dca7762930f56D81292f85E65c9D67575804fE", |
|
||||||
"constructorArguments": "000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20Collateral" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x4221a16A01F61c2b38A03C52d828a7041f6AAA49", |
|
||||||
"constructorArguments": "000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20Collateral" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0xab852e67bf03E74C89aF67C4BA97dd1088D3dA19", |
|
||||||
"constructorArguments": "000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20Collateral" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f", |
|
||||||
"constructorArguments": "000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20Collateral" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x9f5cF636b4F2DC6D83c9d21c8911876C235DbC9f", |
|
||||||
"constructorArguments": "000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "Collateral" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x870464fE2EA3a6b3c242f30BDa1f1EFdDf580890", |
|
||||||
"constructorArguments": "", |
|
||||||
"isProxy": false, |
|
||||||
"name": "ProxyAdmin" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0xEd96482beA3C51a33b4c1aDa8b438e33A2367413", |
|
||||||
"constructorArguments": "", |
|
||||||
"isProxy": false, |
|
||||||
"name": "ProxyAdmin" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x7D0C8B23C5b35091972023cCc689cfeDcD881c7d", |
|
||||||
"constructorArguments": "000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20Collateral" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x8b4192B9Ad1fCa440A5808641261e5289e6de95D", |
|
||||||
"constructorArguments": "0000000000000000000000007d0c8b23c5b35091972023ccc689cfedcd881c7d000000000000000000000000ed96482bea3c51a33b4c1ada8b438e33a236741300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000064c0c53b8b00000000000000000000000019b2cf952b70b217c90fc408714fbc1acd29a6a8000000000000000000000000d17b4100cc66a2f1b9a452007ff26365aaeb7ec3000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba00000000000000000000000000000000000000000000000000000000", |
|
||||||
"isProxy": true, |
|
||||||
"name": "TransparentUpgradeableProxy" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0xe41a3270875f28A03312877cD95A01e9a53664b1", |
|
||||||
"constructorArguments": "", |
|
||||||
"isProxy": false, |
|
||||||
"name": "ProxyAdmin" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0xbE6501A4E68a3463A217eC0dEc862b1593C0A47D", |
|
||||||
"constructorArguments": "0000000000000000000000008c9532a60e0e7c6bbd2b2c1303f63ace1c3e9811000000000000000000000000c005dc82818d67af737725bd4bf75435d065d239", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20Collateral" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x1D622da2ce4C4D9D4B0611718cb3BcDcAd008DD4", |
|
||||||
"constructorArguments": "000000000000000000000000be6501a4e68a3463a217ec0dec862b1593c0a47d000000000000000000000000e41a3270875f28a03312877cd95a01e9a53664b100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000064c0c53b8b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba00000000000000000000000000000000000000000000000000000000", |
|
||||||
"expectedimplementation": "0xbE6501A4E68a3463A217eC0dEc862b1593C0A47D", |
|
||||||
"isProxy": true, |
|
||||||
"name": "TransparentUpgradeableProxy" |
|
||||||
} |
|
||||||
], |
|
||||||
"inevm": [ |
|
||||||
{ |
|
||||||
"address": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5", |
|
||||||
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000000060000000000000000000000002f2afae1139ce54fefc03593fee8ab2adf4a85a7", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x8358D8291e3bEDb04804975eEa0fe9fe0fAfB147", |
|
||||||
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000000060000000000000000000000002f2afae1139ce54fefc03593fee8ab2adf4a85a7", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20" |
|
||||||
} |
|
||||||
], |
|
||||||
"viction": [ |
|
||||||
{ |
|
||||||
"address": "0x182E8d7c5F1B06201b102123FC7dF0EaeB445a7B", |
|
||||||
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000000120000000000000000000000002f2afae1139ce54fefc03593fee8ab2adf4a85a7", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x811808Dd29ba8B0FC6C0ec0b5537035E59745162", |
|
||||||
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000000120000000000000000000000002f2afae1139ce54fefc03593fee8ab2adf4a85a7", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"address": "0x61DDB465eEA5bc3708Cf8B53156aC91a77A2f029", |
|
||||||
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000000120000000000000000000000002f2afae1139ce54fefc03593fee8ab2adf4a85a7", |
|
||||||
"isProxy": false, |
|
||||||
"name": "HypERC20" |
|
||||||
} |
|
||||||
] |
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
"viction": { |
|
||||||
"router": "0x182E8d7c5F1B06201b102123FC7dF0EaeB445a7B" |
|
||||||
}, |
|
||||||
"ethereum": { |
|
||||||
"router": "0x15b5D6B614242B118AA404528A7f3E2Ad241e4A4" |
|
||||||
} |
|
||||||
} |
|
@ -1,10 +0,0 @@ |
|||||||
{ |
|
||||||
"ethereum": { |
|
||||||
"HypERC20Collateral": "0x31Dca7762930f56D81292f85E65c9D67575804fE", |
|
||||||
"router": "0x31Dca7762930f56D81292f85E65c9D67575804fE" |
|
||||||
}, |
|
||||||
"viction": { |
|
||||||
"HypERC20": "0xBDa330Ea8F3005C421C8088e638fBB64fA71b9e0", |
|
||||||
"router": "0xBDa330Ea8F3005C421C8088e638fBB64fA71b9e0" |
|
||||||
} |
|
||||||
} |
|
@ -1,10 +0,0 @@ |
|||||||
{ |
|
||||||
"ethereum": { |
|
||||||
"router": "0x4221a16A01F61c2b38A03C52d828a7041f6AAA49", |
|
||||||
"HypERC20Collateral": "0x4221a16A01F61c2b38A03C52d828a7041f6AAA49" |
|
||||||
}, |
|
||||||
"viction": { |
|
||||||
"router": "0x48083c69f5a42c6b69abbad48ae195bd36770ee2", |
|
||||||
"HypERC20": "0x48083c69f5a42c6b69abbad48ae195bd36770ee2" |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue