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

[RFC] Apply Upgradable Realm Pattern #471

Open
dongwon8247 opened this issue Jan 20, 2025 · 3 comments
Open

[RFC] Apply Upgradable Realm Pattern #471

dongwon8247 opened this issue Jan 20, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dongwon8247
Copy link
Member

This agenda is cherry-picked from #470.

Having the upgradability of reams is essential, as it directly impacts the reusability of the codebase and its long-term maintainability. The structure of a Gno dapp must follow an upgradable pattern once it is introduced in Gno.

As part of our efforts, we attempted to introduce an upgradable pattern (led by @mconcat), but the required changes were too large for the current codebase, and we weren't sure about completing the implementation before launch, especially since this topic is not actively being discussed by the core team at this time.

Given the critical importance of this feature for GnoSwap and other Gno projects, we aim to collaborate further with the core team to explore and refine this pattern. If you have any thoughts on this, please share them in comment. Thank you.

@dongwon8247 dongwon8247 self-assigned this Jan 20, 2025
@dongwon8247 dongwon8247 added the enhancement New feature or request label Jan 20, 2025
@r3v4s
Copy link
Member

r3v4s commented Jan 20, 2025

@moul
Copy link

moul commented Jan 21, 2025

Ideally, you should identify a few components that should remain unchanged and minimize their dependencies. Perhaps GNS can be such a contract that ideally should never be updated, while all the "dynamic logic" is developed externally and can receive upgrades.

@dongwon8247
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants