-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(swingset): get a small upgrade to work
This enables a partial vat upgrade test to work. It makes a lot of assumptions and is missing a lot of functionality, but it's a concrete step forward. Limitations include: * if the stopVat or startVat fail somehow, the vat will be left in an unusable state, and the caller will not be notified * stopVat does not clean up the non-durable objects * stopVat does not reject the lingering promises * startVat does not assert that userspace reconnects all Kinds * nothing about reconnecting Kinds is tested at all * nothing about remaining durable objects is tested at all * the kernel does not unsubscribe the vat from remaining promises * transcript pointers are cleared, but the contents are not deleted * the snapshot decref/deletion is not tested * stopVat is metered, but probably shouldn't be * startVat metering needs more thought refs #1848
- Loading branch information
Showing
5 changed files
with
89 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters