-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add Inject instances for Eons. Deprecate old eons conversion functions. #636
Conversation
c2dee39
to
353db1b
Compare
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.
Nice QoL change 👍
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 are adding an additional step to the deprecation of these era conversion functions where what we should be doing is figuring out how to change the interface then deprecating and eventually remove the functions. Creating Inject
instances for them seems to be an additional unnecessary step.
@Jimbo4350 the goal of this PR is to make the codebase more pleasant to work with until we get rid of Eons. There's still significant amount of work left to do, before we arrive there. I disagree that it adds an additional step in deprecation, I see If you think this PR is changing too much, what do you think of just using |
e12204a
to
5d03c61
Compare
5d03c61
to
2e81c81
Compare
Changelog
Context
Use Inject for eons conversion instead of specialised and hard to remember functions.
You can migrate your codebase using this snippet:
Corresponding CLI PR: IntersectMBO/cardano-cli#969
Checklist