-
Notifications
You must be signed in to change notification settings - Fork 76
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
Rename --goerli
flag to --testnet
flag, remove --mainnet
flag
#3579
Comments
nkuba
added a commit
that referenced
this issue
May 23, 2023
We define a general --testnet flag for the client that will be used to resolve ethereum and bitcoin networks for the client run. After we added bitcoin support the --goerli flag was confusing to use, at it relates to ethereum only. To run the client agains mainet networks no flag is required. To maintain backward compatibility the --mainnet flag remained but was marked as deprecated. It will be removed in the future. Refs: #3579
nkuba
added a commit
that referenced
this issue
May 23, 2023
We define a general `--testnet` flag for the client that replaces the `--goerli` flag. The flag determines the threshold network against which the client runs and is used to resolve Ethereum and Bitcoin networks. After we added Bitcoin support the `--goerli` flag was confusing to use, as it relates to Ethereum only. To run the client against the mainnet network no flag is required. To maintain backward compatibility the `--mainnet` flag remained available but it was marked as deprecated. We will remove the `--mainnet` flag in the future. Refs: #3579
lukasz-zimnoch
added a commit
that referenced
this issue
May 24, 2023
We define a general `--testnet` flag for the client that replaces the `--goerli` flag. The flag determines the threshold network against which the client runs and is used to resolve Ethereum and Bitcoin networks. After we added Bitcoin support the `--goerli` flag was confusing to use, as it relates to Ethereum only. To run the client against the mainnet network no flag is required. To maintain backward compatibility the `--mainnet` flag remained available but it was marked as deprecated. We will remove the `--mainnet` flag in the future. Refs: #3579
We decided to mark the flag deprecated for backward compatibility and remove it in the future. Please see #3583 |
nkuba
added a commit
that referenced
this issue
Jun 5, 2023
The flag was renamed from `--goerli` to `--testnet`. Refs: #3579
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See this discussion.
As someone not that familiar with the client code, I would be confused about
--goerli
flag. This flag clearly connects the client to Goerli Ethereum testnet, but how would I select the Bitcoin testnet?Eventually, we should have one client binary where I select
--testnet
for Sepolia (will replace Goerli) + Bitcoin testnet, and--developer
for local Ethereum and regtest. Mainnet Ethereum + mainnet Bitcoin would be the default one. Renaming--goerli
to--testnet
is the first step. The next step is figuring out the build process (out of scope currently) so that we build one client binary instead of testnet-specific and mainnet-specific versions (out of scope of this PR).To be done when working on this issue:
--goerli
flag to--testnet
(Replace flag --goerli with --testnet #3583)keep-core/cmd/flags.go
Line 86 in cf266a6
--mainnet
flagkeep-core/cmd/flags.go
Lines 78 to 79 in cf266a6
The text was updated successfully, but these errors were encountered: