From 0e2a2d2dfbab5d7ece5422de42176d425fb7c45d Mon Sep 17 00:00:00 2001 From: fryd Date: Wed, 9 Aug 2023 13:57:04 +0200 Subject: [PATCH] chore: change vega.xyz to vega.rocks (#255) --- devnet1/vegawallet-devnet1.toml | 6 ++-- fairground/vegawallet-fairground.toml | 6 ++-- mainnet-mirror/templates/nodes.json | 44 ++++++++++++------------- scripts/cmd/generateVegawalletConfig.go | 12 +++---- 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/devnet1/vegawallet-devnet1.toml b/devnet1/vegawallet-devnet1.toml index 54e6f823..3ab06740 100644 --- a/devnet1/vegawallet-devnet1.toml +++ b/devnet1/vegawallet-devnet1.toml @@ -9,14 +9,14 @@ name = "devnet1" [API] [API.GRPC] - Hosts = ["api.devnet1.vega.xyz:3007", "api.n06.devnet1.vega.xyz:3007", "api.n07.devnet1.vega.xyz:3007"] + Hosts = ["api.devnet1.vega.rocks:3007", "api.n06.devnet1.vega.rocks:3007", "api.n07.devnet1.vega.rocks:3007"] Retries = 5 [API.GraphQL] - Hosts = ["https://api.devnet1.vega.xyz/graphql", "https://api.n06.devnet1.vega.xyz/graphql", "https://api.n07.devnet1.vega.xyz/graphql"] + Hosts = ["https://api.devnet1.vega.rocks/graphql", "https://api.n06.devnet1.vega.rocks/graphql", "https://api.n07.devnet1.vega.rocks/graphql"] [API.REST] - Hosts = ["https://api.devnet1.vega.xyz", "https://api.n06.devnet1.vega.xyz", "https://api.n07.devnet1.vega.xyz"] + Hosts = ["https://api.devnet1.vega.rocks", "https://api.n06.devnet1.vega.rocks", "https://api.n07.devnet1.vega.rocks"] [Apps] Console = "" diff --git a/fairground/vegawallet-fairground.toml b/fairground/vegawallet-fairground.toml index abd487de..e40e7f5c 100644 --- a/fairground/vegawallet-fairground.toml +++ b/fairground/vegawallet-fairground.toml @@ -9,14 +9,14 @@ name = "fairground" [API] [API.GRPC] - Hosts = ["api.n00.testnet.vega.xyz:3007", "api.n06.testnet.vega.xyz:3007", "api.n07.testnet.vega.xyz:3007", "api.n08.testnet.vega.xyz:3007", "api.n09.testnet.vega.xyz:3007"] + Hosts = ["api.n00.testnet.vega.rocks:3007", "api.n06.testnet.vega.rocks:3007", "api.n07.testnet.vega.rocks:3007", "api.n08.testnet.vega.rocks:3007", "api.n09.testnet.vega.rocks:3007"] Retries = 5 [API.GraphQL] - Hosts = ["https://api.n00.testnet.vega.xyz/graphql", "https://api.n06.testnet.vega.xyz/graphql", "https://api.n07.testnet.vega.xyz/graphql", "https://api.n08.testnet.vega.xyz/graphql", "https://api.n09.testnet.vega.xyz/graphql"] + Hosts = ["https://api.n00.testnet.vega.rocks/graphql", "https://api.n06.testnet.vega.rocks/graphql", "https://api.n07.testnet.vega.rocks/graphql", "https://api.n08.testnet.vega.rocks/graphql", "https://api.n09.testnet.vega.rocks/graphql"] [API.REST] - Hosts = ["https://api.n00.testnet.vega.xyz", "https://api.n06.testnet.vega.xyz", "https://api.n07.testnet.vega.xyz", "https://api.n08.testnet.vega.xyz", "https://api.n09.testnet.vega.xyz"] + Hosts = ["https://api.n00.testnet.vega.rocks", "https://api.n06.testnet.vega.rocks", "https://api.n07.testnet.vega.rocks", "https://api.n08.testnet.vega.rocks", "https://api.n09.testnet.vega.rocks"] [Apps] Console = "https://console.fairground.wtf" diff --git a/mainnet-mirror/templates/nodes.json b/mainnet-mirror/templates/nodes.json index e3e77aa6..4202abc2 100644 --- a/mainnet-mirror/templates/nodes.json +++ b/mainnet-mirror/templates/nodes.json @@ -1,7 +1,7 @@ { "be": { "node": "be", - "url": "be.mainnet-mirror.vega.xyz", + "url": "be.mainnet-mirror.vega.rocks", "ethereum_address": "0x81021586e06eD7469AF3fa8bB6cadE753ACAa9Ea", "vega_pub_key": "ec2bd31b32ddbd337be461d68abfcd65e96c53a0c98e60680a1638c886327486", "id": "755c2d99a4a82c2a33b40c5637aedfea31970831f6f3f9e7dca6a8fc24c9f384", @@ -16,7 +16,7 @@ }, "n00": { "node": "n00", - "url": "n00.mainnet-mirror.vega.xyz", + "url": "n00.mainnet-mirror.vega.rocks", "ethereum_address": "0xDAB4C95cfACDAcB54a042f01ea8b445C85796C01", "vega_pub_key": "01def63d9c21ff7cd9bb730c765b5a2fa2a2dec6355040ef18260a0f6bc154ac", "id": "42dc90f9437347acb4ecd2a22583ff01440bd4d9e7469c37f1855b2c139d14df", @@ -31,7 +31,7 @@ }, "n01": { "node": "n01", - "url": "n01.mainnet-mirror.vega.xyz", + "url": "n01.mainnet-mirror.vega.rocks", "ethereum_address": "0x41200c18DeF4672D63151d0Bd745550813A571b3", "vega_pub_key": "6a06202f9f941c57dc08f2205c126873a50e9886596c58570cb01613bf971624", "id": "1aa54b8f80d2c735ec61a41f9df93ae011542952a3689ec08c6e7e68a24e2ea8", @@ -46,7 +46,7 @@ }, "n02": { "node": "n02", - "url": "n02.mainnet-mirror.vega.xyz", + "url": "n02.mainnet-mirror.vega.rocks", "ethereum_address": "0xF0f056849412beEbc1400839173B85f197b18ED2", "vega_pub_key": "f9ec67d0ad7702d46ddcaa48b5c77feb9387fcb3f7238851b19da01ae2a1b637", "id": "11a35f82cd8278e57abee201aa0c40898da512279591da21b1f5b108c6fd4988", @@ -61,7 +61,7 @@ }, "n03": { "node": "n03", - "url": "n03.mainnet-mirror.vega.xyz", + "url": "n03.mainnet-mirror.vega.rocks", "ethereum_address": "0x07bdA0608A59892026D2d7A4B93bee3e63975191", "vega_pub_key": "978ca9994eae34552efb6cf0a19d73e7be32b12db47ebd15715b0d5d773f2b26", "id": "3fb698988c87dd30a84d8d370133a4851860467051270dbf6c7a08ac20010c78", @@ -76,7 +76,7 @@ }, "n04": { "node": "n04", - "url": "n04.mainnet-mirror.vega.xyz", + "url": "n04.mainnet-mirror.vega.rocks", "ethereum_address": "0x4F4Ce6a18258ee1FB39feB896084B7C67BD0C931", "vega_pub_key": "9a3987fbf64eed12c4897e263022a3ab49bfd0310b0b7ee16ca47781c3e39143", "id": "c1871169c52815066e48c03f0e4018177209cc17aeef5d5d49b26edc5709a79c", @@ -91,7 +91,7 @@ }, "n05": { "node": "n05", - "url": "n05.mainnet-mirror.vega.xyz", + "url": "n05.mainnet-mirror.vega.rocks", "ethereum_address": "0x725aA6BE5128f42361CA5829fBDe1596e093E184", "vega_pub_key": "18526460332331d15437cc1ac3507e5aff8455c39a6de2af8fc3aaa8ccf12072", "id": "6f0cb16a6c52c1e3e23056978f16447ee1802d7338e1113a18d94347bff2d707", @@ -106,7 +106,7 @@ }, "n06": { "node": "n06", - "url": "n06.mainnet-mirror.vega.xyz", + "url": "n06.mainnet-mirror.vega.rocks", "ethereum_address": "0x96BC5A406Cce3da99481AC4D9CDaE86567C51a3D", "vega_pub_key": "01963f8522e38e531cb795e86526a165b37d44d1d1851782a6b2bf5e9b2b641a", "id": "40d8640875319bdd28bf30779bca3e164b011b3e439c823d8108da2a31c2afaf", @@ -121,7 +121,7 @@ }, "n07": { "node": "n07", - "url": "n07.mainnet-mirror.vega.xyz", + "url": "n07.mainnet-mirror.vega.rocks", "ethereum_address": "0x55d94Ed17Ba71384EE2e8DF6fB41244abc502456", "vega_pub_key": "436d30f9ad2136d760d9936e4d47e5436d0f317421edd1d77668e6b0e42729f5", "id": "282013636ad59fcc5f64a7d09077d02a3dabe8fa78b36539bc4bc6dd32b1ddef", @@ -136,7 +136,7 @@ }, "n08": { "node": "n08", - "url": "n08.mainnet-mirror.vega.xyz", + "url": "n08.mainnet-mirror.vega.rocks", "ethereum_address": "0xf4D8F356f9767FeA0D48bbBa293Ad42e785A1D0A", "vega_pub_key": "4cf67b6e0db05e18530166088da77c71a90d040dab95785777c9f24aed4a10a1", "id": "af24c80d93d881d95749ccbaa3263798245148f95ca60ed9fa1e90a6314f28ba", @@ -151,7 +151,7 @@ }, "n09": { "node": "n09", - "url": "n09.mainnet-mirror.vega.xyz", + "url": "n09.mainnet-mirror.vega.rocks", "ethereum_address": "0x63c324981f49f3323a7b3532bd5A1628145e2A7F", "vega_pub_key": "150bacbf5fee923870e1c6cb99cee79046d9da20bdfd1ac6d4b3857e160b81fd", "id": "256f3112b30a2f24db6c8c5b1ea1ecd2d4db1039e2d94e4427306c432c5c0775", @@ -166,7 +166,7 @@ }, "n10": { "node": "n10", - "url": "n10.mainnet-mirror.vega.xyz", + "url": "n10.mainnet-mirror.vega.rocks", "ethereum_address": "0xE44BC019890c1e4Cc2c2e22D37f6b5Bb156105e2", "vega_pub_key": "0d4c252c6e08bb78984408e3d7c0ea186c63dce434b9e5ac34b8a583a19f90da", "id": "33486fb74c9479f30b74da64035bd7541b8da717cc065ea7e5b6d4bb9a317834", @@ -181,7 +181,7 @@ }, "n11": { "node": "n11", - "url": "n11.mainnet-mirror.vega.xyz", + "url": "n11.mainnet-mirror.vega.rocks", "ethereum_address": "0xB677429788986308E1249B3829FE63915aaA272f", "vega_pub_key": "e21c6c730cde5bfcf0457703c13b0ca454baa39f82691b3284e9c05210436801", "id": "66e26a845606275c78f5a853cb03835ff629afdd988098f58ffcaf91d83f7d17", @@ -196,7 +196,7 @@ }, "n12": { "node": "n12", - "url": "n12.mainnet-mirror.vega.xyz", + "url": "n12.mainnet-mirror.vega.rocks", "ethereum_address": "0x15Bd00f4CC7B8F2094330d319520fF2D0Fa0Ac5d", "vega_pub_key": "1fb5935c0a0bda1f41f4517279d6e04c9dad3fe5e78415cb9c7adef07e8f159a", "id": "679960095a19f7bbd873d9922e3630acc13475df07b6380616bb0470a9f21601", @@ -211,7 +211,7 @@ }, "n13": { "node": "n13", - "url": "n13.mainnet-mirror.vega.xyz", + "url": "n13.mainnet-mirror.vega.rocks", "ethereum_address": "0x57555B454070128651C8E4FBC439534b1d4082CE", "vega_pub_key": "092b44f5197f90e4388c0f5e3bf3f4af892e096cde4b4d268c4546657ac7d86f", "id": "581988f2b7ac50550b8c158090e02fb7419ec83ab819db24856ff1967496c657", @@ -226,7 +226,7 @@ }, "n14": { "node": "n14", - "url": "n14.mainnet-mirror.vega.xyz", + "url": "n14.mainnet-mirror.vega.rocks", "ethereum_address": "0x3287C4EBBB353369682eb3A2598A4FeDCee1bd1f", "vega_pub_key": "a7f6dcc954550c791bd07fd79e747bfa3ca766f034b1e17780e9a580da696d3a", "id": "ebcfe7f21314519895d7d483967f098f732e203eaf6496182900e141e5e354a5", @@ -241,7 +241,7 @@ }, "n15": { "node": "n15", - "url": "n15.mainnet-mirror.vega.xyz", + "url": "n15.mainnet-mirror.vega.rocks", "ethereum_address": "0x08F5e63a98ef3be6B8dF495d11fEB7483b878356", "vega_pub_key": "3acb233cdfbead6e349ab7805fc9e150a6acf0c718fd01b0ad8bdaac60df0ffa", "id": "75d5ee396f08ce4fbca03d941a65b25a0d0f2972387fead6a7b9779f0f66b30e", @@ -256,7 +256,7 @@ }, "n16": { "node": "n16", - "url": "n16.mainnet-mirror.vega.xyz", + "url": "n16.mainnet-mirror.vega.rocks", "ethereum_address": "0xC3D2Cb544287cb450F14AE46446Eff39B7daD476", "vega_pub_key": "7c952d9b45b51bd2d799dcd31ec8cf8eab00470159a366a4f8e3717a416ecd84", "id": "47ffc325fa0b066d7d8b7685b65293bd98873788c7bda8754dc0a30e177d063b", @@ -271,7 +271,7 @@ }, "n17": { "node": "n17", - "url": "n17.mainnet-mirror.vega.xyz", + "url": "n17.mainnet-mirror.vega.rocks", "ethereum_address": "0x53535dB04EECd1cc14a7E4ABd709E67E9968039A", "vega_pub_key": "a3cc228bc3230ec1798dc3f5feaa88d13685c4006b097789bb586430cdcc65cd", "id": "acd491ddd999d97808838d81e80e994b74a17b8c7946c1a946ca331312fc64e5", @@ -286,7 +286,7 @@ }, "n18": { "node": "n18", - "url": "n18.mainnet-mirror.vega.xyz", + "url": "n18.mainnet-mirror.vega.rocks", "ethereum_address": "0xeaa661b0520F9FE3C695c9842acDca9336FEc226", "vega_pub_key": "a1959f63af832be2a68cf14ae51dd4e12f03dd71c1b3423985ac2ad97e978f2d", "id": "b1400074429057dcbc545bb0270c058c4d8953aa8c3c11a9aa0377aa49217153", @@ -301,7 +301,7 @@ }, "n19": { "node": "n19", - "url": "n19.mainnet-mirror.vega.xyz", + "url": "n19.mainnet-mirror.vega.rocks", "ethereum_address": "0xBa10A034ee292C417B86eD2A7307d346B2B7c721", "vega_pub_key": "c78edcbd97b58541610b57caf28925df19f8626599fb258a9c44c496d755c03c", "id": "92d07f0da9d7e4f6c9aa6c36e1707acbf07176c71b0a6b51cfbe90cc39fe0d68", @@ -316,7 +316,7 @@ }, "n20": { "node": "n20", - "url": "n20.mainnet-mirror.vega.xyz", + "url": "n20.mainnet-mirror.vega.rocks", "ethereum_address": "0xe05997c99050cD877e79C268d4Fc3A5893D10252", "vega_pub_key": "a003e1d3831d81b50eb179e8af425ddef6758e19cc230ea07d8c4f7eb9a555da", "id": "eb498075aded93b7197f9d18f6b8dd15faec8de01fff42bf150a2a73c21aedfe", diff --git a/scripts/cmd/generateVegawalletConfig.go b/scripts/cmd/generateVegawalletConfig.go index 18d45732..d6d1c2e8 100644 --- a/scripts/cmd/generateVegawalletConfig.go +++ b/scripts/cmd/generateVegawalletConfig.go @@ -80,17 +80,17 @@ func RunGenerateVegawalletConfig(args GenerateVegawalletConfigArgs) error { Host: "127.0.0.1", } - data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.vega.xyz:3007", args.VegaNetworkName)) - data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.vega.xyz", args.VegaNetworkName)) - data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.vega.xyz/graphql", args.VegaNetworkName)) + data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.vega.rocks:3007", args.VegaNetworkName)) + data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.vega.rocks", args.VegaNetworkName)) + data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.vega.rocks/graphql", args.VegaNetworkName)) // sort node ids - to minimise changes to generated config sort.Strings(args.DataNodeIds) for _, nodeId := range args.DataNodeIds { - data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.%s.vega.xyz:3007", nodeId, args.VegaNetworkName)) - data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.%s.vega.xyz", nodeId, args.VegaNetworkName)) - data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.%s.vega.xyz/graphql", nodeId, args.VegaNetworkName)) + data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.%s.vega.rocks:3007", nodeId, args.VegaNetworkName)) + data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.%s.vega.rocks", nodeId, args.VegaNetworkName)) + data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.%s.vega.rocks/graphql", nodeId, args.VegaNetworkName)) } data.API.GRPC.Retries = 5 data.Console.URL = "" // fmt.Sprintf("%s.vega.trading", args.VegaNetworkName)