-
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
Initial Byron isolation 1 of n #450
Conversation
c0d772d
to
d78fa54
Compare
-- TODO: shouldn't we just require shelley based era here instead of error-ing for byron? | ||
forEraInEon eon (error "runTransactionCalculateMinValueCmd: Byron era not implemented yet") $ \sbe -> do |
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.
Byron was never supported
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.
TODO
can be removed now
$ Opt.progDesc "Calculate the minimum required UTxO for a transaction output." | ||
, Just | ||
$ pCalculateMinRequiredUtxoBackwardCompatible era | ||
, caseByronOrShelleyBasedEra |
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.
The goal is to not need caseByronOrShelleyBasedEra
in the future. Required byron based functionality will be hard coded and available under the byron
command group.
d78fa54
to
053b6a1
Compare
Value | ||
TxOutDatumAnyEra | ||
ReferenceScriptAnyEra | ||
deriving Show |
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.
We should exclude ShelleyBasedEra
from all type and function names and have all the Byron specific types and functions of carr the burden of qualifying that it is only valid for ByronOnly
.
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.
Yep 👍 . This naming is just to make it painfully obvious what I'm doing. Eventually these types won't have anything in its name to indicate the era.
Remove support for Byron by only accepting shelley based tx outputs
specifically Babbage era onwards Implement TxOutShelleyBasedEra and remove support for specifying a collateral return output at a Byron address
collateral return output
b3124c4
to
ba4a419
Compare
Subsumed by #463 |
Changelog
Context
Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.
How to trust this PR
Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.
Checklist