-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
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
separate E(zoe).startInstance() authority from E(zoe).offer() #3725
Comments
There are 15 uses of |
from @Chris-Hibbert in slack
|
postponing as discussed in yesterday's Zoe meeting: #4395 (comment) |
where to track separating
|
Description
In Mainnet1 and Mainnet2, we share
E(zoe).offer()
access widely, but until Mainnet3, we restrict access toE(zoe).startInstance()
. This reminds us of rule # 1 of ocap design: separate authority should be on separate objects. Having both on the samezoe
object is awkward.Solution
E(zoe).startInstance()
should be moved to a separate ocap returned from Zoe creation, and should be provided to appropriate services which are allowed to create other contracts as private arguments in their construction. (See #4395 for doing likewise withE(zoe).install()
.)The text was updated successfully, but these errors were encountered: