Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ETH2 terminology to EthereumConsensus #59

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

spacesailor24
Copy link

@spacesailor24 spacesailor24 commented Sep 21, 2022

Points of Discussion:

  1. I'm not sure what to do about the mentioned of eth1 and eth2 in this file
    • Renamed eth1 and eth2 to Ethereum Execution and Ethereum Consensus

package.json Outdated
@@ -1,5 +1,5 @@
{
"name": "eth2-crawler-ui",
"name": "ethereum-consensus-crawler-ui",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm imagining it's okay to change the package name since this isn't published to NPM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep it consistent with the renaming of eth2-crawler to nodewatch-api by changing this to nodewatch-crawler-api.

Copy link
Author

@spacesailor24 spacesailor24 Oct 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit renames the package to nodewatch-crawler-ui This commit renames mentions of EthereumConsensus to Nodewatch

@@ -22,16 +22,16 @@ const useStyles = makeStyles(() => {
function App() {
const classes = useStyles()
return (
<ThemeSwitcher storageKey="eth2.themeKey" themes={{ light: theme }}>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if changing this is okay, but I couldn't find any reference/use of eth2.themeKey

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, its ok, The themeswitcher uses this string to save current theme in localstorage.

@philknows
Copy link
Member

If I'm reading this correctly, our "node count" is basically a combination of eth1 (Execution nodes) + eth2 (Consensus nodes)? It feels kind of misleading to combine the two together into "node count" as it could artificially double the real count of nodes on the network.

It would be better IMO to keep these separate and display the data as two different metrics.

@spacesailor24
Copy link
Author

If I'm reading this correctly, our "node count" is basically a combination of eth1 (Execution nodes) + eth2 (Consensus nodes)? It feels kind of misleading to combine the two together into "node count" as it could artificially double the real count of nodes on the network.

It would be better IMO to keep these separate and display the data as two different metrics.

@philknows Yes, I think this is correct. It would also appear that this NodeCount12 react component is not being used anywhere in the UI

@spacesailor24 spacesailor24 marked this pull request as ready for review October 4, 2022 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants