-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: zoe/spawner/pegasus: use unlimited Meter, not metered: true
Zoe and spawner use `createVat()` to do their jobs. Previously, they used `{ metered: true }`, which provided a per-crank limit but not cumulative limit. This changes both to use `createUnlimitedMeter()`, then pass that as a `{ meter }` option, to achieve the same effect. When Zoe is ready to maintain (and refill) a Meter, change that to use `createMeter()` instead of `createUnlimitedMeter()`. This also adds `createMeter` and `createUnlimitedMeter` methods to the fake vatAdmin objects used by the zoe/spawner/pegasus unit tests, so the new Zoe/spawner code will work against the mocks. refs #3308
- Loading branch information
Showing
5 changed files
with
14 additions
and
5 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