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

Extend Cardano.Api.ProtocolParameters with Alonzo params #2699

Merged
merged 3 commits into from
May 21, 2021

Commits on May 20, 2021

  1. Add API types for execution units, prices and cost models

    Needed for using Plutus script witnesses and for protocol parameters.
    
    Co-authored-by: Jordan Millar <jordan.millar@iohk.io>
    2 people authored and newhoggy committed May 20, 2021
    Configuration menu
    Copy the full SHA
    0c658ef View commit details
    Browse the repository at this point in the history
  2. Add AnyPlutusScriptVersion type

    And make it an instance of To/FromJSONKey. We will use this type in the
    protocol params to index the per-language cost models and prices.
    dcoutts authored and newhoggy committed May 20, 2021
    Configuration menu
    Copy the full SHA
    919fae5 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2021

  1. Extend the API ProtocolParameters with Alonzo era ones

    Both ProtocolParameters and ProtocolParametersUpdate.
    
    We use AnyPlutusScriptVersion as the map key for the per-language cost
    models and prices.
    
    Conversion functions not yet extended.
    
    Co-authored-by: Jordan Millar <jordan.millar@iohk.io>
    2 people authored and newhoggy committed May 21, 2021
    Configuration menu
    Copy the full SHA
    91b3d6c View commit details
    Browse the repository at this point in the history