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

CIP-0034 | Include legacy testnet #412

Merged
merged 3 commits into from
Jan 17, 2023
Merged

CIP-0034 | Include legacy testnet #412

merged 3 commits into from
Jan 17, 2023

Conversation

SebastienGllmt
Copy link
Contributor

@SebastienGllmt SebastienGllmt commented Dec 9, 2022

Some applications may still want to refer to the legacy testnet even though it's not running anymore for things like error messages or migrating old configs, but this was made difficult by #332 removing the legacy testnet from the registry.

I propose we keep it there, and just rename it to "legacy testnet"


Additionally, I noticed the networkIDs specified for the new testnets were incorrect. You can see in the Cardano codebase that creating an address calls toShelleyNetwork which sets "Testnet" to 0 in cardano-ledger. If you look at the genesis configs for preprod and preview, they use "Testnet" as the network ID

You can confirm this by looking at explorers like cexplorer which properly show the network ID used in testnets as 0

Copy link
Collaborator

@rphair rphair left a comment

Choose a reason for hiding this comment

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

This makes sense to me: though I can't follow every detail of "NetworkId": 0 it seems well justified and @KtorZ will also be double checking this 🙏

@rphair rphair added the Update Adds content or significantly reworks an existing proposal label Dec 10, 2022
@rphair rphair changed the title Include legacy testnet in cip34 CIP-0034 | Include legacy testnet Dec 10, 2022
@rphair rphair requested a review from KtorZ December 10, 2022 21:05
@KtorZ KtorZ merged commit 1bcc72a into master Jan 17, 2023
@KtorZ KtorZ deleted the legacy-testnet branch January 17, 2023 07:29
Ryun1 pushed a commit to Ryun1/CIPs that referenced this pull request Nov 17, 2023
* Include legacy testnet in cip34

* Add space in legacy testnet name

* Fix network ID for new testnets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Update Adds content or significantly reworks an existing proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants