You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* document storage compatibility
* more clarity on storage restriction
* fix spelling
* ignore code snippets in docs
* formatting
* Apply suggestions from Michi's code review
Co-authored-by: Michael Müller <[email protected]>
Co-authored-by: Andrew Jones <[email protected]>
* Apply suggestions from code review
Co-authored-by: Michael Müller <[email protected]>
Co-authored-by: Andrew Jones <[email protected]>
Copy file name to clipboardExpand all lines: examples/upgradeable-contracts/README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,3 +20,10 @@ more information on proxy patterns.
20
20
This effectively replaces the code which is executed for the contract address.
21
21
* The other contract (`updated-incrementer`) needs to be deployed on-chain.
22
22
* State is stored in the storage of the originally instantiated contract (`incrementer`).
23
+
24
+
## Storage Compatibility
25
+
26
+
When working on the contract upgradeability, it is important to observe additional rules that are imposed on
27
+
the modifications of storage:
28
+
29
+
Please refer to the section of [Storage Compatibility](https://paritytech.github.io/ink/ink_env/fn.set_code_hash.html) in the ink! crate documentation.
0 commit comments