Skip to content

Commit

Permalink
Incorporate suggestion to Improve Upgradeability Contract Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Deng committed May 26, 2023
1 parent 166f6ec commit 82f3895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/bluesky.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ This section should break the development roadmap down into milestones and deliv
| 2. | Seamless interaction during upgrades | Demonstrate users can continue to interact with the updated contract without losing any data or transaction history as ink!'s flexible upgrade mechanism allows for on-chain upgrades of smart contracts |
| 3. | Demo ink! built-in tools and libraries for managing contract upgrades | For example, the "Upgradeable" trait that can be used to mark a smart contract as upgradeable, and the "Dispatcher" module that can be used to handle contract upgrades and routing of function calls|
| 4. | Expose ink!'s Dispatcher module | To handle contract upgrades and routing of function calls between different versions of the same contract. When a contract is upgraded, the Dispatcher module creates a new contract instance on the blockchain for the upgraded version of the contract |
| 5. | Copying data from the old contract | Migrate data from the old contract instance to the new one, demonstrating copying data from the old contract instance to the new one, using migrate function|
| 5. | Improve storage example of upgradable contracts | This [issue](https://github.com/paritytech/ink/issues/1679) says "The documentation around storage and upgradeability isn't thorough enough", use this showcase to address the pain points ([issue](https://github.com/paritytech/ink/issues/1678)) of "The current examples of upgradeability and call forwarding are confusing, incomplete, and some cases misleading" to provide better examples and documentation for contract developers|
| 6. | Demo ink! upgradability and parachain flexibility without hard fork | Compare to Solidity smart contract upgrades |
| 7. | Articles | We will publish article 2 of 3 using the same technical showcase focusing on ink! smart contract upgrade flow, ease of upgradability and flexibility. Can publish the blog in Medium in English, or recommended medium to target designated audiences |

Expand Down

0 comments on commit 82f3895

Please sign in to comment.