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

get auction instance from promise returned by addAuction #9944

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

Chris-Hibbert
Copy link
Contributor

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.

Copy link

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9fc5ba9
Status: ✅  Deploy successful!
Preview URL: https://0bb68d71.agoric-sdk.pages.dev
Branch Preview URL: https://cth-auctioninstanceafter2.agoric-sdk.pages.dev

View logs

Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

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

yes, this looks more robust

Comment on lines +69 to +71
(schedules.nextAuctionSchedule &&
TimeMath.compareAbs(schedules.nextAuctionSchedule.startTime, now) > 0) ||
Fail`Expected next start time in the future ${schedules.nextAuctionSchedule?.startTime}`;
Copy link
Member

Choose a reason for hiding this comment

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

I thought we'd log the schedule and eyeball it, but having the computer verify that it's fixed is perhaps more relevant.

@Chris-Hibbert Chris-Hibbert added the automerge:rebase Automatically rebase updates, then merge label Aug 22, 2024
@mergify mergify bot merged commit b84a426 into master Aug 22, 2024
101 of 102 checks passed
@mergify mergify bot deleted the cth-auctionInstanceAfter2 branch August 22, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auction automerge:rebase Automatically rebase updates, then merge contract-upgrade Vaults VaultFactor (née Treasury)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants