Session Commits Persistence #89
Labels
mark:next
Strategic issues related to next versions of Testnet and mid/long term plans
team:Core
Low Level Core Development Team (Rust)
type:feature
implementing a new feature
Summary
Possible solution design or implementation
Additional context
start VM
deploy module M1 with initial state S1
start session S
assert state of M1 is S1
set state of M1 to S2
commit session S, obtain commit id CID1
drop session S
start session S
restore session to CID1
assert state of M1 is S2
Note that this issue is about session level persistence:
Session level persistence - session's commit method produces a session_commit_id which can be used at later time as argument to session's restore method. Note, that here we can distinguish: a) persistence of particular commits, under the assumption that the user stores commit ids, as well as b) persistence of commit ids themselves, under the assumption that the user does not store them.
The text was updated successfully, but these errors were encountered: