Skip to content

Commit

Permalink
UPDATE: Removed all the Goerli stuff from the UI (#1906)
Browse files Browse the repository at this point in the history
* update the fetching

* fix the new api for the testers

* Revert "fix the new api for the testers"

This reverts commit ab01562.

* Revert "update the fetching"

This reverts commit b5a052c.

* Fix the nuke modal animation

* Revert "Fix the nuke modal animation"

This reverts commit 3c5b547.

* UPDATE: remove Goerli from UI completely
  • Loading branch information
mabasian committed Jun 5, 2024
1 parent 922cdd2 commit 9708f48
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ serviceStore.filteredServices = computed(() => {
const getFilterbyNetwork = () => {
switch (manageStore.configNetwork.network) {
case "mainnet":
case "goerli":
return (item) => archFilter(item.service);
case "holesky":
return (item) => item.service != archFilter(item.service);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,9 @@ const linkPicker = async (item) => {
const setSelectedLinks = () => {
const networkLinks = {
1: installStore.mainnet,
2: installStore.goerli,
3: installStore.sepolia,
4: installStore.gnosis,
5: installStore.holesky,
2: installStore.sepolia,
3: installStore.gnosis,
4: installStore.holesky,
};
selectedLinks.value = networkLinks[manageStore.currentNetwork?.id] || [];
Expand Down
5 changes: 0 additions & 5 deletions launcher/src/components/UI/guide-page/StakeGuide.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ export default {
message: "",
nextStep: 0,
sliderTutorial: [
{
id: 1,
img: "/img/icon/guide-page-icons/guide-staking-icons/1.jpg",
text: this.$t("sliderTutorial.visitUrl") + " “https://goerli.launchpad.ethereum.org/en/”",
},
{
id: 2,
img: "/img/icon/guide-page-icons/guide-staking-icons/2.jpg",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,17 +201,14 @@ const linkPicker = async (item) => {
};
const setSelectedLinks = () => {
const networkLinks = {
1: installStore.mainnet,
2: installStore.goerli,
3: installStore.sepolia,
4: installStore.gnosis,
5: installStore.holesky,
2: installStore.sepolia,
3: installStore.gnosis,
4: installStore.holesky,
};
selectedLinks.value = networkLinks[manageStore.currentNetwork?.id] || [];
};
</script>
<style scoped>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export default {
checkPointSync: "checkPointSync",
btnActive: "btnActive",
mainnet: "mainnet",
goerli: "goerli",
sepolia: "sepolia",
gnosis: "gnosis",
}),
Expand Down Expand Up @@ -186,15 +185,12 @@ export default {
this.selectedLinks = this.mainnet;
break;
case 2:
this.selectedLinks = this.goerli;
break;
case 3:
this.selectedLinks = this.sepolia;
break;
case 4:
case 3:
this.selectedLinks = this.gnosis;
break;
case 5:
case 4:
this.selectedLinks = this.holesky;
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion launcher/src/components/UI/services-modal/SsvDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default {
async getURL() {
const grafana = this.installedServices.find((service) => service.service === "GrafanaService");
this.ssvNetworkUrl.operatorUrl = `https://${
["goerli", "holesky"].includes(this.currentNetwork.network) ? this.currentNetwork.network + "." : ""
["holesky"].includes(this.currentNetwork.network) ? this.currentNetwork.network + "." : ""
}explorer.ssv.network/operators/${this.operatorData?.id ? this.operatorData?.id : ""}`;
this.ssvNetworkUrl.grafanaDashboardUrl = grafana.linkUrl
? grafana.linkUrl + "/d/QNiMrdoVz/node-dashboard?orgId=1"
Expand Down
2 changes: 1 addition & 1 deletion launcher/src/components/UI/services-modal/SsvModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default {
this.ssvServiceConfig = this.ssvTotalConfig.ssvServiceConfig;
this.ssvNetworkConfig = this.ssvTotalConfig.ssvNetworkConfig;
this.network = this.ssvServiceConfig.network === "goerli" ? "prater" : this.ssvServiceConfig.network;
this.network = this.ssvServiceConfig.network;
this.lastKnownPublicKey = this.ssvTotalConfig.lastKnownPublicKeyFileData;
// By default assume pk/sk are defined in ssvServiceConfig (unencrypted & deprecated by SSV)
Expand Down
15 changes: 8 additions & 7 deletions launcher/src/components/UI/the-control/TheStaking.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,20 @@ export default {
setSelectedCurrency() {
switch (this.currentNetwork.id) {
case 1:
this.selectedCurrency = "/img/icon/control-page-icons/network-currency-icons/network-currency-icons-ethereum-mainnet.png";
this.selectedCurrency =
"/img/icon/control-page-icons/network-currency-icons/network-currency-icons-ethereum-mainnet.png";
break;
case 2:
this.selectedCurrency = "/img/icon/control-page-icons/network-currency-icons/network-currency-icons-goerli-testnet.png";
this.selectedCurrency =
"/img/icon/control-page-icons/network-currency-icons/network-currency-icons-sepolia-testnet.png";
break;
case 3:
this.selectedCurrency = "/img/icon/control-page-icons/network-currency-icons/network-currency-icons-sepolia-testnet.png";
this.selectedCurrency =
"/img/icon/control-page-icons/network-currency-icons/network-currency-icons-gnosis-mainnet.png";
break;
case 4:
this.selectedCurrency = "/img/icon/control-page-icons/network-currency-icons/network-currency-icons-gnosis-mainnet.png";
break;
case 5:
this.selectedCurrency = "/img/icon/control-page-icons/network-currency-icons/network-currency-icons-holesky-testnet.png";
this.selectedCurrency =
"/img/icon/control-page-icons/network-currency-icons/network-currency-icons-holesky-testnet.png";
break;
default:
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export default {
...mapWritableState(useClickInstall, {
syncType: "syncType",
mainnet: "mainnet",
goerli: "goerli",
sepolia: "sepolia",
gnosis: "gnosis",
}),
Expand Down Expand Up @@ -213,16 +212,14 @@ export default {
case 1:
this.selectedLinks = this.mainnet;
break;
case 2:
this.selectedLinks = this.goerli;
break;
case 3:
this.selectedLinks = this.sepolia;
break;
case 4:
case 3:
this.selectedLinks = this.gnosis;
break;
case 5:
case 4:
this.selectedLinks = this.holesky;
break;
default:
Expand Down
50 changes: 0 additions & 50 deletions launcher/src/store/clickInstallation.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,56 +200,6 @@ export const useClickInstall = defineStore("clickInstallation", {
url: "https://beaconstate.info/",
},
],
goerli: [
{
id: 1,
name: "Sigma Prime",
icon: "/img/icon/checkpoint-sync-icons/sigmaprime-checkpoint-icon.png",
url: "https://prater.checkpoint.sigp.io/",
},
{
id: 2,
name: "invis.tools",
icon: "/img/icon/checkpoint-sync-icons/invis-tools-checkpoint-icon.png",
url: "https://goerli-sync.invis.tools/",
},
{
id: 3,
name: "Checkpoint",
icon: "/img/icon/checkpoint-sync-icons/checkpointz-checkpoint-icon.png",
url: "https://checkpoint-sync.goerli.ethpandaops.io/",
},
{
id: 4,
name: "beaconcha.in",
icon: "/img/icon/checkpoint-sync-icons/beaconchain-checkpoint-icon.png",
url: "https://sync-goerli.beaconcha.in/",
},
{
id: 5,
name: "stakely.io",
icon: "/img/icon/checkpoint-sync-icons/stakely-io-checkpoint-icon.png",
url: "https://prater-checkpoint-sync.stakely.io/",
},
{
id: 6,
name: "EthStaker",
icon: "/img/icon/checkpoint-sync-icons/ethstaker-checkpoint-icon.png",
url: "https://goerli.beaconstate.ethstaker.cc/",
},
{
id: 7,
name: "Lodestar",
icon: "/img/icon/checkpoint-sync-icons/lodestar-checkpoint-icon.png",
url: "https://beaconstate-goerli.chainsafe.io/",
},
{
id: 8,
name: "BeaconState.info",
icon: "",
url: "https://goerli.beaconstate.info/",
},
],
sepolia: [
{
id: 1,
Expand Down
36 changes: 9 additions & 27 deletions launcher/src/store/nodeManage.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ export const useNodeManage = defineStore("nodeManage", {
name: "FLASHBOTS",
mainnet:
"https://0xac6e77dfe25ecd6110b8e780608cce0dab71fdd5ebea22a16c0205200f2f8e2e3ad3b71d3499c54ad14d6c21b41a37ae@boost-relay.flashbots.net",
goerli:
"https://0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110@boost-relay-goerli.flashbots.net",
sepolia:
"https://0x845bd072b7cd566f02faeb0a4033ce9399e42839ced64e8b2adcfc859ed1e8e1a5a293336a49feac6d9a5edb779be53a@boost-relay-sepolia.flashbots.net",
holesky:
Expand All @@ -54,8 +52,7 @@ export const useNodeManage = defineStore("nodeManage", {
name: "BloXroute MAX PROFIT",
mainnet:
"https://0x8b5d2e73e2a3a55c6c87b8b6eb92e0149a125c852751db1422fa951e42a09b82c142c3ea98d0d9930b056a3bc9896b8f@bloxroute.max-profit.blxrbdn.com",
goerli:
"https://0x821f2a65afb70e7f2e820a925a9b4c80a159620582c1766b1b09729fec178b11ea22abb3a51f07b288be815a1a2ff516@bloxroute.max-profit.builder.goerli.blxrbdn.com",

id: 2,
isSelected: false,
isRemoved: false,
Expand All @@ -76,8 +73,7 @@ export const useNodeManage = defineStore("nodeManage", {
name: "Manifold",
mainnet:
"https://0x98650451ba02064f7b000f5768cf0cf4d4e492317d82871bdc87ef841a0743f69f0f1eea11168503240ac35d101c9135@mainnet-relay.securerpc.com",
goerli:
"https://0x8a72a5ec3e2909fff931c8b42c9e0e6c6e660ac48a98016777fc63a73316b3ffb5c622495106277f8dbcc17a06e92ca3@goerli-relay.securerpc.com",

id: 6,
isSelected: false,
isRemoved: false,
Expand All @@ -88,8 +84,7 @@ export const useNodeManage = defineStore("nodeManage", {
name: "Ultra sound money",
mainnet:
"https://0xa1559ace749633b997cb3fdacffb890aeebdb0f5a3b6aaa7eeeaf1a38af0a8fe88b9e4b1f61f236d2e64d95733327a62@relay.ultrasound.money",
goerli:
"https://0xb1559beef7b5ba3127485bbbb090362d9f497ba64e177ee2c8e7db74746306efad687f2cf8574e38d70067d40ef136dc@relay-stag.ultrasound.money",

holesky:
"https://0xb1559beef7b5ba3127485bbbb090362d9f497ba64e177ee2c8e7db74746306efad687f2cf8574e38d70067d40ef136dc@relay-stag.ultrasound.money",
id: 7,
Expand All @@ -102,8 +97,7 @@ export const useNodeManage = defineStore("nodeManage", {
name: "Aestus",
mainnet:
"https://0xa15b52576bcbf1072f4a011c0f99f9fb6c66f3e1ff321f11f461d15e31b1cb359caa092c71bbded0bae5b5ea401aab7e@aestus.live",
goerli:
"https://0xab78bf8c781c58078c3beb5710c57940874dd96aef2835e7742c866b4c7c0406754376c2c8285a36c630346aa5c5f833@goerli.aestus.live",

holesky:
"https://0xab78bf8c781c58078c3beb5710c57940874dd96aef2835e7742c866b4c7c0406754376c2c8285a36c630346aa5c5f833@holesky.aestus.live",
id: 8,
Expand All @@ -116,8 +110,7 @@ export const useNodeManage = defineStore("nodeManage", {
name: "Agnostic",
mainnet:
"https://0xa7ab7a996c8584251c8f925da3170bdfd6ebc75d50f5ddc4050a6fdc77f2a3b5fce2cc750d0865e05d7228af97d69561@agnostic-relay.net",
goerli:
"https://0xa6bcad37b5d647152a93c2807d8a56055f1e0d7480eb6505d46edc21593e400f0f13738bf2e892f85946234629a3036a@goerli.agnostic-relay.net",

id: 9,
isSelected: false,
isRemoved: false,
Expand All @@ -128,8 +121,7 @@ export const useNodeManage = defineStore("nodeManage", {
name: "Eden",
mainnet:
"https://0xb3ee7afcf27f1f1259ac1787876318c6584ee353097a50ed84f51a1f21a323b3736f271a895c7ce918c038e4265918be@relay.edennetwork.io/",
goerli:
"https://0xb1d229d9c21298a87846c7022ebeef277dfc321fe674fa45312e20b5b6c400bfde9383f801848d7837ed5fc449083a12@relay-goerli.edennetwork.io/",

holesky:
"https://0xb1d229d9c21298a87846c7022ebeef277dfc321fe674fa45312e20b5b6c400bfde9383f801848d7837ed5fc449083a12@relay-holesky.edennetwork.io",
id: 10,
Expand Down Expand Up @@ -200,19 +192,9 @@ export const useNodeManage = defineStore("nodeManage", {
dataEndpoint: "https://mainnet.beaconcha.in/api/v1",
support: ["staking", "mev boost", "stereum on arm", "ssv.network", "obol", "archive", "lidoobol", "lidossv"],
},
{
id: 2,
name: "Goerli Testnet",
network: "goerli",
icon: "/img/icon/network-icons/ethereum-testnet-icon.png",
currencyIcon: "/img/icon/control-page-icons/network-currency-icons/network-currency-icons-goerli-testnet.png",
dataEndpoint: "https://goerli.beaconcha.in/api/v1",
support: ["staking", "ssv.network", "mev boost", "obol", "stereum on arm", "archive"],
state: "disabled",
},

{
id: 3,
id: 2,
name: "Sepolia Testnet",
network: "sepolia",
icon: "/img/icon/network-icons/ethereum-testnet-icon.png",
Expand All @@ -221,7 +203,7 @@ export const useNodeManage = defineStore("nodeManage", {
support: ["staking", "mev boost", "stereum on arm", "archive"],
},
{
id: 4,
id: 3,
name: "Gnosis Mainnet",
network: "gnosis",
icon: "/img/icon/network-icons/gnosis-mainnet.png",
Expand All @@ -230,7 +212,7 @@ export const useNodeManage = defineStore("nodeManage", {
support: ["staking", "stereum on arm", "archive"],
},
{
id: 5,
id: 4,
name: "Holesky Testnet",
network: "holesky",
icon: "/img/icon/network-icons/ethereum-testnet-icon.png",
Expand Down

0 comments on commit 9708f48

Please sign in to comment.