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

removing dead code #2777

Merged
merged 2 commits into from
May 11, 2022
Merged

removing dead code #2777

merged 2 commits into from
May 11, 2022

Conversation

JaredCorduan
Copy link
Contributor

I found two bits of dead code:

  • The function constructValidated is not used anywhere in ledger, ouroboros-consensus, or cardano-node. It appears to be a helper function that we created for Alonzo before we redid how the IsValid tag works with consensus.
  • The UPDN rule was moved to cardano-protocol-tpraos, but somehow the old version still exists in the Shelley directory, and needs to be deleted.

Jared Corduan added 2 commits May 10, 2022 11:50
This rule was moved to cardano-protocol-tpraos a while ago, and the
version in Shelley should have been removed at that time.
@JaredCorduan JaredCorduan requested review from lehins and nc6 May 10, 2022 15:55
Copy link
Collaborator

@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.

Feels great removing dead code 😃

@nc6 nc6 merged commit a58280e into master May 11, 2022
@iohk-bors iohk-bors bot deleted the jc/dead-code branch May 11, 2022 09:02
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.

3 participants