Skip to content

Commit

Permalink
feat: update Stride IGP to our own, temporarily whitelist our Stride …
Browse files Browse the repository at this point in the history
…deployment (#4748)

### Description

- We have an IGP on Stride now. We expect not to fully index this till
at least Friday - so for now we just whitelist the messages we care
about.

### 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
-->

---------

Co-authored-by: Daniel Savu <23065004+daniel-savu@users.noreply.github.com>
  • Loading branch information
tkporter and daniel-savu authored Oct 24, 2024
1 parent 15db5c1 commit 89c60ab
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
65b3c54ede7bf2b56280b913b8ed57bb08f52a36
18666269e99ad8d2ba45579c4be783478e50e936
2 changes: 1 addition & 1 deletion rust/main/config/mainnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4829,7 +4829,7 @@
}
],
"slip44": 118,
"interchainGasPaymaster": "0x0000000000000000000000000000000000000000000000000000000000000000",
"interchainGasPaymaster": "0x602D5BF31F85FE90BF812A5EE6E2CC8CF6998A687125CABEDD120983CB88DA54",
"mailbox": "0x89945750e089d84581f194e1947a58480b335f18386ad4f761f05feebf5e2454",
"merkleTreeHook": "0x7ab4a8c3ba5371e34cd8d5dc584e0d924504fc21c3cbf41c3f64d436176bf007",
"validatorAnnounce": "0xf57d954bf3ddb5f1032a0e020a99e931215cf83ceb4de987c781488065aaae0d",
Expand Down
10 changes: 9 additions & 1 deletion typescript/infra/config/environments/mainnet3/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import { validatorChainConfig } from './validators.js';
import ancient8EthereumUsdcAddresses from './warp/ancient8-USDC-addresses.json';
import arbitrumTIAAddresses from './warp/arbitrum-TIA-addresses.json';
import arbitrumNeutronEclipAddresses from './warp/arbitrum-neutron-eclip-addresses.json';
import eclipseStrideTiaAddresses from './warp/eclipse-stride-TIA-addresses.json';
import eclipseStrideStTiaAddresses from './warp/eclipse-stride-stTIA-addresses.json';
import inevmEthereumUsdcAddresses from './warp/inevm-USDC-addresses.json';
import inevmEthereumUsdtAddresses from './warp/inevm-USDT-addresses.json';
import injectiveInevmInjAddresses from './warp/injective-inevm-addresses.json';
Expand Down Expand Up @@ -311,7 +313,13 @@ const gasPaymentEnforcement: GasPaymentEnforcement[] = [
// warp routes that we know are certainly paying for gas.
{
type: GasPaymentEnforcementPolicyType.None,
matchingList: [...routerMatchingList(injectiveInevmInjAddresses)],
matchingList: [
...routerMatchingList(injectiveInevmInjAddresses),
// As we are still indexing the IGP on Stride, temporarily whitelist
// Stride to Eclipse messages.
...routerMatchingList(eclipseStrideTiaAddresses),
...routerMatchingList(eclipseStrideStTiaAddresses),
],
},
{
type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"eclipsemainnet": {
"router": "0xa0c167513f4d025217a48891973c3dbe41e10e76230033ef5d676299a18ca7f5"
},
"stride": {
"router": "stride1pvtesu3ve7qn7ctll2x495mrqf2ysp6fws68grvcu6f7n2ajghgsh2jdj6"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"eclipsemainnet": {
"router": "0x0d258188d0761163da174da890d0c1becdee51a01dbc9e2a6bfcb342140eb509"
},
"stride": {
"router": "stride134axwdlam929m3mar3wv95nvkyep7mr87ravkqcpf8dfe3v0pjlqwrw6ee"
}
}

0 comments on commit 89c60ab

Please sign in to comment.