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

cardano-testnet: better API for using custom genesis files #5715

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

smelc
Copy link
Contributor

@smelc smelc commented Mar 14, 2024

Context

Right now, if you want to create a testnet using custom genesis files, it's cumbersome, because you need to provide a shelley genesis file with the right timestamp. This is clunky.

The same goes for providing the default alonzo genesis file, obtaining it is clunky.

What this PR does

This PR provides new functions to obtain the shelley and alonzo genesis files that are not clunky, because they deal with clunkiness of obtaining those files within the test monad. So from within tests, those functions are handy.

This new API will be used in upcoming PRs of mine.

Checklist

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

@smelc smelc force-pushed the smelc/enhance-custom-genesis-API branch from 736347c to 015670c Compare March 14, 2024 09:14
@smelc smelc marked this pull request as ready for review March 14, 2024 09:28
@smelc smelc requested a review from a team as a code owner March 14, 2024 09:28
@smelc smelc force-pushed the smelc/enhance-custom-genesis-API branch from c3a1b66 to 0c22b6d Compare March 14, 2024 13:27
@smelc smelc enabled auto-merge March 14, 2024 13:47
@smelc smelc added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 14, 2024
@smelc smelc added this pull request to the merge queue Mar 15, 2024
Merged via the queue into master with commit 6a8f787 Mar 15, 2024
21 of 23 checks passed
@smelc smelc deleted the smelc/enhance-custom-genesis-API branch March 15, 2024 09:43
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

👍

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