Skip to content

Commit

Permalink
Configure eslint for yaml linting and sorting (#39)
Browse files Browse the repository at this point in the history
### Description

- Add eslint-plugin-yml
- Configure eslint for yaml linting and sorting
- Fix existing lint errors

### Backward compatibility

Yes
  • Loading branch information
jmrossy authored May 20, 2024
1 parent 4db8e36 commit c326321
Show file tree
Hide file tree
Showing 23 changed files with 256 additions and 193 deletions.
10 changes: 5 additions & 5 deletions chains/ancient8/addresses.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
staticAggregationHookFactory: "0xEb9FcFDC9EfDC17c1EC5E1dc085B98485da213D6"
staticAggregationIsmFactory: "0x8F7454AC98228f3504Bb91eA3D8Adafe6406110A"
domainRoutingIsmFactory: "0x1052eF3419f26Bec74Ed7CEf4a4FA6812Bc09908"
fallbackRoutingHook: "0x5E01d8F34b629E3f92d69546bbc4142A7Adee7e9"
interchainGasPaymaster: "0x8F1E22d309baa69D398a03cc88E9b46037e988AA"
interchainSecurityModule: "0x6E3387e12C6e181BF8e712eCa9c60ccEEaBD1c67"
mailbox: "0x2f2aFaE1139Ce54feFC03593FeE8AB2aDF4a85A7"
staticMerkleRootMultisigIsmFactory: "0x2C1FAbEcd7bFBdEBF27CcdB67baADB38b6Df90fC"
merkleTreeHook: "0x811808Dd29ba8B0FC6C0ec0b5537035E59745162"
staticMessageIdMultisigIsmFactory: "0x8b83fefd896fAa52057798f6426E9f0B080FCCcE"
pausableHook: "0x66DC49405Ae2956f7E87FEAa9fE8f506C8987462"
protocolFee: "0xE0C452DDA7506f0F4dE5C8C1d383F7aD866eA4F0"
proxyAdmin: "0x0761b0827849abbf7b0cC09CE14e1C93D87f5004"
domainRoutingIsmFactory: "0x1052eF3419f26Bec74Ed7CEf4a4FA6812Bc09908"
staticAggregationHookFactory: "0xEb9FcFDC9EfDC17c1EC5E1dc085B98485da213D6"
staticAggregationIsmFactory: "0x8F7454AC98228f3504Bb91eA3D8Adafe6406110A"
staticMerkleRootMultisigIsmFactory: "0x2C1FAbEcd7bFBdEBF27CcdB67baADB38b6Df90fC"
staticMessageIdMultisigIsmFactory: "0x8b83fefd896fAa52057798f6426E9f0B080FCCcE"
storageGasOracle: "0x59Bf7c7b458375b1A7c453aE70EaCb376E65CDAF"
testRecipient: "0x2Fa570E83009eaEef3a1cbd496a9a30F05266634"
validatorAnnounce: "0x931dFCc8c1141D6F532FD023bd87DAe0080c835d"
2 changes: 1 addition & 1 deletion chains/ancient8/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
blockExplorers:
- apiUrl: https://scan.ancient8.gg/api
family: blockscout
name: "Ancient8 Explorer"
name: Ancient8 Explorer
url: https://scan.ancient8.gg
blocks:
confirmations: 1
Expand Down
22 changes: 11 additions & 11 deletions chains/holesky/addresses.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
mailbox: "0x46f7C5D896bbeC89bE1B19e4485e59b4Be49e9Cc"
proxyAdmin: "0x33dB966328Ea213b0f76eF96CA368AB37779F065"
validatorAnnounce: "0xAb9B273366D794B7F80B4378bc8Aaca75C6178E2"
testRecipient: "0x86fb9F1c124fB20ff130C41a79a432F770f67AFD"
staticMerkleRootMultisigIsmFactory: "0xC2E36cd6e32e194EE11f15D9273B64461A4D49A2"
staticMessageIdMultisigIsmFactory: "0x6966b0E55883d49BFB24539356a2f8A673E02039"
staticAggregationIsmFactory: "0x54148470292C24345fb828B003461a9444414517"
staticAggregationHookFactory: "0x589C201a07c26b4725A4A829d772f24423da480B"
domainRoutingIsmFactory: "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD"
fallbackRoutingHook: "0x07009DA2249c388aD0f416a235AfE90D784e1aAc"
interchainGasPaymaster: "0x5CBf4e70448Ed46c2616b04e9ebc72D29FF0cfA9"
interchainSecurityModule: "0x751f2b684EeBb916dB777767CCb8fd793C8b2956"
mailbox: "0x46f7C5D896bbeC89bE1B19e4485e59b4Be49e9Cc"
merkleTreeHook: "0x98AAE089CaD930C64a76dD2247a2aC5773a4B8cE"
fallbackRoutingHook: "0x07009DA2249c388aD0f416a235AfE90D784e1aAc"
pausableHook: "0xF7561c34f17A32D5620583A3397C304e7038a7F6"
storageGasOracle: "0x2b2a158B4059C840c7aC67399B153bb567D06303"
interchainGasPaymaster: "0x5CBf4e70448Ed46c2616b04e9ebc72D29FF0cfA9"
protocolFee: "0x6b1bb4ce664Bb4164AEB4d3D2E7DE7450DD8084C"
proxyAdmin: "0x33dB966328Ea213b0f76eF96CA368AB37779F065"
staticAggregationHookFactory: "0x589C201a07c26b4725A4A829d772f24423da480B"
staticAggregationIsmFactory: "0x54148470292C24345fb828B003461a9444414517"
staticMerkleRootMultisigIsmFactory: "0xC2E36cd6e32e194EE11f15D9273B64461A4D49A2"
staticMessageIdMultisigIsmFactory: "0x6966b0E55883d49BFB24539356a2f8A673E02039"
storageGasOracle: "0x2b2a158B4059C840c7aC67399B153bb567D06303"
testRecipient: "0x86fb9F1c124fB20ff130C41a79a432F770f67AFD"
validatorAnnounce: "0xAb9B273366D794B7F80B4378bc8Aaca75C6178E2"
6 changes: 3 additions & 3 deletions chains/holesky/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ blocks:
confirmations: 1
estimateBlockTime: 13
reorgPeriod: 2
name: holesky
chainId: 17000
isTestnet: true
domainId: 17000
protocol: ethereum
isTestnet: true
name: holesky
nativeToken:
decimals: 18
name: Ether
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://ethereum-holesky-rpc.publicnode.com
2 changes: 1 addition & 1 deletion deployments/avs/holesky.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
contracts:
avsDirectory: "0x055733000064333CaDDbC92763c58BF0192fFeBf"
proxyAdmin: "0x6e7b29cb2a7617405b4d30c6f84bbd51b4bb4be8"
ecdsaStakeRegistry: "0x275aCcCa81cAD931dC6fB6E49ED233Bc99Bed4A7"
hyperlaneServiceManager: "0x16B710b86CAd07E6F1C531861a16F5feC29dba37"
proxyAdmin: "0x6e7b29cb2a7617405b4d30c6f84bbd51b4bb4be8"
4 changes: 2 additions & 2 deletions deployments/warp_routes/ECLIP/arbitrum-neutron-addresses.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
neutron:
collateral: neutron1dvzvf870mx9uf65uqhx40yzx9gu4xlqqq2pnx362a0ndmustww3smumrf5
arbitrum:
synthetic: "0x93ca0d85837FF83158Cd14D65B169CdB223b1921"
neutron:
collateral: neutron1dvzvf870mx9uf65uqhx40yzx9gu4xlqqq2pnx362a0ndmustww3smumrf5
24 changes: 12 additions & 12 deletions deployments/warp_routes/ECLIP/arbitrum-neutron-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# yaml-language-server: $schema=../schema.json
tokens:
- chainName: neutron
standard: CwHypCollateral
decimals: 6
symbol: ECLIP
name: Eclipse Fi
addressOrDenom: neutron1dvzvf870mx9uf65uqhx40yzx9gu4xlqqq2pnx362a0ndmustww3smumrf5
- addressOrDenom: neutron1dvzvf870mx9uf65uqhx40yzx9gu4xlqqq2pnx362a0ndmustww3smumrf5
chainName: neutron
collateralAddressOrDenom: factory/neutron10sr06r3qkhn7xzpw3339wuj77hu06mzna6uht0/eclip
igpTokenAddressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
connections:
- token: ethereum|arbitrum|0x93ca0d85837FF83158Cd14D65B169CdB223b1921
- chainName: arbitrum
standard: EvmHypSynthetic
decimals: 6
symbol: ECLIP
igpTokenAddressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
name: Eclipse Fi
addressOrDenom: "0x93ca0d85837FF83158Cd14D65B169CdB223b1921"
logoURI: /logos/ECLIP.png
standard: CwHypCollateral
symbol: ECLIP
- addressOrDenom: "0x93ca0d85837FF83158Cd14D65B169CdB223b1921"
chainName: arbitrum
connections:
- token: cosmos|neutron|neutron1dvzvf870mx9uf65uqhx40yzx9gu4xlqqq2pnx362a0ndmustww3smumrf5
decimals: 6
logoURI: /logos/ECLIP.png
name: Eclipse Fi
standard: EvmHypSynthetic
symbol: ECLIP
20 changes: 10 additions & 10 deletions deployments/warp_routes/ETH/ethereum-viction-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# yaml-language-server: $schema=../schema.json
tokens:
- chainName: ethereum
standard: EvmHypNative
decimals: 18
symbol: ETH
name: Ethereum
addressOrDenom: "0x15b5D6B614242B118AA404528A7f3E2Ad241e4A4"
- addressOrDenom: "0x15b5D6B614242B118AA404528A7f3E2Ad241e4A4"
chainName: ethereum
connections:
- token: ethereum|viction|0x182e8d7c5f1b06201b102123fc7df0eaeb445a7b
- chainName: viction
standard: EvmHypSynthetic
decimals: 18
symbol: ETH
name: Ethereum
addressOrDenom: "0x182e8d7c5f1b06201b102123fc7df0eaeb445a7b"
standard: EvmHypNative
symbol: ETH
- addressOrDenom: "0x182e8d7c5f1b06201b102123fc7df0eaeb445a7b"
chainName: viction
connections:
- token: ethereum|ethereum|0x15b5D6B614242B118AA404528A7f3E2Ad241e4A4
decimals: 18
name: Ethereum
standard: EvmHypSynthetic
symbol: ETH
4 changes: 2 additions & 2 deletions deployments/warp_routes/INJ/injective-inevm-addresses.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
injective:
native: inj1mv9tjvkaw7x8w8y9vds8pkfq46g2vcfkjehc6k
inevm:
native: "0x26f32245fCF5Ad53159E875d5Cae62aEcf19c2d4"
injective:
native: inj1mv9tjvkaw7x8w8y9vds8pkfq46g2vcfkjehc6k
42 changes: 21 additions & 21 deletions deployments/warp_routes/INJ/injective-inevm-config.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# yaml-language-server: $schema=../schema.json
options:
interchainFeeConstants:
- addressOrDenom: inj
amount: "30000000000000000"
destination: inevm
origin: injective
localFeeConstants:
- addressOrDenom: inj
amount: "1000000000000000"
destination: inevm
origin: injective
tokens:
- chainName: injective
standard: CwHypNative
decimals: 18
symbol: INJ
name: Injective Coin
addressOrDenom: inj1mv9tjvkaw7x8w8y9vds8pkfq46g2vcfkjehc6k
- addressOrDenom: inj1mv9tjvkaw7x8w8y9vds8pkfq46g2vcfkjehc6k
chainName: injective
connections:
- token: ethereum|inevm|0x26f32245fCF5Ad53159E875d5Cae62aEcf19c2d4
- chainName: inevm
standard: EvmHypNative
decimals: 18
symbol: INJ
name: Injective Coin
addressOrDenom: "0x26f32245fCF5Ad53159E875d5Cae62aEcf19c2d4"
standard: CwHypNative
symbol: INJ
- addressOrDenom: "0x26f32245fCF5Ad53159E875d5Cae62aEcf19c2d4"
chainName: inevm
connections:
- token: cosmos|injective|inj1mv9tjvkaw7x8w8y9vds8pkfq46g2vcfkjehc6k
options:
localFeeConstants:
- origin: injective
destination: inevm
amount: "1000000000000000"
addressOrDenom: inj
interchainFeeConstants:
- origin: injective
destination: inevm
amount: "30000000000000000"
addressOrDenom: inj
decimals: 18
name: Injective Coin
standard: EvmHypNative
symbol: INJ
4 changes: 2 additions & 2 deletions deployments/warp_routes/TIA/arbitrum-neutron-addresses.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
neutron:
collateral: neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq
arbitrum:
synthetic: "0xD56734d7f9979dD94FAE3d67C7e928234e71cD4C"
neutron:
collateral: neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq
32 changes: 16 additions & 16 deletions deployments/warp_routes/TIA/arbitrum-neutron-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# yaml-language-server: $schema=../schema.json
options:
interchainFeeConstants:
- addressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
amount: 270000
destination: arbitrum
origin: neutron
tokens:
- chainName: neutron
standard: CwHypCollateral
decimals: 6
symbol: TIA.n
name: TIA.n
addressOrDenom: neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq
- addressOrDenom: neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq
chainName: neutron
collateralAddressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
connections:
- token: ethereum|arbitrum|0xD56734d7f9979dD94FAE3d67C7e928234e71cD4C
- chainName: arbitrum
standard: EvmHypSynthetic
decimals: 6
symbol: TIA.n
name: TIA.n
addressOrDenom: "0xD56734d7f9979dD94FAE3d67C7e928234e71cD4C"
standard: CwHypCollateral
symbol: TIA.n
- addressOrDenom: "0xD56734d7f9979dD94FAE3d67C7e928234e71cD4C"
chainName: arbitrum
connections:
- token: cosmos|neutron|neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq
options:
interchainFeeConstants:
- origin: neutron
destination: arbitrum
amount: 270000
addressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
decimals: 6
name: TIA.n
standard: EvmHypSynthetic
symbol: TIA.n
4 changes: 2 additions & 2 deletions deployments/warp_routes/TIA/manta-neutron-addresses.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
neutron:
collateral: neutron1ch7x3xgpnj62weyes8vfada35zff6z59kt2psqhnx9gjnt2ttqdqtva3pa
mantapacific:
synthetic: "0x6Fae4D9935E2fcb11fC79a64e917fb2BF14DaFaa"
neutron:
collateral: neutron1ch7x3xgpnj62weyes8vfada35zff6z59kt2psqhnx9gjnt2ttqdqtva3pa
32 changes: 16 additions & 16 deletions deployments/warp_routes/TIA/manta-neutron-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# yaml-language-server: $schema=../schema.json
options:
interchainFeeConstants:
- addressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
amount: 270000
destination: mantapacific
origin: neutron
tokens:
- chainName: neutron
standard: CwHypCollateral
decimals: 6
symbol: TIA.n
name: TIA.n
addressOrDenom: neutron1ch7x3xgpnj62weyes8vfada35zff6z59kt2psqhnx9gjnt2ttqdqtva3pa
- addressOrDenom: neutron1ch7x3xgpnj62weyes8vfada35zff6z59kt2psqhnx9gjnt2ttqdqtva3pa
chainName: neutron
collateralAddressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
connections:
- token: ethereum|mantapacific|0x6Fae4D9935E2fcb11fC79a64e917fb2BF14DaFaa
- chainName: mantapacific
standard: EvmHypSynthetic
decimals: 6
symbol: TIA.n
name: TIA.n
addressOrDenom: "0x6Fae4D9935E2fcb11fC79a64e917fb2BF14DaFaa"
standard: CwHypCollateral
symbol: TIA.n
- addressOrDenom: "0x6Fae4D9935E2fcb11fC79a64e917fb2BF14DaFaa"
chainName: mantapacific
connections:
- token: cosmos|neutron|neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq
options:
interchainFeeConstants:
- origin: neutron
destination: mantapacific
amount: 270000
addressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7
decimals: 6
name: TIA.n
standard: EvmHypSynthetic
symbol: TIA.n
4 changes: 2 additions & 2 deletions deployments/warp_routes/USDC/ethereum-ancient8-addresses.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ethereum:
collateral: "0x8b4192B9Ad1fCa440A5808641261e5289e6de95D"
ancient8:
synthetic: "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5"
ethereum:
collateral: "0x8b4192B9Ad1fCa440A5808641261e5289e6de95D"
20 changes: 10 additions & 10 deletions deployments/warp_routes/USDC/ethereum-ancient8-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# yaml-language-server: $schema=../schema.json
tokens:
- chainName: ethereum
standard: EvmHypCollateral
decimals: 6
symbol: USDC
name: USD Coin
addressOrDenom: "0x8b4192B9Ad1fCa440A5808641261e5289e6de95D"
- addressOrDenom: "0x8b4192B9Ad1fCa440A5808641261e5289e6de95D"
chainName: ethereum
collateralAddressOrDenom: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
connections:
- token: ethereum|ancient8|0x97423A68BAe94b5De52d767a17aBCc54c157c0E5
- chainName: ancient8
standard: EvmHypSynthetic
decimals: 6
symbol: USDC
name: USD Coin
addressOrDenom: "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5"
standard: EvmHypCollateral
symbol: USDC
- addressOrDenom: "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5"
chainName: ancient8
connections:
- token: ethereum|ethereum|0x8b4192B9Ad1fCa440A5808641261e5289e6de95D
decimals: 6
name: USD Coin
standard: EvmHypSynthetic
symbol: USDC
20 changes: 10 additions & 10 deletions deployments/warp_routes/USDC/ethereum-inevm-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# yaml-language-server: $schema=../schema.json
tokens:
- chainName: ethereum
standard: EvmHypCollateral
decimals: 6
symbol: USDC
name: USDC
addressOrDenom: "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f"
- addressOrDenom: "0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f"
chainName: ethereum
collateralAddressOrDenom: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
connections:
- token: ethereum|inevm|0x8358d8291e3bedb04804975eea0fe9fe0fafb147
- chainName: inevm
standard: EvmHypSynthetic
decimals: 6
symbol: USDC
name: USDC
addressOrDenom: "0x8358d8291e3bedb04804975eea0fe9fe0fafb147"
standard: EvmHypCollateral
symbol: USDC
- addressOrDenom: "0x8358d8291e3bedb04804975eea0fe9fe0fafb147"
chainName: inevm
connections:
- token: ethereum|ethereum|0xED56728fb977b0bBdacf65bCdD5e17Bb7e84504f
decimals: 6
name: USDC
standard: EvmHypSynthetic
symbol: USDC
Loading

0 comments on commit c326321

Please sign in to comment.