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

testnet: fix that custom genesis files were not passed to create-testnet-data #5722

Merged

Conversation

smelc
Copy link
Contributor

@smelc smelc commented Mar 19, 2024

Description

Custom genesis files passed to cardanoTestnet were not forwarded to createSPOGenesisAndFiles (they were only used to alter template spec files), making custom genesis files unusable in practice. This PR fixes this.

In addition, this PR improves the handling of the genesis.era.json paths, by removing the hardcoding of those paths and using functions parameterized by CardanoEra instead.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • Self-reviewed the diff

@smelc smelc force-pushed the smelc/testnet-forward-custom-genesis-to-create-testnet-data branch 2 times, most recently from b018e78 to 37c2d12 Compare March 20, 2024 09:21
@smelc smelc force-pushed the smelc/testnet-forward-custom-genesis-to-create-testnet-data branch from 37c2d12 to 14fcef5 Compare March 20, 2024 09:23
@smelc smelc marked this pull request as ready for review March 20, 2024 09:23
@smelc smelc requested a review from a team as a code owner March 20, 2024 09:23
@carbolymer carbolymer merged commit c5d3d63 into master Mar 21, 2024
23 of 24 checks passed
@carbolymer carbolymer deleted the smelc/testnet-forward-custom-genesis-to-create-testnet-data branch March 21, 2024 09:51
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