Skip to content
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

Rename UTxOState fields without underscores #3108

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

aniketd
Copy link
Contributor

@aniketd aniketd commented Oct 31, 2022

Partially addresses #3061

  • Rename fields across current code base
    - [ ] Add DEPRECATED warning for all renamed fields They won't be useful as setters.
    - [ ] Open PRs against downstream packages to not use the deprecated accessors. The CHANGELOG update could be enough.

@aniketd aniketd force-pushed the aniketd/issue-3061-utxostate branch 2 times, most recently from 6ac47e9 to c6bdf8c Compare October 31, 2022 13:54
@aniketd aniketd marked this pull request as ready for review October 31, 2022 14:03
Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks wonderful to me, thank you @aniketd !

Copy link
Contributor

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change and requires a bump in version. So, currently released version of cardano-ledger-shelley is 0.1.0.0, so we need to bump it up to 0.2.0.0. Otherwise it looks great. This is a fairly new process, which we should all adopt

Also, we need to add a changelog to all of our packages and start placing changes there, instead of top level CHNAGELOG file. @aniketd This could be your next task, which you could do in a follow up PR

@aniketd aniketd requested a review from lehins October 31, 2022 16:45
@teodanciu
Copy link
Contributor

Should we also release the new version to cHaP?

@lehins
Copy link
Contributor

lehins commented Oct 31, 2022 via email

Copy link
Contributor

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. It just needs a conflict resolution and I suggest to squash all commits into one

Update CHANGELOG

Run formatter

Bump cardano-ledger-shelley version to 0.2.0.0
@aniketd aniketd force-pushed the aniketd/issue-3061-utxostate branch from 53b6cc9 to c882c04 Compare November 1, 2022 08:21
@aniketd
Copy link
Contributor Author

aniketd commented Nov 1, 2022

Done!

Copy link
Contributor

@teodanciu teodanciu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@Soupstraw Soupstraw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teodanciu
Copy link
Contributor

@aniketd - this is the most highly approved PR I've seen! 😄 🎉

@lehins lehins merged commit e97466f into master Nov 1, 2022
@iohk-bors iohk-bors bot deleted the aniketd/issue-3061-utxostate branch November 1, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants