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

refactor(ertp): rename reallyPrepareIssuerKit to prepareIssuerKit #8504

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

erights
Copy link
Member

@erights erights commented Nov 6, 2023

refs: #8497

Description

Successor to #8497 . #8497

  • deprecated the old misnamed prepareIssuerKit
  • introduced reallyPrepareIssuerKit as a horrible name for what should have been named prepareIssuerKit
  • changed all uses of that old name to use a non-deprecated name, leaving no remaining uses of prepareIssuerKit

Once #8497 is merged, there will be no remaining uses of the deprecated meaning of prepareIssuerKit in this repo, so we can remove it without breaking anything in this repo.

Since reallyPrepareIssuerKit is introduced only starting with #8497 , there shouldn't be any other uses of it outside this repo, so we can rename it without preserving the old name as deprecated.

The open question is when would it be safe to merge this PR wrt uses of the deprecated prepareIssuerKit outside this repo. Reviewers, opinions?

Security Considerations

If indeed this PR by itself is a pure refactor with no observable effects, it should have no security implications.

Scaling Considerations

If indeed this PR by itself is a pure refactor with no observable effects, it should have no scaling implications.

Documentation Considerations

#8497 Documentation Considerations says

Hopefully, we can complete that rename before bothering to document this API change.

That is what this PR would do.

Testing Considerations

If indeed this PR by itself is a pure refactor with no observable effects, it should have no testing implications.

Upgrade Considerations

If indeed this PR by itself is a pure refactor with no observable effects, it should have no implications for upgrade, modulo possible version skew on uses of the old vs new names.

@erights erights requested a review from Chris-Hibbert November 6, 2023 23:43
Base automatically changed from markm-really-prepare-issuer-kit to master November 7, 2023 00:35
Copy link
Contributor

@Chris-Hibbert Chris-Hibbert left a comment

Choose a reason for hiding this comment

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

I'm confused about the relations between this PR and some other concurrent ones, but this one is fine and only seems to do good things.

@erights erights force-pushed the markm-rename-to-prepare-issuer-kit branch from 818a328 to 2c8f2ab Compare November 7, 2023 19:57
@erights
Copy link
Member Author

erights commented Nov 7, 2023

I'm confused about the relations between this PR and some other concurrent ones, but this one is fine and only seems to do good things.

Thanks. I'm gonna go ahead and merge it then. Once merged, unmerged PRs like our #8498 will need to be revised to use the new names.

@erights erights added the automerge:squash Automatically squash merge label Nov 7, 2023
@mergify mergify bot merged commit 38a11e0 into master Nov 7, 2023
80 checks passed
@mergify mergify bot deleted the markm-rename-to-prepare-issuer-kit branch November 7, 2023 20:50
anilhelvaci pushed a commit to Jorge-Lopes/agoric-sdk that referenced this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants