-
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 parameter type for getProposalShapeForInvitation() #1258
Conversation
Deploying documentation with Cloudflare Pages
|
Cloudflare deployment logs are available here |
correct one typeGuard Also noticed that the types documented for getProposalShapeForInvitation were incorrect. fixed that with Agoric/documentation#1258
@@ -197,9 +197,9 @@ these methods: | |||
const instance = await E(Zoe).getInstance(invitation); | |||
``` | |||
|
|||
## E(Zoe).getProposalShapeForInvitation(invitation) | |||
## E(Zoe).getProposalShapeForInvitation(invitationHandle) |
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.
yes, this matches generated reference docs
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.
p.s. here's hoping for the day when we don't have to maintain these docs in 2 places
correct one typeGuard Also noticed that the types documented for getProposalShapeForInvitation were incorrect. fixed that with Agoric/documentation#1258
correct one typeGuard improve jsdoc Also noticed that the types documented for getProposalShapeForInvitation were incorrect. fixed that with Agoric/documentation#1258
correct one typeGuard improve jsdoc Also noticed that the types documented for getProposalShapeForInvitation were incorrect. fixed that with Agoric/documentation#1258
closes: #8606 closes: #8597 ## Description #8597 suggested adding a test proposal guards in Zoe. This adds that test, and also cleans up a redundant check in coveredCall. The added test exposed a mistake in the Zoe doc, so [1258](Agoric/documentation#1258) fixes that as well. ### Security Considerations None ### Scaling Considerations None. ### Documentation Considerations Improved documentation. ### Testing Considerations Added tests. ### Upgrade Considerations These changes do not impact code on-chain. There's a correction to an example contract, an improvement in a TypeGuard, and a documentation update which will be separately release.
I included a test for
getProposalShapeForInvitation()
in a more general test for invitation guards, and discovered that the docs were incorrect. This corrects them.