-
Notifications
You must be signed in to change notification settings - Fork 217
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
get auction instance from promise space after auction startup completes #9940
Conversation
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.
more robust automated testing would be ideal.
But this clearly can't make it worse, and your manual integration testing results strongly suggest it helps.
auctioneerInstanceP, | ||
E.get(consumeInstance).auctioneer, |
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.
Interesting approach.
This PromiseSpace synchronization technique is clearly "too clever by half", since I didn't catch that in code review earlier.
I did start to suggest checking that agoricNames got updated, but only for the installation. And just checking that the instance changed in agoricNames wouldn't tell us which instance the vaultFactory picked up.
instance: { consume: { auctioneer: uV } }, | ||
instance: { consume: true }, |
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.
Granting more authority is often suspicious... but all the instances here are intended to be widely shared anyway. So this is fine.
53462a9
to
20db104
Compare
Deploying agoric-sdk with Cloudflare Pages
|
Superseded by #9944. |
refs: #9940 ## Description #9937 unintentionally upgraded the vaultFactory with the instance of the old auction. This change asks the promise space for the auction instance after the new auction startup is complete. ### Security Considerations None. ### Scaling Considerations None. ### Documentation Considerations None. ###Testing Considerations This will be tested on Ollinet and emerynet before deployment. I tested locally on a3p by watching the logs to see that the vaults synced to the new auction schedule. ###Upgrade Considerations upgrade vaults and auctions so they work together.
refs: #9937
Description
#9937 unintentionally upgraded the vaultFactory with the instance of the old auction. This change asks the promise space for the auction instance after the new auction startup is complete.
Security Considerations
none
Scaling Considerations
none
Documentation Considerations
none
Testing Considerations
This will be tested on Ollinet and emerynet before deployment.
I tested locally on
a3p
by watching the logs to see that the vaults synced to the new auction schedule.Upgrade Considerations
upgrade vaults and auctions so they work together.