-
Notifications
You must be signed in to change notification settings - Fork 25
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
Finalise Cardano Legacy Block #473
Conversation
31e2f1a
to
3835491
Compare
7c81830
to
199d9e3
Compare
ouroboros-consensus-cardano-legacy-block/src/Legacy/Cardano/CanHardFork.hs
Show resolved
Hide resolved
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.
I left some comments, but nothing too serious. It looks good
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.
I don't see this file as necessarily Byron only, am I wrong?
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.
Hmm, I suppose maybe it isn't. It's specific to Byron's protocol, not the byron block. However, this module follows the same structure as the ouroboros-consensus-cardano:byron
package
class (ToLegacyBlock x y, CanStowLedgerTables (LedgerState x)) => C x y | ||
instance CanStowLedgerTables (LedgerState x) => C x (LegacyBlock x) |
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.
I don't see this being used.
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.
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.
I'm dubious about how useful are these gathering modules. I think it should be fine because it is only instances. If they exported stuff I would not like it.
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.
It's similar to having a Ouroboros.Consensus.Cardano
module in ouroboros-consensus-cardano
. Would you not like it because of re-exports, or?
ouroboros-consensus-cardano-legacy-block/src/Legacy/Shelley/Node.hs
Outdated
Show resolved
Hide resolved
199d9e3
to
e6d6d3b
Compare
Description
Resolves #344