chore: update Eclipse validator sets to include Stride, minor cleanup (#4747)
### Description - deletes all the mainnet2 artifacts that we don't need - moves the sealevel helper scripts into more explicit directories, and ensures thresholds are appropriate - updates the eclipse ISM ### Drive-by changes <!-- Are there any minor or drive-by changes also included? --> ### 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/4714/head
parent
c53e3302b3
commit
15db5c112d
@ -1 +0,0 @@ |
||||
**/**/keys |
@ -1,350 +0,0 @@ |
||||
{ |
||||
"bsc": { |
||||
"chainId": 56, |
||||
"domainId": 56, |
||||
"name": "bsc", |
||||
"protocol": "ethereum", |
||||
"displayName": "Binance Smart Chain", |
||||
"displayNameShort": "Binance", |
||||
"nativeToken": { |
||||
"decimals": 18, |
||||
"name": "BNB", |
||||
"symbol": "BNB" |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://bsc-dataseed.binance.org" |
||||
}, |
||||
{ |
||||
"http": "https://rpc.ankr.com/bsc" |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "BscScan", |
||||
"url": "https://bscscan.com", |
||||
"apiUrl": "https://api.bscscan.com/api", |
||||
"family": "etherscan" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 1, |
||||
"reorgPeriod": 15, |
||||
"estimateBlockTime": 3 |
||||
}, |
||||
"gasCurrencyCoinGeckoId": "binancecoin", |
||||
"gnosisSafeTransactionServiceUrl": "https://safe-transaction-bsc.safe.global/", |
||||
"transactionOverrides": { |
||||
"gasPrice": 7000000000 |
||||
} |
||||
}, |
||||
"avalanche": { |
||||
"chainId": 43114, |
||||
"domainId": 43114, |
||||
"name": "avalanche", |
||||
"protocol": "ethereum", |
||||
"displayName": "Avalanche", |
||||
"nativeToken": { |
||||
"decimals": 18, |
||||
"name": "Avalanche", |
||||
"symbol": "AVAX" |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://api.avax.network/ext/bc/C/rpc", |
||||
"pagination": { |
||||
"maxBlockRange": 100000, |
||||
"minBlockNumber": 6765067 |
||||
} |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "SnowTrace", |
||||
"url": "https://snowtrace.io", |
||||
"apiUrl": "https://api.snowtrace.io/api", |
||||
"family": "other" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 3, |
||||
"reorgPeriod": 3, |
||||
"estimateBlockTime": 2 |
||||
}, |
||||
"gasCurrencyCoinGeckoId": "avalanche-2", |
||||
"gnosisSafeTransactionServiceUrl": "https://safe-transaction-avalanche.safe.global/" |
||||
}, |
||||
"polygon": { |
||||
"chainId": 137, |
||||
"domainId": 137, |
||||
"name": "polygon", |
||||
"protocol": "ethereum", |
||||
"displayName": "Polygon", |
||||
"nativeToken": { |
||||
"name": "Ether", |
||||
"symbol": "ETH", |
||||
"decimals": 18 |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://rpc-mainnet.matic.quiknode.pro", |
||||
"pagination": { |
||||
"maxBlockRange": 10000, |
||||
"minBlockNumber": 19657100 |
||||
} |
||||
}, |
||||
{ |
||||
"http": "https://polygon-rpc.com" |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "PolygonScan", |
||||
"url": "https://polygonscan.com", |
||||
"apiUrl": "https://api.polygonscan.com/api", |
||||
"family": "etherscan" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 3, |
||||
"reorgPeriod": 256, |
||||
"estimateBlockTime": 2 |
||||
}, |
||||
"gasCurrencyCoinGeckoId": "matic-network", |
||||
"gnosisSafeTransactionServiceUrl": "https://safe-transaction-polygon.safe.global/", |
||||
"transactionOverrides": { |
||||
"maxFeePerGas": 500000000000, |
||||
"maxPriorityFeePerGas": 100000000000 |
||||
} |
||||
}, |
||||
"celo": { |
||||
"chainId": 42220, |
||||
"domainId": 42220, |
||||
"name": "celo", |
||||
"protocol": "ethereum", |
||||
"displayName": "Celo", |
||||
"nativeToken": { |
||||
"decimals": 18, |
||||
"name": "CELO", |
||||
"symbol": "CELO" |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://forno.celo.org" |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "CeloScan", |
||||
"url": "https://celoscan.io", |
||||
"apiUrl": "https://api.celoscan.io/api", |
||||
"family": "etherscan" |
||||
}, |
||||
{ |
||||
"name": "Blockscout", |
||||
"url": "https://explorer.celo.org", |
||||
"apiUrl": "https://explorer.celo.org/mainnet/api", |
||||
"family": "blockscout" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 1, |
||||
"reorgPeriod": 0, |
||||
"estimateBlockTime": 5 |
||||
}, |
||||
"gnosisSafeTransactionServiceUrl": "https://mainnet-tx-svc.celo-safe-prod.celo-networks-dev.org/" |
||||
}, |
||||
"arbitrum": { |
||||
"chainId": 42161, |
||||
"domainId": 42161, |
||||
"name": "arbitrum", |
||||
"protocol": "ethereum", |
||||
"displayName": "Arbitrum", |
||||
"nativeToken": { |
||||
"name": "Ether", |
||||
"symbol": "ETH", |
||||
"decimals": 18 |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://arb1.arbitrum.io/rpc" |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "Arbiscan", |
||||
"url": "https://arbiscan.io", |
||||
"apiUrl": "https://api.arbiscan.io/api", |
||||
"family": "etherscan" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 1, |
||||
"reorgPeriod": 0, |
||||
"estimateBlockTime": 3 |
||||
}, |
||||
"gasCurrencyCoinGeckoId": "ethereum", |
||||
"gnosisSafeTransactionServiceUrl": "https://safe-transaction-arbitrum.safe.global/" |
||||
}, |
||||
"optimism": { |
||||
"chainId": 10, |
||||
"domainId": 10, |
||||
"name": "optimism", |
||||
"protocol": "ethereum", |
||||
"displayName": "Optimism", |
||||
"nativeToken": { |
||||
"name": "Ether", |
||||
"symbol": "ETH", |
||||
"decimals": 18 |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://mainnet.optimism.io" |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "Etherscan", |
||||
"url": "https://optimistic.etherscan.io", |
||||
"apiUrl": "https://api-optimistic.etherscan.io/api", |
||||
"family": "etherscan" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 1, |
||||
"reorgPeriod": 0, |
||||
"estimateBlockTime": 3 |
||||
}, |
||||
"gasCurrencyCoinGeckoId": "ethereum", |
||||
"gnosisSafeTransactionServiceUrl": "https://safe-transaction-optimism.safe.global/" |
||||
}, |
||||
"ethereum": { |
||||
"chainId": 1, |
||||
"domainId": 1, |
||||
"name": "ethereum", |
||||
"protocol": "ethereum", |
||||
"displayName": "Ethereum", |
||||
"nativeToken": { |
||||
"name": "Ether", |
||||
"symbol": "ETH", |
||||
"decimals": 18 |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161" |
||||
}, |
||||
{ |
||||
"http": "https://cloudflare-eth.com" |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "Etherscan", |
||||
"url": "https://etherscan.io", |
||||
"apiUrl": "https://api.etherscan.io/api", |
||||
"family": "etherscan" |
||||
}, |
||||
{ |
||||
"name": "Blockscout", |
||||
"url": "https://blockscout.com/eth/mainnet", |
||||
"apiUrl": "https://blockscout.com/eth/mainnet/api", |
||||
"family": "blockscout" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 3, |
||||
"reorgPeriod": 14, |
||||
"estimateBlockTime": 13 |
||||
}, |
||||
"gnosisSafeTransactionServiceUrl": "https://safe-transaction-mainnet.safe.global/", |
||||
"transactionOverrides": { |
||||
"maxFeePerGas": 150000000000, |
||||
"maxPriorityFeePerGas": 5000000000 |
||||
} |
||||
}, |
||||
"moonbeam": { |
||||
"chainId": 1284, |
||||
"domainId": 1284, |
||||
"name": "moonbeam", |
||||
"protocol": "ethereum", |
||||
"displayName": "Moonbeam", |
||||
"nativeToken": { |
||||
"decimals": 18, |
||||
"name": "GLMR", |
||||
"symbol": "GLMR" |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://rpc.api.moonbeam.network" |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "MoonScan", |
||||
"url": "https://moonscan.io", |
||||
"apiUrl": "https://api-moonbeam.moonscan.io/api", |
||||
"family": "etherscan" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 2, |
||||
"reorgPeriod": 2, |
||||
"estimateBlockTime": 12 |
||||
}, |
||||
"gnosisSafeTransactionServiceUrl": "https://transaction.multisig.moonbeam.network" |
||||
}, |
||||
"gnosis": { |
||||
"chainId": 100, |
||||
"domainId": 100, |
||||
"name": "gnosis", |
||||
"protocol": "ethereum", |
||||
"displayName": "Gnosis", |
||||
"nativeToken": { |
||||
"name": "xDai", |
||||
"symbol": "xDai", |
||||
"decimals": 18 |
||||
}, |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://rpc.gnosischain.com", |
||||
"pagination": { |
||||
"maxBlockRange": 10000, |
||||
"minBlockNumber": 25997478 |
||||
} |
||||
} |
||||
], |
||||
"blockExplorers": [ |
||||
{ |
||||
"name": "GnosisScan", |
||||
"url": "https://gnosisscan.io", |
||||
"apiUrl": "https://api.gnosisscan.io/api", |
||||
"family": "etherscan" |
||||
} |
||||
], |
||||
"blocks": { |
||||
"confirmations": 1, |
||||
"reorgPeriod": 14, |
||||
"estimateBlockTime": 5 |
||||
}, |
||||
"gasCurrencyCoinGeckoId": "xdai", |
||||
"gnosisSafeTransactionServiceUrl": "https://safe-transaction-gnosis-chain.safe.global/" |
||||
}, |
||||
"solanamainnet": { |
||||
"chainId": 1399811149, |
||||
"name": "solanamainnet", |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://api.mainnet-beta.solana.com" |
||||
} |
||||
] |
||||
}, |
||||
"nautilus": { |
||||
"chainId": 22222, |
||||
"name": "nautilus", |
||||
"rpcUrls": [ |
||||
{ |
||||
"http": "https://api.nautilus.nautchain.xyz" |
||||
} |
||||
] |
||||
} |
||||
} |
@ -1,20 +0,0 @@ |
||||
[ |
||||
{ |
||||
"domain": 56, |
||||
"gasOracle": { |
||||
"type": "remoteGasData", |
||||
"tokenExchangeRate": "100000000000000000000", |
||||
"gasPrice": "3000000000", |
||||
"tokenDecimals": 18 |
||||
} |
||||
}, |
||||
{ |
||||
"domain": 22222, |
||||
"gasOracle": { |
||||
"type": "remoteGasData", |
||||
"tokenExchangeRate": "4700000000000000", |
||||
"gasPrice": "1000000000", |
||||
"tokenDecimals": 18 |
||||
} |
||||
} |
||||
] |
@ -1,30 +0,0 @@ |
||||
{ |
||||
"solanamainnet": {}, |
||||
"bsc": { |
||||
"foreignDeployment": "0xB97d3bF2fC296c2cAC4056bBC8A783ff39408e20" |
||||
}, |
||||
"avalanche": { |
||||
"foreignDeployment": "0x2A925CD8a5d919c5c6599633090c37fe38A561b6" |
||||
}, |
||||
"polygon": { |
||||
"foreignDeployment": "0x6c0aC8cEA75232aa7BeD8cbe9C4f820E7a77a9C3" |
||||
}, |
||||
"celo": { |
||||
"foreignDeployment": "0x4151773Db70C0b2D4c43Ea44A5FB5803ff1d3e0B" |
||||
}, |
||||
"arbitrum": { |
||||
"foreignDeployment": "0x96271cA0ab9eeFB3Ca481749c0Ca4c705fD4F523" |
||||
}, |
||||
"optimism": { |
||||
"foreignDeployment": "0xA6f0A37DFDe9C2c8F46F010989C47d9edB3a9FA8" |
||||
}, |
||||
"ethereum": { |
||||
"foreignDeployment": "0x9311cEE522A7C122B843b66cC31C6a63e2F92641" |
||||
}, |
||||
"moonbeam": { |
||||
"foreignDeployment": "0xAe067C08703508230357025B38c35Cd12793628c" |
||||
}, |
||||
"gnosis": { |
||||
"foreignDeployment": "0x26f32245fCF5Ad53159E875d5Cae62aEcf19c2d4" |
||||
} |
||||
} |
@ -1,42 +0,0 @@ |
||||
{ |
||||
"moonbeam": { |
||||
"hex": "0x000000000000000000000000ae067c08703508230357025b38c35cd12793628c", |
||||
"base58": "1111111111113RcuHPfDctyAnFWHvj8tS1q8UHPh" |
||||
}, |
||||
"bsc": { |
||||
"hex": "0x000000000000000000000000b97d3bf2fc296c2cac4056bbc8a783ff39408e20", |
||||
"base58": "1111111111113atAoP8gQ2GYeue77ETUPAf8w9zw" |
||||
}, |
||||
"optimism": { |
||||
"hex": "0x000000000000000000000000a6f0a37dfde9c2c8f46f010989c47d9edb3a9fa8", |
||||
"base58": "1111111111113KtqevvpYv7NCiadmp6tRRfivB8K" |
||||
}, |
||||
"avalanche": { |
||||
"hex": "0x0000000000000000000000002a925cd8a5d919c5c6599633090c37fe38a561b6", |
||||
"base58": "111111111111bQB6b7XVDHSyvi7XmLrQMT8C3xH" |
||||
}, |
||||
"ethereum": { |
||||
"hex": "0x0000000000000000000000009311cee522a7c122b843b66cc31c6a63e2f92641", |
||||
"base58": "11111111111133qb6DzNiJ7whNaYGud2WqqtjxFS" |
||||
}, |
||||
"solanamainnet": { |
||||
"hex": "0x3797d0096b18b5b645c346a66d7f18c6c5738782c6bce24da57a3462bdef82b1", |
||||
"base58": "4k1gruSdH1r57V9QQK4aunzfMYzLFfF83jdYkkEwyem6" |
||||
}, |
||||
"celo": { |
||||
"hex": "0x0000000000000000000000004151773db70c0b2d4c43ea44a5fb5803ff1d3e0b", |
||||
"base58": "111111111111unDVQcjdeHntE83qvf1vsKCZ4av" |
||||
}, |
||||
"polygon": { |
||||
"hex": "0x0000000000000000000000006c0ac8cea75232aa7bed8cbe9c4f820e7a77a9c3", |
||||
"base58": "1111111111112WJXE3PCAsCXYZxU9Kh51sSZEa5G" |
||||
}, |
||||
"arbitrum": { |
||||
"hex": "0x00000000000000000000000096271ca0ab9eefb3ca481749c0ca4c705fd4f523", |
||||
"base58": "11111111111136L61X7cdT9tPZ4GKBtzJtrjFAd8" |
||||
}, |
||||
"gnosis": { |
||||
"hex": "0x00000000000000000000000026f32245fcf5ad53159e875d5cae62aecf19c2d4", |
||||
"base58": "111111111111YURfyMRiiTWy8X6pYHAqmYPmBpf" |
||||
} |
||||
} |
@ -1,32 +0,0 @@ |
||||
{ |
||||
"solanamainnet": { |
||||
"interchainSecurityModule": "BYTsxBuKVbwgsZFswzB91nrxveQySghwXzaKqn8exNnC" |
||||
}, |
||||
"gnosis": { |
||||
"foreignDeployment": "0x99ca8c74cE7Cfa9d72A51fbb05F9821f5f826b3a" |
||||
}, |
||||
"bsc": { |
||||
"foreignDeployment": "0xe5554478F167936dB253f79f57c41770bfa00Bae" |
||||
}, |
||||
"avalanche": { |
||||
"foreignDeployment": "0xe1De9910fe71cC216490AC7FCF019e13a34481D7" |
||||
}, |
||||
"polygon": { |
||||
"foreignDeployment": "0xAb65C41a1BC580a52f0b166879122EFdce0cB868" |
||||
}, |
||||
"celo": { |
||||
"foreignDeployment": "0xfE29f6a4468536029Fc9c97d3a9669b9fe38E114" |
||||
}, |
||||
"arbitrum": { |
||||
"foreignDeployment": "0x414B67F62b143d6db6E9b633168Dd6fd4DA20642" |
||||
}, |
||||
"optimism": { |
||||
"foreignDeployment": "0xB4caf2CA864B413DAA502fA18A8D48cD0740fC52" |
||||
}, |
||||
"ethereum": { |
||||
"foreignDeployment": "0xed31c20c5517EaC05decD5F6dCd01Fe6d16fD09D" |
||||
}, |
||||
"moonbeam": { |
||||
"foreignDeployment": "0x3eB9eE2CFC8DCB6F58B5869D33336CFcBf1dC354" |
||||
} |
||||
} |
@ -1,42 +0,0 @@ |
||||
{ |
||||
"solanamainnet": { |
||||
"hex": "0x29dacc0e7124ea39b1fd43ab0fd30e038cf405c0229890229d0086d0b6516f9c", |
||||
"base58": "3pPDp16iVTJFge2sm85Q61hW61UN5xNqeG24gqFhzLFV" |
||||
}, |
||||
"avalanche": { |
||||
"hex": "0x000000000000000000000000e1de9910fe71cc216490ac7fcf019e13a34481d7", |
||||
"base58": "11111111111149We9K5tM8ijcyNy9zDMG9RyDBCJ" |
||||
}, |
||||
"arbitrum": { |
||||
"hex": "0x000000000000000000000000414b67f62b143d6db6e9b633168dd6fd4da20642", |
||||
"base58": "111111111111um79Yc6Evs5e1m2fdD2x7T1cpXb" |
||||
}, |
||||
"moonbeam": { |
||||
"hex": "0x0000000000000000000000003eb9ee2cfc8dcb6f58b5869d33336cfcbf1dc354", |
||||
"base58": "111111111111sgjzaeuHfqhExkdPQ1gJdhcSr4j" |
||||
}, |
||||
"optimism": { |
||||
"hex": "0x000000000000000000000000b4caf2ca864b413daa502fa18a8d48cd0740fc52", |
||||
"base58": "1111111111113X64nhkfMi9X5MbxKsiDTeeTmjsw" |
||||
}, |
||||
"ethereum": { |
||||
"hex": "0x000000000000000000000000ed31c20c5517eac05decd5f6dcd01fe6d16fd09d", |
||||
"base58": "1111111111114JfPmRiKEsR445qonVzCpsAvXCR2" |
||||
}, |
||||
"gnosis": { |
||||
"hex": "0x00000000000000000000000099ca8c74ce7cfa9d72a51fbb05f9821f5f826b3a", |
||||
"base58": "11111111111139Gc7eyQjpZrmWkkYQRyA2Grcvmf" |
||||
}, |
||||
"bsc": { |
||||
"hex": "0x000000000000000000000000e5554478f167936db253f79f57c41770bfa00bae", |
||||
"base58": "1111111111114CJxuV4VoAh5NsJy9qCGHqryoTCy" |
||||
}, |
||||
"polygon": { |
||||
"hex": "0x000000000000000000000000ab65c41a1bc580a52f0b166879122efdce0cb868", |
||||
"base58": "1111111111113PVkHAU9H7moDSoQvhC3Y2wgmovX" |
||||
}, |
||||
"celo": { |
||||
"hex": "0x000000000000000000000000fe29f6a4468536029fc9c97d3a9669b9fe38e114", |
||||
"base58": "1111111111114YNh3uhCWh2NjyPttobeNRyuDHYo" |
||||
} |
||||
} |
@ -1,106 +0,0 @@ |
||||
{ |
||||
"celo": { |
||||
"type": 3, |
||||
"threshold": 4, |
||||
"validators": [ |
||||
"0x1f20274b1210046769d48174c2f0e7c25ca7d5c5", |
||||
"0x3bc014bafa43f93d534aed34f750997cdffcf007", |
||||
"0xd79d506d741fa735938f7b7847a926e34a6fe6b0", |
||||
"0xe4a258bc61e65914c2a477b2a8a433ab4ebdf44b", |
||||
"0x6aea63b0be4679c1385c26a92a3ff8aa6a8379f2", |
||||
"0xc0085e1a49bcc69e534272adb82c74c0e007e1ca" |
||||
] |
||||
}, |
||||
"ethereum": { |
||||
"type": 3, |
||||
"threshold": 4, |
||||
"validators": [ |
||||
"0x4c327ccb881a7542be77500b2833dc84c839e7b7", |
||||
"0x84cb373148ef9112b277e68acf676fefa9a9a9a0", |
||||
"0x0d860c2b28bec3af4fd3a5997283e460ff6f2789", |
||||
"0xd4c1211f0eefb97a846c4e6d6589832e52fc03db", |
||||
"0x600c90404d5c9df885404d2cc5350c9b314ea3a2", |
||||
"0x892DC66F5B2f8C438E03f6323394e34A9C24F2D6" |
||||
] |
||||
}, |
||||
"avalanche": { |
||||
"type": 3, |
||||
"threshold": 4, |
||||
"validators": [ |
||||
"0xa7aa52623fe3d78c343008c95894be669e218b8d", |
||||
"0xb6004433fb04f643e2d48ae765c0e7f890f0bc0c", |
||||
"0xa07e213e0985b21a6128e6c22ab5fb73948b0cc2", |
||||
"0x73853ed9a5f6f2e4c521970a94d43469e3cdaea6", |
||||
"0xbd2e136cda02ba627ca882e49b184cbe976081c8", |
||||
"0x1418126f944a44dad9edbab32294a8c890e7a9e3" |
||||
] |
||||
}, |
||||
"polygon": { |
||||
"type": 3, |
||||
"threshold": 4, |
||||
"validators": [ |
||||
"0x59a001c3451e7f9f3b4759ea215382c1e9aa5fc1", |
||||
"0x009fb042d28944017177920c1d40da02bfebf474", |
||||
"0xba4b13e23705a5919c1901150d9697e8ffb3ea71", |
||||
"0x2faa4071b718972f9b4beec1d8cbaa4eb6cca6c6", |
||||
"0x5ae9b0f833dfe09ef455562a1f603f1634504dd6", |
||||
"0x6a163d312f7352a95c9b81dca15078d5bf77a442" |
||||
] |
||||
}, |
||||
"bsc": { |
||||
"type": 3, |
||||
"threshold": 4, |
||||
"validators": [ |
||||
"0xcc84b1eb711e5076b2755cf4ad1d2b42c458a45e", |
||||
"0xefe34eae2bca1846b895d2d0762ec21796aa196a", |
||||
"0x662674e80e189b0861d6835c287693f50ee0c2ff", |
||||
"0x8a0f59075af466841808c529624807656309c9da", |
||||
"0xdd2ff046ccd748a456b4757a73d47f165469669f", |
||||
"0x034c4924c30ec4aa1b7f3ad58548988f0971e1bf" |
||||
] |
||||
}, |
||||
"arbitrum": { |
||||
"type": 3, |
||||
"threshold": 4, |
||||
"validators": [ |
||||
"0xbcb815f38d481a5eba4d7ac4c9e74d9d0fc2a7e7", |
||||
"0xd839424e2e5ace0a81152298dc2b1e3bb3c7fb20", |
||||
"0xb8085c954b75b7088bcce69e61d12fcef797cd8d", |
||||
"0x9856dcb10fd6e5407fa74b5ab1d3b96cc193e9b7", |
||||
"0x505dff4e0827aa5065f5e001db888e0569d46490", |
||||
"0x25c6779d4610f940bf2488732e10bcffb9d36f81" |
||||
] |
||||
}, |
||||
"optimism": { |
||||
"type": 3, |
||||
"threshold": 4, |
||||
"validators": [ |
||||
"0x9f2296d5cfc6b5176adc7716c7596898ded13d35", |
||||
"0x9c10bbe8efa03a8f49dfdb5c549258e3a8dca097", |
||||
"0x62144d4a52a0a0335ea5bb84392ef9912461d9dd", |
||||
"0xaff4718d5d637466ad07441ee3b7c4af8e328dbd", |
||||
"0xc64d1efeab8ae222bc889fe669f75d21b23005d9", |
||||
"0xfa174eb2b4921bb652bc1ada3e8b00e7e280bf3c" |
||||
] |
||||
}, |
||||
"moonbeam": { |
||||
"type": 3, |
||||
"threshold": 3, |
||||
"validators": [ |
||||
"0x237243d32d10e3bdbbf8dbcccc98ad44c1c172ea", |
||||
"0x9509c8cf0a06955f27342262af501b74874e98fb", |
||||
"0xb7113c999e4d587b162dd1a28c73f3f51c6bdcdc", |
||||
"0x26725501597d47352a23cd26f122709f69ad53bc" |
||||
] |
||||
}, |
||||
"gnosis": { |
||||
"type": 3, |
||||
"threshold": 3, |
||||
"validators": [ |
||||
"0xd0529ec8df08d0d63c0f023786bfa81e4bb51fd6", |
||||
"0x8a72ff8571c53c62c7ca02e8c97a443cd5674383", |
||||
"0x4075c2f6bd6d9562067cfe551d49c2bcafa7d692", |
||||
"0xa18580444eaeb1c5957e7b66a6bf84b6519f904d" |
||||
] |
||||
} |
||||
} |
@ -1,18 +0,0 @@ |
||||
{ |
||||
"bsc": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0x0000000000000000000000000000000000000001" |
||||
] |
||||
}, |
||||
"nautilus": { |
||||
"type": 3, |
||||
"threshold": 2, |
||||
"validators": [ |
||||
"0x9c920af9467595a23cb3433adefc3854d498a437", |
||||
"0x87611503e37ce041527c11c24263e8760fccf81f", |
||||
"0x573443248cf9929af0001b88f62131f2de29fe9f" |
||||
] |
||||
} |
||||
} |
@ -1,3 +0,0 @@ |
||||
{ |
||||
"program_id": "9k74DkJvS2x9QhG4XfnKsLkqaCDyVfaj8s6FyJyhAeEP" |
||||
} |
@ -1,65 +0,0 @@ |
||||
{ |
||||
"celo": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0xe7a82e210f512f8e9900d6bc2acbf7981c63e66e" |
||||
] |
||||
}, |
||||
"ethereum": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0xaea1adb1c687b061e5b60b9da84cb69e7b5fab44" |
||||
] |
||||
}, |
||||
"avalanche": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0x706976391e23dea28152e0207936bd942aba01ce" |
||||
] |
||||
}, |
||||
"polygon": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0xef372f6ff7775989b3ac884506ee31c79638c989" |
||||
] |
||||
}, |
||||
"bsc": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0x0823081031a4a6f97c6083775c191d17ca96d0ab" |
||||
] |
||||
}, |
||||
"arbitrum": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0x1a95b35fb809d57faf1117c1cc29a6c5df289df1" |
||||
] |
||||
}, |
||||
"optimism": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0x60e938bf280bbc21bacfd8bf435459d9003a8f98" |
||||
] |
||||
}, |
||||
"moonbeam": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0x0df7140811e309dc69638352545151ebb9d5e0fd" |
||||
] |
||||
}, |
||||
"gnosis": { |
||||
"type": 3, |
||||
"threshold": 1, |
||||
"validators": [ |
||||
"0x15f48e78092a4f79febface509cfd76467c6cdbb" |
||||
] |
||||
} |
||||
} |
@ -1,3 +0,0 @@ |
||||
{ |
||||
"program_id": "BYTsxBuKVbwgsZFswzB91nrxveQySghwXzaKqn8exNnC" |
||||
} |
@ -1,8 +0,0 @@ |
||||
{ |
||||
"mailbox": "Ge9atjAc3Ltu91VTbNpJDCjZ9CFxFyck4h3YBcTF9XPq", |
||||
"validator_announce": "C88Lk5GR6cPxYoJxPbNDDEwsx5Kxn1wZEomvQ2So333g", |
||||
"multisig_ism_message_id": "6pHP4EeX2Xek24Be7PPTWCqcpmNEPENW1m9RnZSFSmA1", |
||||
"igp_program_id": "HksFWQM1EXJJ5mxo2uZoMfmksXHaNhCunh71NqcQQHZ8", |
||||
"overhead_igp_account": "GTj6WzNxLNFydq5zJrV9p13fyqotRoo1MQykNCWuVpbS", |
||||
"igp_account": "FCNfmLSZLo5x7oNYmkYU8WdPUu7pj636P9CaMxkmaCp7" |
||||
} |
@ -1,10 +0,0 @@ |
||||
{ |
||||
"solanamainnet": { |
||||
"hex": "0xc5ba229fa2822fe65ac2bd0a93d8371d75292c3415dd381923c1088a3308528b", |
||||
"base58": "EJqwFjvVJSAxH8Ur2PYuMfdvoJeutjmH6GkoEFQ4MdSa" |
||||
}, |
||||
"nautilus": { |
||||
"hex": "0x0000000000000000000000004501bbe6e731a4bc5c60c03a77435b2f6d5e9fe7", |
||||
"base58": "111111111111xm5qkrK7gZ8Cmjr4ggPLRxy2T8a" |
||||
} |
||||
} |
@ -1,16 +0,0 @@ |
||||
{ |
||||
"solanamainnet": { |
||||
"type": "collateral", |
||||
"decimals": 9, |
||||
"remoteDecimals": 9, |
||||
"token": "wzbcJyhGhQDLTV1S99apZiiBdE4jmYfbw99saMMdP59", |
||||
"splTokenProgram": "token", |
||||
"interchainSecurityModule": "9k74DkJvS2x9QhG4XfnKsLkqaCDyVfaj8s6FyJyhAeEP", |
||||
"owner": "EzppBFV2taxWw8kEjxNYvby6q7W1biJEqwP3iC7YgRe3" |
||||
}, |
||||
"nautilus": { |
||||
"type": "native", |
||||
"decimals": 18, |
||||
"foreignDeployment": "0x4501bBE6e731A4bC5c60C03A77435b2f6d5e9Fe7" |
||||
} |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,30 +0,0 @@ |
||||
import { IsmType } from '@hyperlane-xyz/sdk'; |
||||
|
||||
import { multisigIsms } from '../config/multisigIsm.js'; |
||||
import { getChains } from '../config/registry.js'; |
||||
|
||||
import { getArgs, withContext } from './agent-utils.js'; |
||||
|
||||
// This script exists to print the default multisig ISM validator sets for a given environment
|
||||
// so they can easily be copied into the Sealevel tooling. :'(
|
||||
|
||||
async function main() { |
||||
const args = await withContext(getArgs()) |
||||
.describe('local', 'local chain') |
||||
.choices('local', getChains()) |
||||
.demandOption('local').argv; |
||||
|
||||
const config = multisigIsms( |
||||
args.environment, |
||||
args.local, |
||||
IsmType.MESSAGE_ID_MULTISIG, |
||||
args.context, |
||||
); |
||||
|
||||
console.log(JSON.stringify(config, null, 2)); |
||||
} |
||||
|
||||
main().catch((err) => { |
||||
console.error(err); |
||||
process.exit(1); |
||||
}); |
@ -1,7 +1,7 @@ |
||||
import { pick } from '@hyperlane-xyz/utils'; |
||||
|
||||
import { getArgs } from './agent-utils.js'; |
||||
import { getEnvironmentConfig } from './core-utils.js'; |
||||
import { getArgs } from '../agent-utils.js'; |
||||
import { getEnvironmentConfig } from '../core-utils.js'; |
||||
|
||||
// This script exists to print the chain metadata configs for a given environment
|
||||
// so they can easily be copied into the Sealevel tooling. :'(
|
@ -0,0 +1,50 @@ |
||||
import { IsmType } from '@hyperlane-xyz/sdk'; |
||||
|
||||
import { multisigIsms } from '../../config/multisigIsm.js'; |
||||
import { getChains } from '../../config/registry.js'; |
||||
import { getArgs, withContext } from '../agent-utils.js'; |
||||
|
||||
// This script exists to print the default multisig ISM validator sets for a given environment
|
||||
// so they can easily be copied into the Sealevel tooling. :'(
|
||||
|
||||
async function main() { |
||||
const args = await withContext(getArgs()) |
||||
.describe('local', 'local chain') |
||||
.choices('local', getChains()) |
||||
.demandOption('local').argv; |
||||
|
||||
const config = multisigIsms( |
||||
args.environment, |
||||
args.local, |
||||
IsmType.MESSAGE_ID_MULTISIG, |
||||
args.context, |
||||
); |
||||
|
||||
// Cap any thresholds to 4 due to the Sealevel transaction size limit.
|
||||
// Any higher than 4 at the moment will cause warp route synthetic deliveries to fail.
|
||||
// Example message Solana -> Eclipse that mints a synthetic:
|
||||
// https://explorer.eclipse.xyz/tx/3wcMvqZZjQon9o8nD49e3ci16AUJopZRLAfsAfs16ZrxgoNLoboNvrbV1hQHbnN3KXrWSqHmKnmM28mUvh5Un5Hd/inspect.
|
||||
// At the time, the Solana threshold was 3. Taking the max tx size of 1232 and the tx's size 1121,
|
||||
// we can find the number of additional signatures to be: floor((1232 - 1121)/65) = floor(1.707) = 1.
|
||||
// So the total number of signatures is 3 + 1 = 4.
|
||||
|
||||
const MAX_THRESHOLD = 4; |
||||
|
||||
for (const chain of Object.keys(config)) { |
||||
if (config[chain].threshold > MAX_THRESHOLD) { |
||||
console.warn( |
||||
`Threshold for ${chain} is ${config[chain].threshold}. Capping to ${MAX_THRESHOLD}.`, |
||||
); |
||||
config[chain].threshold = MAX_THRESHOLD; |
||||
} |
||||
} |
||||
|
||||
console.warn; |
||||
|
||||
console.log(JSON.stringify(config, null, 2)); |
||||
} |
||||
|
||||
main().catch((err) => { |
||||
console.error(err); |
||||
process.exit(1); |
||||
}); |
Loading…
Reference in new issue