IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.07k stars 720 forks source link

[BUG] - `cardano-testnet`: `--max-lovelace-supply` has no effect #5953

Closed errfrom closed 2 months ago

errfrom commented 3 months ago

External / cardano-testnet

Specifying a value for the --max-lovelace-supply command line option does not affect the generated Shelley genesis configuration. Indeed, the total supply is hardcoded to 2 trillion Lovelace, while the value from the passed shelleyGenesis is ignored. https://github.com/IntersectMBO/cardano-node/blob/67c9dc53620b391d0fb2563ff2fcbe3252a77d62/cardano-testnet/src/Testnet/Components/Configuration.hs#L184

carbolymer commented 3 months ago

cc @smelc

smelc commented 3 months ago

@errfrom> would you be able to test a fix if it's on a PR of cardano-node? In other words: would you be able to test a fix before it is included in a release of cardano-node)?

errfrom commented 3 months ago

@smelc most likely yes