-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(swingset): merge bundle/vat-admin devices, add waitForBundlecap()
Simplify the user experience by removing `devices.bundle` and merging its functionality into vat-admin. * bootstrap() can go back to doing `vatAdminService = E(vats.vatAdmin).createVatAdminService(devices.vatAdmin)` , instead of `createVatAdminService(devices.vatAdmin, devices.bundle)` * you can get bundlecaps from `E(vatAdminService).getBundlecap` or `.getNamedBundlecap`, you no longer need `D(devices.bundle)` for those * `E(vatAdminService).waitForBundlecap(bundleID)` gives you a Promise that fires when (and if) the bundle has been installed, so you can e.g. begin a `zoe.install()` before the bundle is installed (closes #4521) closes #4566
- Loading branch information
Showing
14 changed files
with
452 additions
and
197 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.