Skip to content

Conversation

@Chris-Hibbert
Copy link
Contributor

I included a test for getProposalShapeForInvitation() in a more general test for invitation guards, and discovered that the docs were incorrect. This corrects them.

@Chris-Hibbert Chris-Hibbert self-assigned this Dec 17, 2024
@cloudflare-workers-and-pages
Copy link

Deploying documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5218b61
Status: ✅  Deploy successful!
Preview URL: https://68fcd1a2.documentation-7tp.pages.dev
Branch Preview URL: https://8606-proposalshape.documentation-7tp.pages.dev

View logs

@github-actions
Copy link

Cloudflare deployment logs are available here

Chris-Hibbert added a commit to Agoric/agoric-sdk that referenced this pull request Dec 17, 2024
correct one typeGuard

Also noticed that the types documented for
getProposalShapeForInvitation were incorrect. fixed that with
Agoric/documentation#1258
@Chris-Hibbert Chris-Hibbert requested a review from dckc December 17, 2024 21:28
```

## E(Zoe).getProposalShapeForInvitation(invitation)
## E(Zoe).getProposalShapeForInvitation(invitationHandle)
Copy link
Member

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

Copy link
Member

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

@Chris-Hibbert Chris-Hibbert merged commit 63e6d5b into main Dec 17, 2024
6 checks passed
@Chris-Hibbert Chris-Hibbert deleted the 8606-proposalShape branch December 17, 2024 21:36
Chris-Hibbert added a commit to Agoric/agoric-sdk that referenced this pull request Jan 6, 2025
correct one typeGuard

Also noticed that the types documented for
getProposalShapeForInvitation were incorrect. fixed that with
Agoric/documentation#1258
Chris-Hibbert added a commit to Agoric/agoric-sdk that referenced this pull request Jan 7, 2025
correct one typeGuard

improve jsdoc

Also noticed that the types documented for
getProposalShapeForInvitation were incorrect. fixed that with
Agoric/documentation#1258
Chris-Hibbert added a commit to Agoric/agoric-sdk that referenced this pull request Jan 7, 2025
correct one typeGuard

improve jsdoc

Also noticed that the types documented for
getProposalShapeForInvitation were incorrect. fixed that with
Agoric/documentation#1258
mergify bot added a commit to Agoric/agoric-sdk that referenced this pull request Jan 7, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants