0xMiden / 0xMiden/protocol

Storage and storage schemas can diverge when storage layout is defined dynamically

オープン
#3,772 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。