feat: cardano hard fork script for local-env#1326
Merged
Merged
Conversation
Add a Cardano hard fork script to advance the local-env from protocol version 10 to 11 (intra-era). What it does: - Adds hardfork-pv11.sh, a two-phase script (setup + run) that orchestrates a full PV10 → PV11 hard fork on the local Cardano devnet - setup phase: generates governance keys (Constitutional Committee cold/hot, DRep, governance stake) and patches the Conway genesis to include a CC member and DRep with delegated stake - run phase: registers the DRep on-chain, authorizes the CC hot key, submits a hard fork governance action, collects votes from all three governance bodies (CC, SPO, DRep), and waits for ratification and enactment across epochs - Adds all required governance key files (CC cold/hot, DRep, gov-stake) to the local-env configuration Supporting changes: - Updates config-pool1.json: disables ExperimentalHardForksEnabled (no longer needed) and bumps MaxKnownMajorProtocolVersion from 2 to 11 to allow the hard fork - Lowers govActionDeposit in Conway genesis from 100,000 ADA to 1,000 ADA to make governance proposals feasible - Reformats plutusV3CostModel array in Conway genesis (one value per line) - Updates entrypoint.sh with log location hints (node logs go to /data/node.log, not stdout) - Mounts governance keys volume in docker-compose.yml - Adds toolkit_cache/ to .gitignore Closes #1314 Signed-off-by: Radosław Sporny <404@rspo.dev>
df53eba to
8fd845e
Compare
LGLO
reviewed
Apr 14, 2026
LGLO
reviewed
Apr 14, 2026
LGLO
approved these changes
Apr 14, 2026
m2ux
added a commit
that referenced
this pull request
Apr 23, 2026
Add a Cardano hard fork script to advance the local-env from protocol version 10 to 11 (intra-era). What it does: - Adds hardfork-pv11.sh, a two-phase script (setup + run) that orchestrates a full PV10 → PV11 hard fork on the local Cardano devnet - setup phase: generates governance keys (Constitutional Committee cold/hot, DRep, governance stake) and patches the Conway genesis to include a CC member and DRep with delegated stake - run phase: registers the DRep on-chain, authorizes the CC hot key, submits a hard fork governance action, collects votes from all three governance bodies (CC, SPO, DRep), and waits for ratification and enactment across epochs - Adds all required governance key files (CC cold/hot, DRep, gov-stake) to the local-env configuration Supporting changes: - Updates config-pool1.json: disables ExperimentalHardForksEnabled (no longer needed) and bumps MaxKnownMajorProtocolVersion from 2 to 11 to allow the hard fork - Lowers govActionDeposit in Conway genesis from 100,000 ADA to 1,000 ADA to make governance proposals feasible - Reformats plutusV3CostModel array in Conway genesis (one value per line) - Updates entrypoint.sh with log location hints (node logs go to /data/node.log, not stdout) - Mounts governance keys volume in docker-compose.yml - Adds toolkit_cache/ to .gitignore Closes #1314 Signed-off-by: Radosław Sporny <404@rspo.dev> Signed-off-by: Mike Clay <mike.clay@shielded.io>
m2ux
added a commit
that referenced
this pull request
Apr 23, 2026
Add a Cardano hard fork script to advance the local-env from protocol version 10 to 11 (intra-era). What it does: - Adds hardfork-pv11.sh, a two-phase script (setup + run) that orchestrates a full PV10 → PV11 hard fork on the local Cardano devnet - setup phase: generates governance keys (Constitutional Committee cold/hot, DRep, governance stake) and patches the Conway genesis to include a CC member and DRep with delegated stake - run phase: registers the DRep on-chain, authorizes the CC hot key, submits a hard fork governance action, collects votes from all three governance bodies (CC, SPO, DRep), and waits for ratification and enactment across epochs - Adds all required governance key files (CC cold/hot, DRep, gov-stake) to the local-env configuration Supporting changes: - Updates config-pool1.json: disables ExperimentalHardForksEnabled (no longer needed) and bumps MaxKnownMajorProtocolVersion from 2 to 11 to allow the hard fork - Lowers govActionDeposit in Conway genesis from 100,000 ADA to 1,000 ADA to make governance proposals feasible - Reformats plutusV3CostModel array in Conway genesis (one value per line) - Updates entrypoint.sh with log location hints (node logs go to /data/node.log, not stdout) - Mounts governance keys volume in docker-compose.yml - Adds toolkit_cache/ to .gitignore Closes #1314 Signed-off-by: Radosław Sporny <404@rspo.dev> Signed-off-by: Mike Clay <mike.clay@shielded.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Add a Cardano hard fork script to advance the local-env from protocol version 10 to 11 (intra-era).
What it does:
enactment across epochs
Supporting changes:
Closes #1314
🗹 TODO before merging
📌 Submission Checklist
🧪 Testing Evidence
Please describe any additional testing aside from CI:
🔱 Fork Strategy
Links