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

Support --chain goerli #276

Merged
merged 3 commits into from
Jul 31, 2022
Merged

Support --chain goerli #276

merged 3 commits into from
Jul 31, 2022

Conversation

hwwhww
Copy link
Contributor

@hwwhww hwwhww commented Jul 28, 2022

https://blog.ethereum.org/2022/07/27/goerli-prater-merge-announcement/

For the last testnet proof-of-stake transition, Goerli will merge with Prater. The combined Goerli/Prater network will retain the Goerli name post-merge.

In this PR:

  1. Add GoerliSetting (Fix goerli is not a valid language option #272)
  2. Use Goerli as the "main name". Do not show Prater in the prompt message.
  3. Remove Kintsugi

Discussion: I kept Prater for backward compatibility, but maybe we can just remove it now...? @CarlBeek what do you think?

hwwhww added 2 commits July 28, 2022 18:06
Copy link
Collaborator

@CarlBeek CarlBeek left a comment

Choose a reason for hiding this comment

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

I'm fine keeping in prater for now. It's easy enough to remove later and might save on breaking some guides etc.

# Merge Testnet (spec v1.1.9)
KilnSetting = BaseChainSetting(NETWORK_NAME=KILN, GENESIS_FORK_VERSION=bytes.fromhex('70000069'))


ALL_CHAINS: Dict[str, BaseChainSetting] = {
MAINNET: MainnetSetting,
ROPSTEN: RopstenSetting,
GOERLI: GoerliSetting,
PRATER: PraterSetting,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of defining PraterSetting separately, why don't we only define a GoerliSetting and just define PRATER: GoerliSetting, in this map? This way we clean up the duplicate settings & variables in lines 23-26 and only have to manage one BaseChainSetting for both.

@CarlBeek CarlBeek merged commit 79eed93 into dev Jul 31, 2022
@CarlBeek CarlBeek mentioned this pull request Jul 31, 2022
@hwwhww hwwhww deleted the goerli branch August 1, 2022 08:10
everhusk pushed a commit to earthwallet/earth-wallet-cli that referenced this pull request Aug 3, 2023
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.

2 participants