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

Define 'GetLedgerView' for Babbage. #2711

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Define 'GetLedgerView' for Babbage. #2711

merged 1 commit into from
Mar 30, 2022

Commits on Mar 30, 2022

  1. Define 'GetLedgerView' for Babbage.

    This instance is a little (well, a lot) suspicious, since we don't
    actually have extra entropy in Babbage. We rely on the fact that this
    type is only used to construct the `Praos` ledger view, which is much
    simler (it looks like this:
    
    ```
    data LedgerView crypto = LedgerView
      { -- | Stake distribution
        lvPoolDistr     :: SL.PoolDistr crypto,
        -- | Maximum header size
        lvMaxHeaderSize :: !Natural,
        -- | Maximum block body size
        lvMaxBodySize   :: !Natural
      }
      deriving (Show)
    ```
    ). So the `error` field will be thrown away without being evaluated.
    
    At some point we should make this situation better, but not before the
    Vasil HF.
    nc6 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    fd83458 View commit details
    Browse the repository at this point in the history