Skip to content

Commit

Permalink
add devnet-old (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfaur09 authored Nov 6, 2023
1 parent 902cf2f commit f91cb1e
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
28 changes: 14 additions & 14 deletions config/config.devnet2.yaml → config/config.devnet-old.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
network: 'devnet2'
network: 'devnet-old'
metaChainShardId: 4294967295
api:
public: true
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "devnet2",
"name": "Devnet",
"id": "devnet-old",
"name": "Devnet-old",
"egldLabel": "xEGLD",
"decimals": "4",
"egldDenomination": "18",
Expand All @@ -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"
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions src/test/integration/services/dapp.config.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,21 @@ 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",
"egldDenomination": "18",
"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",
})));

Expand Down

0 comments on commit f91cb1e

Please sign in to comment.