Skip to content
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

proto msg response types #9351

Merged
merged 2 commits into from
May 9, 2024
Merged

proto msg response types #9351

merged 2 commits into from
May 9, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented May 8, 2024

Refs: #9342

Description

Make it so executeTx gives the proper response message for each request message.

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

Upgrade Considerations

Copy link

cloudflare-workers-and-pages bot commented May 8, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: dfc830b
Status: ✅  Deploy successful!
Preview URL: https://1f79f500.agoric-sdk.pages.dev
Branch Preview URL: https://ta-response-types.agoric-sdk.pages.dev

View logs

Copy link
Member

@0xpatrickdev 0xpatrickdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -68,8 +70,9 @@ const prepareLocalChainAccount = zone =>
return E(allegedPurse).deposit(payment);
},
/**
* @param {import('@agoric/cosmic-proto').TypedJson<unknown>[]} messages
* @returns {Promise<import('@agoric/cosmic-proto').TypedJson[]>}
* @template {TypedJson[]} MA messages array
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a hint to use typedJson

@turadg turadg marked this pull request as ready for review May 9, 2024 16:15
@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label May 9, 2024
@mergify mergify bot merged commit 651b051 into master May 9, 2024
79 checks passed
@mergify mergify bot deleted the ta/response-types branch May 9, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants