feat: update Stride IGP to our own, temporarily whitelist our Stride 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>
pull/4714/head
Trevor Porter 4 weeks ago committed by GitHub
parent 15db5c112d
commit 89c60ab9c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .registryrc
  2. 2
      rust/main/config/mainnet_config.json
  3. 10
      typescript/infra/config/environments/mainnet3/agent.ts
  4. 8
      typescript/infra/config/environments/mainnet3/warp/eclipse-stride-TIA-addresses.json
  5. 8
      typescript/infra/config/environments/mainnet3/warp/eclipse-stride-stTIA-addresses.json

@ -1 +1 @@
65b3c54ede7bf2b56280b913b8ed57bb08f52a36
18666269e99ad8d2ba45579c4be783478e50e936

@ -4829,7 +4829,7 @@
}
],
"slip44": 118,
"interchainGasPaymaster": "0x0000000000000000000000000000000000000000000000000000000000000000",
"interchainGasPaymaster": "0x602D5BF31F85FE90BF812A5EE6E2CC8CF6998A687125CABEDD120983CB88DA54",
"mailbox": "0x89945750e089d84581f194e1947a58480b335f18386ad4f761f05feebf5e2454",
"merkleTreeHook": "0x7ab4a8c3ba5371e34cd8d5dc584e0d924504fc21c3cbf41c3f64d436176bf007",
"validatorAnnounce": "0xf57d954bf3ddb5f1032a0e020a99e931215cf83ceb4de987c781488065aaae0d",

@ -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';
@ -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,

@ -0,0 +1,8 @@
{
"eclipsemainnet": {
"router": "0xa0c167513f4d025217a48891973c3dbe41e10e76230033ef5d676299a18ca7f5"
},
"stride": {
"router": "stride1pvtesu3ve7qn7ctll2x495mrqf2ysp6fws68grvcu6f7n2ajghgsh2jdj6"
}
}

@ -0,0 +1,8 @@
{
"eclipsemainnet": {
"router": "0x0d258188d0761163da174da890d0c1becdee51a01dbc9e2a6bfcb342140eb509"
},
"stride": {
"router": "stride134axwdlam929m3mar3wv95nvkyep7mr87ravkqcpf8dfe3v0pjlqwrw6ee"
}
}
Loading…
Cancel
Save