Skip to content
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

Inline network constants? #92

Open
SebastienGllmt opened this issue Jul 27, 2022 · 0 comments
Open

Inline network constants? #92

SebastienGllmt opened this issue Jul 27, 2022 · 0 comments
Labels
question Further information is requested

Comments

@SebastienGllmt
Copy link
Contributor

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: Emurgo/cardano-serialization-lib#458

@SebastienGllmt SebastienGllmt added the question Further information is requested label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant