Skip to content

Commit

Permalink
feat: deploy sonicsvmtestnet, revive solanatestnet (#5092)
Browse files Browse the repository at this point in the history
### Description

- Solanatestnet was deployed prior to adding protocol fees. I did a
program upgrade and migration to have it support protocol fees now, was
a fun exercise that can be found in the commit history. This made it
once again compatible with the agents, hence the "revival"
- Deployed to sonicsvmtestnet
- Deployed a SOl warp route between solana testnet and sonicsvmtestnet

### 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
-->
  • Loading branch information
tkporter authored Jan 14, 2025
1 parent fa3ef92 commit 8ca7121
Show file tree
Hide file tree
Showing 20 changed files with 1,638 additions and 267 deletions.
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2184e5e3064ddec2734aa53c1aff6d9f7d958bdf
9d7868fa55b97d610c9c1916d22d71d3e67b5aa8
210 changes: 105 additions & 105 deletions rust/main/config/mainnet_config.json

Large diffs are not rendered by default.

94 changes: 68 additions & 26 deletions rust/main/config/testnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"interchainAccountIsm": "0x6895d3916B94b386fAA6ec9276756e16dAe7480E",
"interchainAccountRouter": "0xEbA64c8a9b4a61a9210d5fe7E4375380999C821b",
"interchainGasPaymaster": "0x44769b0f4a6f01339e131a691cc2eebbb519d297",
"interchainSecurityModule": "0xDf1d3c37FfA6134767911B8876305afc187dA207",
"interchainSecurityModule": "0xEF36f576B107c4D5ebCa6F7F725263eabe5307a7",
"isTestnet": true,
"mailbox": "0xEf9F292fcEBC3848bF4bB92a96a04F9ECBb78E59",
"merkleTreeHook": "0x221FA9CBaFcd6c1C3d206571Cf4427703e023FFa",
Expand Down Expand Up @@ -94,7 +94,7 @@
"from": 49690504
},
"interchainGasPaymaster": "0xc756cFc1b7d0d4646589EDf10eD54b201237F5e8",
"interchainSecurityModule": "0x69a84432Ba4FaD95FC5850aCD613C6daD286908C",
"interchainSecurityModule": "0x84919eC830aaadAc11856F8843F8079d652be0aA",
"isTestnet": true,
"mailbox": "0x598facE78a4302f11E3de0bee1894Da0b2Cb71F8",
"merkleTreeHook": "0xAD34A66Bf6dB18E858F6B686557075568c6E031C",
Expand Down Expand Up @@ -162,7 +162,7 @@
"from": 13851043
},
"interchainGasPaymaster": "0x28B02B97a850872C4D33C3E024fab6499ad96564",
"interchainSecurityModule": "0x2945eCB46AE83B1A37b589A9c1219061522A73aD",
"interchainSecurityModule": "0xeDE933F179C81Da173f5d4bc4aff849112e4DC16",
"isTestnet": true,
"mailbox": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"merkleTreeHook": "0x86fb9F1c124fB20ff130C41a79a432F770f67AFD",
Expand Down Expand Up @@ -232,7 +232,7 @@
"interchainAccountIsm": "0xa9D8Ec959F34272B1a56D09AF00eeee58970d3AE",
"interchainAccountRouter": "0x6d2B3e304E58c2a19f1492E7cf15CaF63Ce6e0d2",
"interchainGasPaymaster": "0x0dD20e410bdB95404f71c5a4e7Fa67B892A5f949",
"interchainSecurityModule": "0x0c29F3Ce8995b41eB8c2b3E1eC33c3fa10C8cf91",
"interchainSecurityModule": "0xF3979a3e04158271765A2DB70be81Df4C315b19c",
"isTestnet": true,
"mailbox": "0xF9F6F5646F478d5ab4e20B0F910C92F1CCC9Cc6D",
"merkleTreeHook": "0xc6cbF39A747f5E28d1bDc8D9dfDAb2960Abd5A8f",
Expand Down Expand Up @@ -301,7 +301,7 @@
"from": 4950
},
"interchainGasPaymaster": "0xeC7eb4196Bd601DEa7585A744FbFB4CF11278450",
"interchainSecurityModule": "0xa25786D36B5a5eDeCAf75142dD056B1Ed1473f44",
"interchainSecurityModule": "0x1576dB24aC8a8B5D50BDE896f64b76877bE2B9da",
"isTestnet": true,
"mailbox": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"merkleTreeHook": "0x4926a10788306D84202A2aDbd290b7743146Cc17",
Expand Down Expand Up @@ -402,7 +402,7 @@
"from": 1606754
},
"interchainGasPaymaster": "0x28B02B97a850872C4D33C3E024fab6499ad96564",
"interchainSecurityModule": "0x1AFC8F84cAE294C3E6d3Ddb031946B93f08272b5",
"interchainSecurityModule": "0xF9C638EB093ad2E66E5f4d444fE1D42477470075",
"isTestnet": true,
"mailbox": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"merkleTreeHook": "0x86fb9F1c124fB20ff130C41a79a432F770f67AFD",
Expand Down Expand Up @@ -468,7 +468,7 @@
"interchainAccountIsm": "0xfaB4815BDC5c60c6bD625459C8577aFdD79D9311",
"interchainAccountRouter": "0xeEF6933122894fF217a7dd07510b3D64b747e29b",
"interchainGasPaymaster": "0x6895d3916B94b386fAA6ec9276756e16dAe7480E",
"interchainSecurityModule": "0x7b5AD17cdAbdED0C29B161c647DA32dCE51AB13B",
"interchainSecurityModule": "0xAEB1108dd551736001880BdD7b920F9Da051b00B",
"isTestnet": true,
"mailbox": "0x5b6CFf85442B851A8e6eaBd2A4E4507B5135B3B0",
"merkleTreeHook": "0x9ff6ac3dAf63103620BBf76136eA1AFf43c2F612",
Expand Down Expand Up @@ -534,7 +534,7 @@
"from": 1543015
},
"interchainGasPaymaster": "0x5CBf4e70448Ed46c2616b04e9ebc72D29FF0cfA9",
"interchainSecurityModule": "0x16738b80D39Fa0652F2D853c3E6235Afb7cA6dDc",
"interchainSecurityModule": "0x3411DE0359d0Fb09E3154Aa231521cb7F2856e6f",
"isTestnet": true,
"mailbox": "0x46f7C5D896bbeC89bE1B19e4485e59b4Be49e9Cc",
"merkleTreeHook": "0x98AAE089CaD930C64a76dD2247a2aC5773a4B8cE",
Expand Down Expand Up @@ -599,7 +599,7 @@
"from": 15833917
},
"interchainGasPaymaster": "0x28B02B97a850872C4D33C3E024fab6499ad96564",
"interchainSecurityModule": "0x81B81B3b296ecf99d5bAC0DE4e5fF7a3ceECf08b",
"interchainSecurityModule": "0x401b3EeD483f43594902a38Ee74fa80F966f31fe",
"isTestnet": true,
"mailbox": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"merkleTreeHook": "0x86fb9F1c124fB20ff130C41a79a432F770f67AFD",
Expand Down Expand Up @@ -727,7 +727,7 @@
"from": 10634605
},
"interchainGasPaymaster": "0x6c13643B3927C57DB92c790E4E3E7Ee81e13f78C",
"interchainSecurityModule": "0x428a2384F6013A9c561737E9A58288e071470192",
"interchainSecurityModule": "0x4944142B6ba61B31A2F5a0Af79D72DBAE9cf6BC0",
"isTestnet": true,
"mailbox": "0x54148470292C24345fb828B003461a9444414517",
"merkleTreeHook": "0xddf4C3e791caCaFd26D7fb275549739B38ae6e75",
Expand Down Expand Up @@ -802,7 +802,7 @@
"interchainAccountIsm": "0xE023239c8dfc172FF008D8087E7442d3eBEd9350",
"interchainAccountRouter": "0xe17c37212d785760E8331D4A4395B17b34Ba8cDF",
"interchainGasPaymaster": "0x86fb9F1c124fB20ff130C41a79a432F770f67AFD",
"interchainSecurityModule": "0xb9A0fa05Fcce52605f0142c1A5Aca32f223eB961",
"interchainSecurityModule": "0x78b00837EE0c0265eB4f475d0D21236716AC0FdA",
"isTestnet": true,
"mailbox": "0x3C5154a193D6e2955650f9305c8d80c18C814A68",
"merkleTreeHook": "0x863E8c26621c52ACa1849C53500606e73BA272F0",
Expand Down Expand Up @@ -880,7 +880,7 @@
"interchainAccountIsm": "0x83a3068B719F764d413625dA77468ED74789ae02",
"interchainAccountRouter": "0x8e131c8aE5BF1Ed38D05a00892b6001a7d37739d",
"interchainGasPaymaster": "0x6f2756380FD49228ae25Aa7F2817993cB74Ecc56",
"interchainSecurityModule": "0x5bC248C8010848067919fA73F4555AeE95Df38a4",
"interchainSecurityModule": "0x549a1C8DBE21aA89d729637521459bc2890467b0",
"isTestnet": true,
"mailbox": "0xfFAEF09B3cd11D9b20d1a19bECca54EEC2884766",
"merkleTreeHook": "0x4917a9746A7B6E0A57159cCb7F5a6744247f2d0d",
Expand Down Expand Up @@ -940,7 +940,7 @@
"url": "https://www.hyperlane.xyz"
},
"displayName": "Solana Testnet",
"displayNameShort": "Sol Testnet",
"displayNameShort": "Solana Testnet",
"domainId": 1399811150,
"index": {
"from": 1,
Expand All @@ -963,7 +963,8 @@
}
],
"validatorAnnounce": "8qNYSi9EP1xSnRjtMpyof88A26GBbdcrsa61uSaHiwx3",
"gasCurrencyCoinGeckoId": "solana"
"gasCurrencyCoinGeckoId": "solana",
"interchainSecurityModule": "4GHxwWyKB9exhKG4fdyU2hfLgfFzhHp2WcsSKc2uNR1k"
},
"superpositiontestnet": {
"aggregationHook": "0x331eb40963dc11F5BB271308c42d97ac6e41F124",
Expand All @@ -990,7 +991,7 @@
"from": 3111622
},
"interchainGasPaymaster": "0xeC7eb4196Bd601DEa7585A744FbFB4CF11278450",
"interchainSecurityModule": "0x8a833B1230A75712a767e81556F1Ad612A0F76F3",
"interchainSecurityModule": "0x7d5C116FF61393A1a1C75C45684DF93Ba00a194E",
"isTestnet": true,
"mailbox": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"merkleTreeHook": "0x4926a10788306D84202A2aDbd290b7743146Cc17",
Expand Down Expand Up @@ -1078,7 +1079,7 @@
"interchainAccountIsm": "0xA2cf52064c921C11adCd83588CbEa08cc3bfF5d8",
"interchainAccountRouter": "0xa3AB7E6cE24E6293bD5320A53329Ef2f4DE73fCA",
"interchainGasPaymaster": "0x04438ef7622f5412f82915F59caD4f704C61eA48",
"interchainSecurityModule": "0x5e39968B0435332dE915C2FF62fD373fBbbb7C75",
"interchainSecurityModule": "0x3B431aEc0E9dBd0B903E1C784C01219503e6A0bd",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0x6c13643B3927C57DB92c790E4E3E7Ee81e13f78C",
"pausableHook": "0x783c4a0bB6663359281aD4a637D5af68F83ae213",
Expand Down Expand Up @@ -1138,7 +1139,7 @@
"interchainAccountIsm": "0xD356C996277eFb7f75Ee8bd61b31cC781A12F54f",
"interchainAccountRouter": "0x867f2089D09903f208AeCac84E599B90E5a4A821",
"interchainGasPaymaster": "0xA2cf52064c921C11adCd83588CbEa08cc3bfF5d8",
"interchainSecurityModule": "0x97b1e5FBF33d82fAD9C3Aa0fF901e9B9d63090E3",
"interchainSecurityModule": "0xEBbf2a8E1008ceeD1F480B02d11d72d4426CFbAf",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0xD5eB5fa3f470eBBB93a4A58C644c87031268a04A",
"pausableHook": "0x51A0a100e7BC63Ea7821A3a023B6F17fb94FF011",
Expand Down Expand Up @@ -1206,7 +1207,7 @@
"interchainAccountIsm": "0xFfa913705484C9BAea32Ffe9945BeA099A1DFF72",
"interchainAccountRouter": "0xB5fB1F5410a2c2b7deD462d018541383968cB01c",
"interchainGasPaymaster": "0xD5eB5fa3f470eBBB93a4A58C644c87031268a04A",
"interchainSecurityModule": "0xAfDF88EB9447e412c89304F34813c5564307709b",
"interchainSecurityModule": "0xEd2112547065be8c15CfE3222b642Ae35EFA189b",
"mailbox": "0xB08d78F439e55D02C398519eef61606A5926245F",
"merkleTreeHook": "0x783c4a0bB6663359281aD4a637D5af68F83ae213",
"pausableHook": "0x66b71A4e18FbE09a6977A6520B47fEDdffA82a1c",
Expand Down Expand Up @@ -1267,7 +1268,7 @@
"interchainAccountIsm": "0xD356C996277eFb7f75Ee8bd61b31cC781A12F54f",
"interchainAccountRouter": "0x867f2089D09903f208AeCac84E599B90E5a4A821",
"interchainGasPaymaster": "0xA2cf52064c921C11adCd83588CbEa08cc3bfF5d8",
"interchainSecurityModule": "0xe5B27D2198EEacf4FeC7d558CdE3b4fDCe4d37f9",
"interchainSecurityModule": "0x4cA607E538A534df884B3B98A7B0Da9D2170E0ae",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0xD5eB5fa3f470eBBB93a4A58C644c87031268a04A",
"pausableHook": "0x51A0a100e7BC63Ea7821A3a023B6F17fb94FF011",
Expand Down Expand Up @@ -1459,7 +1460,7 @@
"interchainAccountIsm": "0xD356C996277eFb7f75Ee8bd61b31cC781A12F54f",
"interchainAccountRouter": "0x867f2089D09903f208AeCac84E599B90E5a4A821",
"interchainGasPaymaster": "0xA2cf52064c921C11adCd83588CbEa08cc3bfF5d8",
"interchainSecurityModule": "0x0511f73F8D734e0fc9df1E6C0937592a3A371B18",
"interchainSecurityModule": "0xa8C25c32777DbbD1272771fEB8Df759e3B4B4F31",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0xD5eB5fa3f470eBBB93a4A58C644c87031268a04A",
"pausableHook": "0x51A0a100e7BC63Ea7821A3a023B6F17fb94FF011",
Expand Down Expand Up @@ -1710,7 +1711,7 @@
"interchainAccountIsm": "0x39c85C84876479694A2470c0E8075e9d68049aFc",
"interchainAccountRouter": "0x80fE4Cb8c70fc60B745d4ffD4403c27a8cBC9e02",
"interchainGasPaymaster": "0xfBeaF07855181f8476B235Cf746A7DF3F9e386Fb",
"interchainSecurityModule": "0x3865c419335B36d9CE240b515124Ab1c33927004",
"interchainSecurityModule": "0x63E1D5320051d44C86aC760881aa337482f35FB5",
"mailbox": "0x33dB966328Ea213b0f76eF96CA368AB37779F065",
"merkleTreeHook": "0xEa7e618Bee8927fBb2fA20Bc41eE8DEA51838aAD",
"pausableHook": "0x4fE19d49F45854Da50b6009258929613EC92C147",
Expand Down Expand Up @@ -1773,7 +1774,7 @@
"interchainAccountIsm": "0xc08675806BA844467E559E45E4bB59e66778bDcd",
"interchainAccountRouter": "0x39c85C84876479694A2470c0E8075e9d68049aFc",
"interchainGasPaymaster": "0xa3AB7E6cE24E6293bD5320A53329Ef2f4DE73fCA",
"interchainSecurityModule": "0x4B310268158B842cbE65A216714C6A7D1d087155",
"interchainSecurityModule": "0xD552E8B478A4B7A2d1D4c6e76A0FB2A8730d5E79",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0x086E902d2f99BcCEAa28B31747eC6Dc5fd43B1bE",
"pausableHook": "0xe0B988062A0C6492177d64823Ab95a9c256c2a5F",
Expand Down Expand Up @@ -1836,7 +1837,7 @@
"interchainAccountIsm": "0x3ca332A585FDB9d4FF51f2FA8999eA32184D3606",
"interchainAccountRouter": "0x4eC139a771eBdD3b0a0b67bb7E08960210882d44",
"interchainGasPaymaster": "0xa3AB7E6cE24E6293bD5320A53329Ef2f4DE73fCA",
"interchainSecurityModule": "0xAd6172DA241CE5DC38a32E0E375FD0A1889b9E48",
"interchainSecurityModule": "0x7b7187f72D2f078c4e25B0401FC266242Ca8A5E8",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0x086E902d2f99BcCEAa28B31747eC6Dc5fd43B1bE",
"pausableHook": "0xe0B988062A0C6492177d64823Ab95a9c256c2a5F",
Expand Down Expand Up @@ -1899,7 +1900,7 @@
"interchainAccountIsm": "0xBF2C366530C1269d531707154948494D3fF4AcA7",
"interchainAccountRouter": "0xBdf49bE2201A1c4B13023F0a407196C6Adb32680",
"interchainGasPaymaster": "0xD356C996277eFb7f75Ee8bd61b31cC781A12F54f",
"interchainSecurityModule": "0xa6570241124A6534801d1eba13F46078Dc7d1974",
"interchainSecurityModule": "0xd85b1fb952a30517BFE3F53cb6049385f1ACe35b",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0xFfa913705484C9BAea32Ffe9945BeA099A1DFF72",
"pausableHook": "0xc76E477437065093D353b7d56c81ff54D167B0Ab",
Expand Down Expand Up @@ -1970,7 +1971,7 @@
"interchainAccountIsm": "0x342B5630Ba1C1e4d3048E51Dad208201aF52692c",
"interchainAccountRouter": "0xe036768e48Cb0D42811d2bF0748806FCcBfCd670",
"interchainGasPaymaster": "0x867f2089D09903f208AeCac84E599B90E5a4A821",
"interchainSecurityModule": "0xbe84F098eE49c32395edA629737AD3f4c0542ADA",
"interchainSecurityModule": "0x4F0B0317FF574aAc61D1D2Db4A78501D0342602a",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0xB5fB1F5410a2c2b7deD462d018541383968cB01c",
"pausableHook": "0x7483faD0Bc297667664A43A064bA7c9911659f57",
Expand Down Expand Up @@ -2029,7 +2030,7 @@
"domainRoutingIsmFactory": "0x44b764045BfDC68517e10e783E69B376cef196B2",
"fallbackRoutingHook": "0xD356C996277eFb7f75Ee8bd61b31cC781A12F54f",
"interchainGasPaymaster": "0x54Bd02f0f20677e9846F8E9FdB1Abc7315C49C38",
"interchainSecurityModule": "0x3490059390DDc4de38822488A1D63B4e131D0Aaf",
"interchainSecurityModule": "0x500a6350D7B121eD28a7EFE91Ac0885f494A28b2",
"mailbox": "0xDDcFEcF17586D08A5740B7D91735fcCE3dfe3eeD",
"merkleTreeHook": "0x4fE19d49F45854Da50b6009258929613EC92C147",
"pausableHook": "0x01812D60958798695391dacF092BAc4a715B1718",
Expand Down Expand Up @@ -2164,6 +2165,47 @@
"index": {
"from": 86008
}
},
"sonicsvmtestnet": {
"blockExplorers": [
{
"apiUrl": "https://explorer.sonic.game/?cluster=testnet.v1",
"family": "other",
"name": "Sonic Explorer",
"url": "https://explorer.sonic.game/?cluster=testnet.v1"
}
],
"blocks": {
"confirmations": 1,
"estimateBlockTime": 0.4,
"reorgPeriod": 0
},
"chainId": 15153042,
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
},
"displayName": "Sonic SVM Testnet",
"displayNameShort": "Sonic SVM Testnet",
"domainId": 15153042,
"isTestnet": true,
"name": "sonicsvmtestnet",
"nativeToken": {
"decimals": 9,
"name": "Solana",
"symbol": "SOL"
},
"protocol": "sealevel",
"rpcUrls": [
{
"http": "https://api.testnet.sonic.game"
}
],
"mailbox": "6BaTtWPMpWdA6tHqdT2VbogC4XZ9QV5cNCYpBrx6WP7B",
"merkleTreeHook": "6BaTtWPMpWdA6tHqdT2VbogC4XZ9QV5cNCYpBrx6WP7B",
"validatorAnnounce": "84NjUotjZcNBVGBhvwERPNS6zaAfhkJkG33aSiNxPma2",
"interchainGasPaymaster": "FSy4hQ92ZTPJVG2UmiWiymoogpwEDBcucKnLzLnbrBDt",
"interchainSecurityModule": "DgLicFznJQbnapc9cLSTB2DxN1FnrFnZo5SwD55iTycA"
}
},
"defaultRpcConsensusType": "fallback"
Expand Down
Loading

0 comments on commit 8ca7121

Please sign in to comment.