diff --git a/config/config.devnet2.yaml b/config/config.devnet-old.yaml similarity index 75% rename from config/config.devnet2.yaml rename to config/config.devnet-old.yaml index be1e2c712..668440029 100644 --- a/config/config.devnet2.yaml +++ b/config/config.devnet-old.yaml @@ -1,4 +1,4 @@ -network: 'devnet2' +network: 'devnet-old' metaChainShardId: 4294967295 api: public: true @@ -39,13 +39,13 @@ features: enabled: false marketplace: enabled: false - serviceUrl: 'https://devnet2-nfts-graph.multiversx.com/graphql' + serviceUrl: 'https://devnet-old-nfts-graph.multiversx.com/graphql' exchange: enabled: false - serviceUrl: 'https://devnet2-graph.xexchange.com/graphql' + serviceUrl: 'https://devnet-old-graph.xexchange.com/graphql' dataApi: enabled: false - serviceUrl: 'https://devnet2-data-api.multiversx.com' + serviceUrl: 'https://devnet-old-data-api.multiversx.com' auth: enabled: false maxExpirySeconds: 86400 @@ -61,25 +61,25 @@ image: aws: s3KeyId: '' s3Secret: '' - s3Bucket: 'devnet2-media.elrond.com' + s3Bucket: 'devnet-old-media.elrond.com' s3Region: '' urls: - self: 'https://devnet2-api.multiversx.com' + self: 'https://devnet-old-api.multiversx.com' elastic: - - 'https://devnet2-index.multiversx.com' + - 'https://devnet-old-index.multiversx.com' gateway: - - 'https://devnet2-gateway.multiversx.com' + - 'https://devnet-old-gateway.multiversx.com' verifier: 'https://play-api.multiversx.com' redis: '127.0.0.1' rabbitmq: 'amqp://127.0.0.1:5672' - providers: 'https://devnet2-delegation-api.multiversx.com/providers' - delegation: 'https://devnet2-delegation-api.multiversx.com' - media: 'https://devnet2-media.elrond.com' - nftThumbnails: 'https://devnet2-media.elrond.com/nfts/thumbnail' + providers: 'https://devnet-old-delegation-api.multiversx.com/providers' + delegation: 'https://devnet-old-delegation-api.multiversx.com' + media: 'https://devnet-old-media.elrond.com' + nftThumbnails: 'https://devnet-old-media.elrond.com/nfts/thumbnail' tmp: '/tmp' ipfs: 'https://ipfs.io/ipfs' - socket: 'devnet2-socket-fra.elrond.com' - maiarId: 'https://devnet2-id-api.multiversx.com' + socket: 'devnet-old-socket-fra.elrond.com' + maiarId: 'https://devnet-old-id-api.multiversx.com' indexer: type: 'elastic' maxPagination: 10000 diff --git a/config/dapp.config.devnet2.json b/config/dapp.config.devnet-old.json similarity index 62% rename from config/dapp.config.devnet2.json rename to config/dapp.config.devnet-old.json index 8e9d719bf..8395b12da 100644 --- a/config/dapp.config.devnet2.json +++ b/config/dapp.config.devnet-old.json @@ -1,6 +1,6 @@ { - "id": "devnet2", - "name": "Devnet", + "id": "devnet-old", + "name": "Devnet-old", "egldLabel": "xEGLD", "decimals": "4", "egldDenomination": "18", @@ -10,8 +10,8 @@ "walletConnectBridgeAddresses": [ "https://bridge.walletconnect.org" ], - "walletAddress": "https://devnet2-wallet.multiversx.com", - "apiAddress": "https://devnet2-api.multiversx.com", - "explorerAddress": "http://devnet2-explorer.multiversx.com", + "walletAddress": "https://devnet-old-wallet.multiversx.com", + "apiAddress": "https://devnet-old-api.multiversx.com", + "explorerAddress": "http://devnet-old-explorer.multiversx.com", "chainId": "D" } \ No newline at end of file diff --git a/package.json b/package.json index 0d138cd67..d8a0e6f70 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "start:devnet": "npm run copy-devnet-config & nest start", "start:devnet:watch": "npm run copy-devnet-config & nest start --watch", "start:devnet:debug": "npm run copy-devnet-config & nest start --watch --debug", - "start:devnet2": "npm run copy-devnet2-config & nest start", - "start:devnet2:watch": "npm run copy-devnet2-config & nest start --watch", - "start:devnet2:debug": "npm run copy-devnet2-config & nest start --watch --debug", + "start:devnet-old": "npm run copy-devnet-old-config & nest start", + "start:devnet-old:watch": "npm run copy-devnet-old-config & nest start --watch", + "start:devnet-old:debug": "npm run copy-devnet-old-config & nest start --watch --debug", "start:testnet": "npm run copy-testnet-config & nest start", "start:testnet:watch": "npm run copy-testnet-config & nest start --watch", "start:testnet:debug": "npm run copy-testnet-config & nest start --watch --debug", @@ -45,14 +45,14 @@ "copy-mainnet-config": "run-script-os", "copy-testnet-config": "run-script-os", "copy-devnet-config": "run-script-os", - "copy-devnet2-config": "run-script-os", + "copy-devnet-old-config": "run-script-os", "copy-custom-config": "run-script-os", "copy-custom-devnet-config": "run-script-os", "copy-custom-testnet-config": "run-script-os", "copy-custom-mainnet-config": "run-script-os", "init:nix": "rimraf src/plugins && mkdir src/plugins && cp src/plugins.template/plugin.module.ts.template src/plugins/plugin.module.ts", "copy-devnet-config:nix": "cp ./config/config.devnet.yaml ./config/config.yaml", - "copy-devnet2-config:nix": "cp ./config/config.devnet2.yaml ./config/config.yaml", + "copy-devnet-old-config:nix": "cp ./config/config.devnet-old.yaml ./config/config.yaml", "copy-testnet-config:nix": "cp ./config/config.testnet.yaml ./config/config.yaml", "copy-mainnet-config:nix": "cp ./config/config.mainnet.yaml ./config/config.yaml", "copy-custom-config:nix": "cp ./config/config.custom.yaml ./config/config.yaml", @@ -61,7 +61,7 @@ "copy-custom-mainnet-config:nix": "cp ./config/config.custom.mainnet.yaml ./config/config.yaml", "init:windows": "rimraf src/plugins && mkdir .\\src\\plugins & copy .\\src\\plugins.template\\plugin.module.ts.template .\\src\\plugins\\plugin.module.ts", "copy-devnet-config:windows": "copy .\\config\\config.devnet.yaml .\\config\\config.yaml", - "copy-devnet2-config:windows": "copy .\\config\\config.devnet2.yaml .\\config\\config.yaml", + "copy-devnet-old-config:windows": "copy .\\config\\config.devnet-old.yaml .\\config\\config.yaml", "copy-testnet-config:windows": "copy .\\config\\config.testnet.yaml .\\config\\config.yaml", "copy-mainnet-config:windows": "copy .\\config\\config.mainnet.yaml .\\config\\config.yaml", "copy-custom-config:windows": "copy .\\config\\config.custom.yaml .\\config\\config.yaml", diff --git a/src/test/integration/services/dapp.config.e2e-spec.ts b/src/test/integration/services/dapp.config.e2e-spec.ts index 20487965f..2461daae7 100644 --- a/src/test/integration/services/dapp.config.e2e-spec.ts +++ b/src/test/integration/services/dapp.config.e2e-spec.ts @@ -59,11 +59,11 @@ describe('Dapp Config Service', () => { } }); - it("should return devnet2 dapp configuration", () => { + it("should return devnet-old dapp configuration", () => { jest .spyOn(DappConfigService.prototype, 'getDappConfigurationRaw') .mockImplementation(jest.fn(() => new DappConfig({ - "id": "devnet2", + "id": "devnet-old", "name": "Devnet", "egldLabel": "xEGLD", "decimals": "4", @@ -71,9 +71,9 @@ describe('Dapp Config Service', () => { "gasPerDataByte": "1500", "apiTimeout": "4000", "walletConnectDeepLink": "https://maiar.page.link/?apn=com.multiversx.maiar.wallet&isi=1519405832&ibi=com.multiversx.maiar.wallet&link=https://maiar.com/", - "walletAddress": "https://devnet2-wallet.multiversx.com", - "apiAddress": "https://devnet2-api.multiversx.com", - "explorerAddress": "http://devnet2-explorer.multiversx.com", + "walletAddress": "https://devnet-old-wallet.multiversx.com", + "apiAddress": "https://devnet-old-api.multiversx.com", + "explorerAddress": "http://devnet-old-explorer.multiversx.com", "chainId": "D", })));