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

[ETHEREUM-CONTRACTS] CFASuperAppBase renamed, made compatible with factory and proxy patterns #1838

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

d10r
Copy link
Collaborator

@d10r d10r commented Feb 21, 2024

The previous name was misleading, as the base contract is specifically about the CFA.

The previous version assumed SuperApps to be deployed by a whitelisted EOA, using the now deprecated host.registerAppWithKey. Now self-registration is optional, so it can also be used with a factory pattern (whitelisted deployer contract).

The previous version wouldn't work for logic contracts in the context of a proxy pattern, thus initialization was split between constructor (just setting an immutable host) and an initialize function doing the rest.

Copy link

github-actions bot commented Feb 21, 2024

Changelog Reminder

Reminder to update the CHANGELOG.md for any of the modified packages in this PR.

  • CHANGELOG.md modified
  • Double check before merge

@hellwolf hellwolf enabled auto-merge February 21, 2024 14:20
@hellwolf hellwolf added this pull request to the merge queue Feb 21, 2024
Merged via the queue into dev with commit 8e9f7a5 Feb 21, 2024
18 checks passed
@hellwolf hellwolf deleted the CFASuperAppBase branch February 21, 2024 15:45
Copy link

XKCD Comic Relif

Link: https://xkcd.com/1838
https://xkcd.com/1838

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.

2 participants