-
Notifications
You must be signed in to change notification settings - Fork 212
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
offer result vows in smart wallet #9635
Conversation
Deploying agoric-sdk with Cloudflare Pages
|
e23962c
to
46b8881
Compare
// throw so the vow watcher propagates the rejection | ||
throw reason; |
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.
Curious how rejections were propagated before - this change seems unrelated to the rest
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.
the function returned the promise, but now that's wrapped in vow watchers
46b8881
to
8f46beb
Compare
10667e2
to
eaf225f
Compare
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.
Please address my question about the commented-out block. Otherwise, LGTM!
// FIXME fails if valueVow is restarted | ||
// t.log('restart valueVow'); | ||
// await evalProposal( | ||
// buildProposal('@agoric/builders/scripts/testing/restart-valueVow.js'), | ||
// ); |
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.
Did you intend to leave this commented out?
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.
Oops, bad rebase. This must be tested. Will fixup
- refs: #9308 Co-authored-by: Turadg Aleahmad <turadg@agoric.com>
eaf225f
to
5439ea8
Compare
closes: #9308
Description
Makes the offer result watcher able to handle offer results that are vows or promises for vows.
Security Considerations
none
Scaling Considerations
none
Documentation Considerations
none
Testing Considerations
adds a test for a vow resolving after its source vat restarts
Upgrade Considerations
This requires an upgrade of the smart-wallet contract, which will have to be deployed in a core-eval.
adds a smart wallet contract upgrade test