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

deprecate and remove use of creatorInvitation as a legal return value from contracts #5775

Open
Chris-Hibbert opened this issue Jul 15, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request Zoe package: Zoe

Comments

@Chris-Hibbert
Copy link
Contributor

What is the Problem Being Solved?

creatorInvitation as a return value from Zoe contracts is redundant. That functionality can be supplied from the creatorFacet.

Description of the Design

Deprecate it. remove all uses, stop supporting it.

Security Considerations

No security implications as long as we do the multi-step deprecation dance to propitiate the chaos gods.

Test Plan

Standard deprecation approach.

@Chris-Hibbert Chris-Hibbert added enhancement New feature or request Zoe package: Zoe labels Jul 15, 2022
@Chris-Hibbert Chris-Hibbert added this to the Mainnet 1 milestone Jul 15, 2022
@Chris-Hibbert Chris-Hibbert self-assigned this Jul 15, 2022
@Tartuffo Tartuffo removed this from the Mainnet 1 milestone Jul 19, 2022
@samsiegart
Copy link
Contributor

A use-case where we couldn't replace creatorInvitation with creatorFacet was the NFT ticketing bounty. We wanted the person who instantiated the contract to be able to access some admin functionalities from the dapp frontend. To do this, we deposited the creatorInvitation in their wallet when the contract was deployed, then used the continuing invitation pattern to expose admin functionality in a way compatible with the wallet contract. The wallet contract currently has no way to hold onto, or create offers from a creatorFacet.

The only way for a person to use creatorFacet currently is to persist it in an off-chain ag-solo, which does not have the same persistence guarantees or ease of access as the wallet contract.

@samsiegart
Copy link
Contributor

Assuming we eventually devise some method to deploy a contract through the smart wallet, it's possible that work will include figuring out a way to store the and access the creatorFacet from the smart wallet as well, so my above concerns might be moot.

@dckc
Copy link
Member

dckc commented Jun 26, 2024

@Chris-Hibbert @erights is there more than just redundancy that's problematic about creatorInvitation?
I have a vague memory about upgrade or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Zoe package: Zoe
Projects
None yet
Development

No branches or pull requests

4 participants