We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To unit test starting a contract with a ZCF requires a Zoe service. Starting one of those requires installing a bundle.
setUpZoeForTest has bundleAndInstall to help. But it doesn't cache. So we have lots of tests that set up a bundle cache to then pass a cached bundle.
setUpZoeForTest
bundleAndInstall
Make bundleAndInstall cache.
Remove pre-caching from tests using bundleAndInstall.
Maybe also migrate direct uses of E(zoe).install(bundle) use setUpZoeForTest and its caching bundleAndInstall.
E(zoe).install(bundle)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What is the Problem Being Solved?
To unit test starting a contract with a ZCF requires a Zoe service. Starting one of those requires installing a bundle.
setUpZoeForTest
hasbundleAndInstall
to help. But it doesn't cache. So we have lots of tests that set up a bundle cache to then pass a cached bundle.Description of the Design
Make
bundleAndInstall
cache.Remove pre-caching from tests using
bundleAndInstall
.Maybe also migrate direct uses of
E(zoe).install(bundle)
usesetUpZoeForTest
and its cachingbundleAndInstall
.Security Considerations
Scaling Considerations
Test Plan
Upgrade Considerations
The text was updated successfully, but these errors were encountered: