Browse Source

Remove osmosis testnet 4 as it is deprecated and we already have testnet 5 (#974)

Mohammad Amin Khashkhashi Moghaddam 2 năm trước cách đây
mục cha
commit
4660026009

+ 0 - 9
target_chains/cosmwasm/tools/src/chains-manager/chains.ts

@@ -14,7 +14,6 @@ export enum ChainType {
 // chainname{_optional-identifier}
 export enum ChainId {
   INJECTIVE_TESTNET = "injective_testnet",
-  OSMOSIS_TESTNET_4 = "osmosis_testnet_4",
   OSMOSIS_TESTNET_5 = "osmosis_testnet_5",
   SEI_TESTNET_ATLANTIC_2 = "sei_testnet_atlantic_2",
   NEUTRON_TESTNET_PION_1 = "neutron_testnet_pion_1",
@@ -74,14 +73,6 @@ export const CHAINS_NETWORK_CONFIG: Record<ChainId, ChainNetworkConfig> = {
     prefix: "osmo",
     gasPrice: "0.025uosmo",
   },
-  [ChainId.OSMOSIS_TESTNET_4]: {
-    chainId: ChainId.OSMOSIS_TESTNET_4,
-    chainType: ChainType.COSMWASM,
-    executorEndpoint: "https://rpc-test.osmosis.zone:443",
-    querierEndpoint: "https://rpc-test.osmosis.zone:443",
-    prefix: "osmo",
-    gasPrice: "0.025uosmo",
-  },
   [ChainId.SEI_TESTNET_ATLANTIC_2]: {
     chainId: ChainId.SEI_TESTNET_ATLANTIC_2,
     chainType: ChainType.COSMWASM,

+ 0 - 5
target_chains/cosmwasm/tools/src/configs.ts

@@ -14,11 +14,6 @@ export const CHAINS_CONTRACT_CONFIG: Record<ChainId, ChainContractConfig> = {
     pythArtifactZipName: "injective",
     wormholeChainId: CHAINS.injective_testnet,
   },
-  [ChainId.OSMOSIS_TESTNET_4]: {
-    feeDenom: "uosmo",
-    pythArtifactZipName: "osmosis",
-    wormholeChainId: CHAINS.osmosis_testnet_4,
-  },
   [ChainId.OSMOSIS_TESTNET_5]: {
     feeDenom: "uosmo",
     pythArtifactZipName: "osmosis",

+ 0 - 2
target_chains/cosmwasm/tools/src/helper.ts

@@ -8,7 +8,6 @@ import { ChainId } from "./chains-manager/chains";
 export function getChainIdsForStableDeployment(): ChainId[] {
   return [
     ChainId.INJECTIVE_TESTNET,
-    ChainId.OSMOSIS_TESTNET_4,
     ChainId.OSMOSIS_TESTNET_5,
     ChainId.OSMOSIS,
     ChainId.SEI_TESTNET_ATLANTIC_2,
@@ -22,7 +21,6 @@ export function getChainIdsForStableDeployment(): ChainId[] {
 export function getChainIdsForEdgeDeployment(): ChainId[] {
   return [
     ChainId.INJECTIVE_TESTNET,
-    ChainId.OSMOSIS_TESTNET_4,
     ChainId.OSMOSIS_TESTNET_5,
     ChainId.SEI_TESTNET_ATLANTIC_2,
     ChainId.NEUTRON_TESTNET_PION_1,

+ 0 - 22
target_chains/cosmwasm/tools/store/edge/instantiate-pyth/osmosis_testnet_4-1.2.0.json

@@ -1,22 +0,0 @@
-{
-  "deploy-pyth-code": {
-    "status": "fulfilled",
-    "result": {
-      "codeId": 7133,
-      "txHash": "AE36A4CAB335E9D1EF7E721F82FCAEC6A41E864886642FE3BAE5C93A692E0E91"
-    }
-  },
-  "instantiate-contract": {
-    "status": "fulfilled",
-    "result": {
-      "contractAddr": "osmo1hj9wsf04y98e4979r9vknmv3ca76r2f06ztrwjgp96e9rkh5we4swntsp7",
-      "txHash": "C24AB306891FDB91F4B823E51E0C192588E6E6072039D1D505041137B2DDA384"
-    }
-  },
-  "set-own-admin": {
-    "status": "fulfilled",
-    "result": {
-      "txHash": "D838642F8190F9CBC500F153ADEA682222710CDB5B5D51A493595D069A7D707D"
-    }
-  }
-}

+ 0 - 28
target_chains/cosmwasm/tools/store/edge/test-contracts/osmosis_testnet_4-1.2.0.json

@@ -1,28 +0,0 @@
-{
-  "push-price-update": {
-    "status": "fulfilled",
-    "result": {
-      "txHash": "ED580159C0393A11223C2CC1C51200D0BDC9EB28E22C5DB28AA5934761248F78"
-    }
-  },
-  "fetch-price-feed-update": {
-    "status": "fulfilled",
-    "result": {
-      "price_feed": {
-        "id": "f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b",
-        "price": {
-          "price": "2690892219934",
-          "conf": "640219934",
-          "expo": -8,
-          "publish_time": 1684765098
-        },
-        "ema_price": {
-          "price": "2687619200000",
-          "conf": "644806510",
-          "expo": -8,
-          "publish_time": 1684765098
-        }
-      }
-    }
-  }
-}

+ 0 - 22
target_chains/cosmwasm/tools/store/stable/instantiate-pyth/osmosis_testnet_4-1.2.0.json

@@ -1,22 +0,0 @@
-{
-  "deploy-pyth-code": {
-    "status": "fulfilled",
-    "result": {
-      "codeId": 7132,
-      "txHash": "63B8EBA9DB096D34D0A20EACA201F11C11CCD8CAF8FDCA1C54C6EC3C9096676E"
-    }
-  },
-  "instantiate-contract": {
-    "status": "fulfilled",
-    "result": {
-      "contractAddr": "osmo1cg4vhqqknj4ad84m4l7duw6ll23dxwuu76yaw63lhw55k46nt8ysuen2xc",
-      "txHash": "15AFA9AC5F32BB4548903A85E58F8D9F096F437D7962E85804B8D92F83EB69A2"
-    }
-  },
-  "set-own-admin": {
-    "status": "fulfilled",
-    "result": {
-      "txHash": "60EBF3A4956FA40C03AA52700CDA56276B2B294CBE0382A562C7204E6A56DD8B"
-    }
-  }
-}

+ 0 - 28
target_chains/cosmwasm/tools/store/stable/test-contracts/osmosis_testnet_4-1.2.0.json

@@ -1,28 +0,0 @@
-{
-  "push-price-update": {
-    "status": "fulfilled",
-    "result": {
-      "txHash": "3FCC45CA1B82CA05BDDBE4BB528DCDB354CBC599F973B08F514A16437342EA8B"
-    }
-  },
-  "fetch-price-feed-update": {
-    "status": "fulfilled",
-    "result": {
-      "price_feed": {
-        "id": "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43",
-        "price": {
-          "price": "2692904856472",
-          "conf": "789206669",
-          "expo": -8,
-          "publish_time": 1684765152
-        },
-        "ema_price": {
-          "price": "2687021600000",
-          "conf": "646106260",
-          "expo": -8,
-          "publish_time": 1684765152
-        }
-      }
-    }
-  }
-}