-
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
6000 remove zoe floating promises #9458
Conversation
Deploying agoric-sdk with Cloudflare Pages
|
@turadg: please check out my revisions to the tests, particularly |
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.
It's a relief to see that the only awaits
necessary were in test code. =)
@@ -42,7 +41,7 @@ const build = async (log, zoe, issuers, payments, installations) => { | |||
}); | |||
const alicePayments = { Asset: moolaPayment }; | |||
|
|||
logCounter(log, publicFacet); | |||
await logCounter(log, publicFacet); |
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.
probably ok if these stayed void
but good to have the confident now of what the order is
@@ -732,15 +737,20 @@ test('quoteWhen', async t => { | |||
|
|||
/** @type {PriceQuote | undefined} */ | |||
let abovePriceQuote; | |||
t.notThrowsAsync(quoteWhenGTE.then(result => (abovePriceQuote = result))); | |||
const results = []; |
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.
consider commenting here why this array is necessary
c012f04
to
3ffdfe8
Compare
3ffdfe8
to
87268ad
Compare
closes: #6000
Description
Resolve remaining floating promises in Zoe
Security Considerations
Zoe's correct functioning is crucial to the chain. I determined that it was correct to not further handle any of these promises.
Scaling Considerations
N/A
Documentation Considerations
N/A
Testing Considerations
N/A
Upgrade Considerations
No impact, because no behavioral changes.