cardano-multiplatform-lib
cardano-multiplatform-lib copied to clipboard
Inline network constants?
Cardano has two kinds of constants:
- Constants in the genesis blocks of the various epochs that can't be changed
- Protocol parameters in the genesis blocks of the various epochs that can be changed mid-epoch
We may want to provide some of these constants as part of CML. Getting the cost model externally is kind of tedious, but at the same time providing it as part of CML is dangerous because its value could change.
I'm not particularly convinced about inlining them, but I did notice that CSL did go with this approach: https://github.com/Emurgo/cardano-serialization-lib/pull/458