Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[FEATURE] - Support for inject any CostModel through AlonzoGenesis in create-testnet-data CMD

Open
#1,352 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
haskell
Domain
blockchain, cli

Research direction

Start at the create-testnet-data command and trace how Alonzo genesis output and external cost-model inputs are handled. Define the proposed flag's input and output behavior, then verify that generated genesis data includes the extraConfig costModel and that the related cardano-testnet workflow remains usable.

Written by the indexing model from the issue text.

Description

Stale

What

We can no longer use Alonzo genesis to include "full" cost models in the costModels field. i.e. no PlutusV2 or cost models with more parameters than those that existed on Mainnet at the time of the hardfork.

As a response, starting on cardano-node-10.7.0, we can use the new extraConfig field to Alonzo genesis

"extraConfig": {
  "costModel": ...
}

as in https://github.com/IntersectMBO/cardano-ledger/issues/5342

Anyone using create-testnet-data to initialize a testnet, will now use this additional field to inject costs for internals that were added after a hardfork from an external file. It would help users if we added an additional flag to create-testnet-data: Something like --spec-cost-models that will automate the process for the user.

This will also have an impact on cardano-testnet.

Why

Creating testnets with full cost models gets more complicated and would require manually editing the genesis file(s) that are output by create-testnet-data after the fact.

Personas

  • Performance benchmark
  • QA Engineers
  • Anyone creating testnets
  • SPOs
  • dApp Devs
  • Exchanges
  • Wallets
  • 3rd party tools
  • ADA holders
Dominant language
Haskell
Stars
72
Forks
24
Avg merge
1d 5h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IntersectMBO/cardano-cli

All issues in IntersectMBO/cardano-cli

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.