This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Design persist/restore interface between VM2 and its client, e.g. Rusk #319
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
Comments
miloszm
added
type:feature
implementing a new feature
team:Core
Low Level Core Development Team (Rust)
labels
Apr 29, 2022
autholykos
added
the
mark:next
Strategic issues related to next versions of Testnet and mid/long term plans
label
May 9, 2022
Closed
miloszm
changed the title
Design persist/restore interface between VM2 and Rusk
Design persist/restore interface between VM2 and its client, e.g. Rusk
Jun 15, 2022
ureeves
added a commit
that referenced
this issue
Jul 1, 2022
- Add `NetworkState::store` - Add `NetworkState::builder` - Change `NetworkState::persist` to require no arguments - Remove `NetworkState::restore_from_disk` and `NetworkState::restore` - Remove `NetworkState::persist_to_disk` - Remove `NetworkState::with_config` Resolves #319
ureeves
added a commit
that referenced
this issue
Jul 1, 2022
- Add `NetworkState::store` - Add `NetworkState::builder` - Change `NetworkState::persist` to require no arguments - Remove `NetworkState::restore_from_disk` and `NetworkState::restore` - Remove `NetworkState::persist_to_disk` - Remove `NetworkState::with_config` Resolves #319
ureeves
added a commit
that referenced
this issue
Jul 4, 2022
- Add `NetworkState::store` - Add `NetworkState::builder` - Change `NetworkState::persist` to require no arguments - Remove `NetworkState::restore_from_disk` and `NetworkState::restore` - Remove `NetworkState::persist_to_disk` - Remove `NetworkState::with_config` Resolves #319
ureeves
added a commit
that referenced
this issue
Jul 5, 2022
- Add `NetworkState::store` - Add `NetworkState::builder` - Change `NetworkState::persist` to require no arguments - Remove `NetworkState::restore_from_disk` and `NetworkState::restore` - Remove `NetworkState::persist_to_disk` - Remove `NetworkState::with_config` Resolves #319
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Describe what you want implemented
As
backend ctor
is gone in VM2 and there is a need for an in-place update of state storage, persist/restore interface between Rusk and VM2 needs to be redesigned.Describe "Why" this is needed
This is needed for the following reasons:
BackendCtor<DiskBackend>
is no longer supportedDescribe alternatives you've considered
Alternative would be to leave the state of the interface as is but it has the disadvantage that it is not possible to shrink storage size as VM2 does not have enough information to access disk storage directly.
Additional context
This issue is related to issue 318 about storing VM2 state as-is.
The text was updated successfully, but these errors were encountered: