Skip to content

Commit

Permalink
feat: deploy SOON and warp routes (#5110)
Browse files Browse the repository at this point in the history
### Description

- core and SOL / Bonk warp routes on SOON

### 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 7, 2025
1 parent 3c4bc1c commit d25f391
Show file tree
Hide file tree
Showing 23 changed files with 3,340 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
207a4ffe96b0f33701ca6f92d8ca4905a8a0233a
d01becffba3dd2d0a053a25bffc3d97bde70129a
48 changes: 47 additions & 1 deletion rust/main/config/mainnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2481,7 +2481,7 @@
"domainRoutingIsm": "0x494415e823236A05c608D6b777bC80082cED6A2E",
"domainRoutingIsmFactory": "0x0761b0827849abbf7b0cC09CE14e1C93D87f5004",
"fallbackRoutingHook": "0xDd1CddEd982e4d271d4D6Bc4cdE8d4F3338733B5",
"gasCurrencyCoinGeckoId": "real-ether",
"gasCurrencyCoinGeckoId": "ethereum",
"index": {
"from": 363159
},
Expand Down Expand Up @@ -7249,6 +7249,52 @@
"index": {
"from": 378761707
}
},
"soon": {
"blockExplorers": [
{
"apiUrl": "https://explorer.soo.network/",
"family": "other",
"name": "SOON Explorer",
"url": "https://explorer.soo.network/"
}
],
"blocks": {
"confirmations": 1,
"estimateBlockTime": 0.05,
"reorgPeriod": 0
},
"chainId": 50075007,
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
},
"displayName": "SOON",
"domainId": 50075007,
"gasCurrencyCoinGeckoId": "ethereum",
"index": {
"from": 1,
"mode": "sequence",
"chunk": 20
},
"name": "soon",
"nativeToken": {
"decimals": 9,
"name": "Ether",
"symbol": "ETH"
},
"protocol": "sealevel",
"rpcUrls": [
{
"http": "https://rpc.mainnet.soo.network/rpc"
}
],
"technicalStack": "other",
"interchainGasPaymaster": "Dsem8R6mkrpNoNb6CRUEjEZRP2hKRC24thyCkVr8cNYZ",
"interchainSecurityModule": "4fPoa26ayqY1cwY3AcqUPvdLLNHpjJGdDQevtnTLAAnH",
"mailbox": "Mj7GE6LZiJUZFTgabmNkFoY2o6JCEwCMKopSUUC3kqj",
"merkleTreeHook": "Mj7GE6LZiJUZFTgabmNkFoY2o6JCEwCMKopSUUC3kqj",
"validatorAnnounce": "GFqF38mSacfvbJRKkhmjJvSkzTEKemSNVoWi4Q94ZPvz"
}
},
"defaultRpcConsensusType": "fallback"
Expand Down
4 changes: 2 additions & 2 deletions rust/sealevel/client/src/cmd_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ fn attempt_program_deploy(
// Success!
if let Ok(true) = run_cmd(command.as_slice(), None, None) {
// TODO: use commitment level instead of just sleeping here?
println!("Sleeping for 2 seconds to fully allow program to be deployed");
sleep(Duration::from_secs(2));
println!("Sleeping for 5 seconds to fully allow program to be deployed");
sleep(Duration::from_secs(5));

return Ok(());
}
Expand Down
2 changes: 2 additions & 0 deletions rust/sealevel/client/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ fn enroll_all_remote_routers<
.collect::<Vec<RemoteRouterConfig>>();

if !router_configs.is_empty() {
adjust_gas_price_if_needed(chain_name.as_str(), ctx);

ctx.new_txn()
.add_with_description(
deployer.enroll_remote_routers_instruction(
Expand Down
Loading

0 comments on commit d25f391

Please sign in to comment.