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
**Issue**: #10564
**Summary**
Adds logic to load / unload in-memory tries that works with state sync.
Enables in-memory trie with single shard tracking.
**Changes**
- Add optional `state_root` parameter for memtrie loading logic - it's
needed when we cannot read the state root from chunk extra.
- Add `load_mem_tries_for_tracked_shards` config parameter.
- Add methods for loading / unloading in-memory tries.
- Remove obsolete tries from memory before each new state sync.
**Follow up tasks**
- Add shard assignment shuffling every epoch for StatelessNet:
#10845.
- Make sure the logic works well with resharding, and state is fully
GC-ed, add integration tests:
#10844.
Enable in-memory trie for chunk producers. For that, implementation of shard switch is required.
The text was updated successfully, but these errors were encountered: