[TM-295] Add user-defined upgrades to morley
Description
Problem: upgradeableContracts.md mentions user-defined upgrades in the introduction and lists their benefits. However, the document features only an administrator-forced upgrades proposal. We need to describe user-defined upgrades as well and show how to implement them on Tezos.
Solution:
- Add a section about user-defined upgrades, make sure the approach is applicable to Athens.
- Provide example contracts for user-defined upgrades. Make them work in Athens using the lambda-based approach described in the doc. Provide tests to showcase the functionality and make sure it works.
Related issue(s)
https://issues.serokell.io/issue/TM-295
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Kirill Kuvshinov