-
Notifications
You must be signed in to change notification settings - Fork 168
Utxo hd #1999
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
base: master
Are you sure you want to change the base?
Conversation
This still suffers from IntersectMBO/ouroboros-consensus#1577 so Byron snapshots don't deserialise, until we update CHaP further
Fixes the following error: > error: executing '/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/bash': > Argument list too long We are attempting to reduce the number of packages required for the shell by disabling haddock and hoogle. Longer term, it would be better to disable devShells for cross builds entirely.
GHC 8.10 was dropped from Hydra (CI) some time ago, so it needs to be dropped from GitHub CI too. GHC 9.10 was broken a while ago in the upstream devShell (input-output-hk/devx), but hopefully it is fixed now.
lState <- decodeExt | ||
eBlockNo <- fromCBOR | ||
lTables <- valuesMKDecoder lState | ||
pure $ CardanoLedgerState lState lTables eBlockNo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think
CardanoLedgerState
<$> decodeExt
<*> valuesMKDecoder lstate
<*> fromCBOR
Reads better or worse?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually forget I said that. It's a record, so I think it would be more maintainable with a record constructor.
deriving (Eq, Ord, Show, Functor) | ||
|
||
type State block = Consensus.ExtLedgerState block | ||
type State block = (Consensus.ExtLedgerState block EmptyMK, Consensus.LedgerTables (Consensus.ExtLedgerState block) ValuesMK) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the outer parentheses necessary?
Description
Continuation of #1998
Checklist
fourmolu
on version 0.10.1.0 (which can be run withscripts/fourmolize.sh
)Migrations
If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.