Storage and storage schemas can diverge when storage layout is defined dynamically
オープン
standards
- 主要言語
- Rust
- スター
- 132
- フォーク
- 167
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 110
説明
We have some components where storage layout is dynamic (i.e., whether some storage slots are present depends on values in other storage slots). This makes storage schemas (which are defined statically) diverge from the storage itself under some conditions (see https://github.com/0xMiden/protocol/pull/3648/changes#r3848434390). Potential ways to address it:
- Treat storage schemas as a superset of possible storage state (that's kind of how it works now).
- Move away from the dynamic storage pattern (not sure what the exact impact here would be).
- Make storage schemas dynamic as well (tricky to do for static definitions via TOML files).
コントリビューションガイド
評価
この issue はまだ評価されていません。