-
Notifications
You must be signed in to change notification settings - Fork 39
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
docs: update on zoe.installBundle and zoe.installBundleId #1265
Conversation
687744d
to
7b4f006
Compare
Deploying documentation with Cloudflare Pages
|
Cloudflare deployment logs are available here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some suggestions; none critical.
main/reference/zoe-api/zoe.md
Outdated
Takes bundled source code for a Zoe contract as an argument and | ||
installs the code with Zoe. The _bundleLabel_ will be accessible on the | ||
**Installation** object. Returns a **Promise** for an **Installation** | ||
object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about using the same docs we use at https://agoric-sdk.pages.dev/types/_agoric_zoe.src_zoeService_types_ambient.InstallBundle ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re "accessible on the Installation object" might as well say how. something like:
accessible on the Installation using E(anInstallation).getBundleLabel()
.
and / or make Installation into a link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should .install(...)
be deprecated except for testing?
Discussion such as Agoric/agoric-sdk#3269 (comment) makes it clear that we aim to keep bundles out of vat transcripts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good ideas, all.
main/reference/zoe-api/zoe.md
Outdated
Takes a bundleId for a Zoe contract (often generated in a [coreEval | ||
proposal](/guides/coreeval/local-testnet.html#deploying-contracts-using-core-eval-proposals) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coreEval happens on chain. Bundle generation happens off-chain in a builder script.
I suggest linking to bundling a contract instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Update the descriptions of
zoe.installBundle()
andzoe.installBundleId()