Skip to content

Commit

Permalink
chore: remove neutron-related deployments from testnet4 context (#3071)
Browse files Browse the repository at this point in the history
### Description

Removes most occurences of lines that contain the `neutron` string from
the testnet4 context. Where validators are set (e.g.
[here](https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/3e685f9fb04fd1dd10b05250ade5b65150b75086/typescript/infra/config/environments/testnet4/validators.ts#L29)),
the neutron context is required for type safety but can stay empty
  • Loading branch information
daniel-savu authored and yorhodes committed Dec 20, 2023
1 parent 65e3500 commit 9c73a6c
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 60 deletions.
26 changes: 0 additions & 26 deletions rust/config/testnet4_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1007,32 +1007,6 @@
"index": {
"from": 4558491
}
},
"neutrontestnet": {
"name": "neutrontestnet",
"domainId": "33333",
"chainId": "duality-devnet",
"mailbox": "0xdb33c78ca39541dd740659fbfd86fdd601fe7225f10f26e87595c5b8df6bdcda",
"interchainGasPaymaster": "0xae38a168ced2b1cdafd7da5de2fbd22749b1ab52e88cd0b121f750a6c20a2814",
"validatorAnnounce": "0x29d5f702a35d4135d98abf52c62ddc0cfd74001663ec14d284edff7d0419fb58",
"merkleTreeHook": "0xb6aac0c4650129ded8e645e6ef8dcbba710623b826e5a1dae34158a27247c668",
"protocol": "cosmos",
"finalityBlocks": 1,
"rpcUrls": [
{
"http": "http://54.149.31.83:26657"
}
],
"grpcUrl": "http://52.43.22.152:9090",
"canonicalAsset": "token",
"prefix": "dual",
"index": {
"from": 1,
"chunk": 100000
},
"blocks": {
"reorgPeriod": 1
}
}
},
"defaultRpcConsensusType": "fallback"
Expand Down
21 changes: 0 additions & 21 deletions typescript/infra/config/environments/testnet4/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,28 +107,7 @@ const releaseCandidate: RootAgentConfig = {
},
};

const neutron: RootAgentConfig = {
...contextBase,
context: Contexts.Neutron,
rolesWithKeys: [Role.Relayer],
contextChainNames: {
relayer: [Chains.goerli],
validator: [],
scraper: [],
},
relayer: {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '86b7f98-20231207-153805',
},
gasPaymentEnforcement,
transactionGasLimit: 750000,
},
};

export const agents = {
[Contexts.Hyperlane]: hyperlane,
[Contexts.ReleaseCandidate]: releaseCandidate,
[Contexts.Neutron]: neutron,
};
1 change: 0 additions & 1 deletion typescript/infra/config/environments/testnet4/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const ethereumTestnetConfigs: ChainMap<ChainMetadata> = {
// Blessed non-Ethereum chains.
export const nonEthereumTestnetConfigs: ChainMap<ChainMetadata> = {
// solanadevnet: chainMetadata.solanadevnet,
// neutrontestnet: chainMetadata.neutrontestnet,
};

export const testnetConfigs: ChainMap<ChainMetadata> = {
Expand Down
2 changes: 0 additions & 2 deletions typescript/infra/config/environments/testnet4/gas-oracle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const gasPrices: ChainMap<BigNumber> = {
polygonzkevmtestnet: ethers.utils.parseUnits('1', 'gwei'),
chiado: ethers.utils.parseUnits('2', 'gwei'),
// solanadevnet: ethers.BigNumber.from('28'),
neutrontestnet: ethers.utils.parseUnits('0.1', 'gwei'),
};

// Used to categorize rarity of testnet tokens & approximate exchange rates.
Expand Down Expand Up @@ -65,7 +64,6 @@ const chainTokenRarity: ChainMap<Rarity> = {
polygonzkevmtestnet: Rarity.Common,
chiado: Rarity.Common,
// solanadevnet: Rarity.Common,
neutrontestnet: Rarity.Common,
};

// Gets the "value" of a testnet chain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const infrastructure: InfrastructureConfig = {
'testnet3-',
'hyperlane-testnet4-',
'rc-testnet4-',
'neutron-testnet4-',
'testnet4-',
],
},
Expand Down
1 change: 0 additions & 1 deletion typescript/sdk/src/consts/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export enum DeprecatedChains {
rinkeby = 'rinkeby',
optimismkovan = 'optimismkovan',
optimismrinkeby = 'optimismrinkeby',
neutrontestnet = 'neutrontestnet',
}

export const AllDeprecatedChains = Object.keys(DeprecatedChains) as string[];
Expand Down
8 changes: 0 additions & 8 deletions typescript/sdk/src/consts/multisigIsm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,6 @@ export const defaultMultisigConfigs: ChainMap<MultisigConfig> = {
'0x7885fae56dbcf5176657f54adbbd881dc6714132',
],
},
neutrontestnet: {
threshold: 2,
validators: [
'0x5d2a99d67cd294a821de4fb25da6901ea8f89814',
'0xb57486243ce3bb3c38c50a582b8bbd20cb393589',
'0x661faee997654d14ead4ae48035883f05c3150cf',
],
},

optimism: {
threshold: 2,
Expand Down

0 comments on commit 9c73a6c

Please sign in to comment.