-
Notifications
You must be signed in to change notification settings - Fork 721
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
Factor out file creation for SPO #5515
Conversation
8d44f5a
to
81095b7
Compare
-- with the parameters we want. The user must provide genesis files or we will use a default. | ||
-- We should *never* be modifying the genesis file after cardano-testnet is run because this | ||
-- is sure to be a source of confusion if users provide genesis files and we are mutating them | ||
-- without their knowledge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good warning!
@@ -71,7 +71,7 @@ hprop_leadershipSchedule = H.integrationRetryWorkspace 2 "babbage-leadership-sch | |||
cTestnetOptions = cardanoDefaultTestnetOptions | |||
{ cardanoNodes = cardanoDefaultTestnetNodeOptions | |||
, cardanoEpochLength = 1000 | |||
, cardanoSlotLength = 0.02 | |||
, cardanoSlotLength = 0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an explanation in comments why this is 0.1
now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we were rewriting the shelley genesis file with 0.1 so it wasn't being used. I'll leave add a comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a message in the commit
6be8fee
to
beec2ff
Compare
The slot length was always 0.1 because the shelley genesis was being rewritten in cardanoTestnet The activity coefficient was also being rewritten in cardanoTestnet Update testnet options with epoch length 500 as this was the overriding value due to Shelley genesis rewriting in the cardanoTestnet function
beec2ff
to
71f159a
Compare
Description
Add your description here, if it fixes a particular issue please provide a
link
to the issue.
Checklist
See Runnings tests for more details
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7
Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.