Open Longarithm opened 3 months ago
I suspect we want to support state snapshots for shards which were freshly created. However, in this line https://github.com/near/nearcore/blob/61c67c6e4825ce839f074fbc6d548f704c78415c/core/store/src/trie/state_snapshot.rs#L100 we assume that shard uids correspond to the previous epoch only. We may want to support new shard layout as well.
cc @wacban
I suspect we want to support state snapshots for shards which were freshly created. However, in this line https://github.com/near/nearcore/blob/61c67c6e4825ce839f074fbc6d548f704c78415c/core/store/src/trie/state_snapshot.rs#L100 we assume that shard uids correspond to the previous epoch only. We may want to support new shard layout as well.
cc @wacban