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

Update Cardano.Api.ProtocolParameters to ease integration with Alonzo #2634

Closed

Commits on May 12, 2021

  1. Prepare Cardano.Api.ProtocolParameters for Alonzo era.

    In the Alonzo era we introduce 6 new protocol parameters and remove 1
    protocol parameter. In anticipation of the Alonzo era, we make some
    modifications to the ProtocolParameters type.
    
    minUTxOValue becomes a Maybe (This parameter gets deprecated in Alonzo)
    
    We introduce the following but note they are currently ignored:
    - adaPerUTxoByte - Cost in ada per byte of UTxO storage (replaces
    minUTxOValue)
    - costmdls - The cost models for plutus scripts
    - prices - The prices of execution units for plutus scripts
    - maxTxExUnits - Max total script execution resource  units allowed per tx
    - maxBlockExUnits - Max total script execution resource units allowed per block
    - maxValSize - Max size of a Value in a tx output
    
    We introduce an era parameter in the ProtocolParameters type in order to
    reduce boilerplate. We have avoided the typical GADT pattern in
    cardano-api to prevent an explosion of types.
    Jimbo4350 committed May 12, 2021
    Configuration menu
    Copy the full SHA
    1f4ba55 View commit details
    Browse the repository at this point in the history
  2. Review fixes

    Jimbo4350 committed May 12, 2021
    Configuration menu
    Copy the full SHA
    f0d93a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93a903e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7c9f21 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aca5565 View commit details
    Browse the repository at this point in the history
  6. WIP: Review fixes

    Jimbo4350 committed May 12, 2021
    Configuration menu
    Copy the full SHA
    32a1c83 View commit details
    Browse the repository at this point in the history