Skip to content

Commit f43f94d

Browse files
authored
chore(docs): mention that upgradable contracts are not production-ready (#3079)
1 parent 84e8584 commit f43f94d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/src/content/docs/cookbook/upgrades.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ Traits and helper functions that can be used to upgrade your smart contract's co
1111

1212
:::
1313

14+
:::danger[Contract upgrades are NOT ready for production use]
15+
The current contract upgrade facilities are experimental and **not recommended for production** due to potential data storage inconsistencies when modifying contract layouts. The following examples are given as simple illustrations of what could be done, but **not** as guidance or solid advice.
16+
17+
Using such traits in production may lead to unexpected behavior or data corruption.
18+
19+
A proper implementation is being drafted — [track progress here](https://github.com/tact-lang/tact/issues/27) and [here](https://github.com/tact-lang/tact/issues/3034).
20+
:::
21+
1422
## Direct upgrade
1523

1624
```tact

0 commit comments

Comments
 (0)