-
Notifications
You must be signed in to change notification settings - Fork 15
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
Make genesis creation commands era-sensitive #812
Make genesis creation commands era-sensitive #812
Conversation
3de04f4
to
bbff062
Compare
Looking good so far 👍 |
022a6e9
to
8367257
Compare
@@ -0,0 +1,152 @@ | |||
{-# LANGUAGE DataKinds #-} | |||
{-# LANGUAGE DeriveAnyClass #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE DeriveAnyClass #-}
Perhaps you should remove it.
@@ -0,0 +1,152 @@ | |||
{-# LANGUAGE DataKinds #-} | |||
{-# LANGUAGE DeriveAnyClass #-} | |||
{-# LANGUAGE DeriveGeneric #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE DeriveGeneric #-}
Perhaps you should remove it.
{-# LANGUAGE FlexibleContexts #-} | ||
{-# LANGUAGE FlexibleInstances #-} | ||
{-# LANGUAGE GADTs #-} | ||
{-# LANGUAGE LambdaCase #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE LambdaCase #-}
Perhaps you should remove it.
{-# LANGUAGE FlexibleInstances #-} | ||
{-# LANGUAGE GADTs #-} | ||
{-# LANGUAGE LambdaCase #-} | ||
{-# LANGUAGE NamedFieldPuns #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE NamedFieldPuns #-}
Perhaps you should remove it.
{-# LANGUAGE RankNTypes #-} | ||
{-# LANGUAGE ScopedTypeVariables #-} | ||
{-# LANGUAGE TypeApplications #-} | ||
{-# LANGUAGE TypeOperators #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE TypeOperators #-}
Perhaps you should remove it.
Note: may require {-# LANGUAGE ExplicitNamespaces #-} adding to the top of the file
2a2da4f
to
53ec3b7
Compare
53ec3b7
to
b2b3f79
Compare
b2b3f79
to
257d8ef
Compare
FYI: I have rebased your branch because we have done changes to the formatting. I have made a copy of the unrebased branch that you can find in my previous comment in this PR. |
2f7bec8
to
ee6224a
Compare
cabal.project
Outdated
@@ -57,3 +57,12 @@ write-ghc-environment-files: always | |||
-- IMPORTANT | |||
-- Do NOT add more source-repository-package stanzas here unless they are strictly | |||
-- temporary! Please read the section in CONTRIBUTING about updating dependencies. | |||
|
|||
source-repository-package |
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.
- Remove SRP
( decodeShelleyGenesisFile | ||
, decodeAlonzoGenesisFile | ||
, decodeConwayGenesisFile |
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.
Those are new functions, the other ones were moved as-is.
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.
LGTM!
ee6224a
to
e8658b0
Compare
e8658b0
to
bce490f
Compare
Changelog
Context
Make
genesis
:create
,create-staked
andcreate-cardano
commands accept optional era parameters. This is needed for decoding of Alonzo genesis. This PR requires changes from: IntersectMBO/cardano-api#564Fixes: #801
Checklist