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

Upgrade VaultFactory in A3P, and use new auctions and price feeds #8757

Closed
wants to merge 2 commits into from

Conversation

Chris-Hibbert
Copy link
Contributor

@Chris-Hibbert Chris-Hibbert commented Jan 16, 2024

closes: #8049
closes: #8740
refs: #8868
closes: #8918
closes: #8981
closes: #8079
refs: #8400
closes: #8735
closes: #7873
closes: #8726
closes: #7954

Description

Upgrade VaultFactory in A3P, relying on the new PriceFeeds, and auctions. The actual upgrade waits for the priceFeeds to start supplying before doing the upgrade, so there won't be any gap in priceUpdates.

When the upgrade is finished, we also update the auctioneerKit and Auction instance in the bootstrap environment.

This PR demonstrates that VaultFactory can be upgraded even though governance is not persistent (#8123).

Security Considerations

N/A

Scaling Considerations

This is largely in service of #8400, which reports that priceFeed vats are accumulating garbage. This PR switches to new priceFeeds, which won't have that problem, though cleaning up the existing vats is a task for the future.

Documentation Considerations

No changes to user-visible behavior.

Testing Considerations

Tests don't pass yet.

Upgrade Considerations

Upgrade all the vats!

@Chris-Hibbert Chris-Hibbert added the Vaults VaultFactor (née Treasury) label Jan 16, 2024
@Chris-Hibbert Chris-Hibbert self-assigned this Jan 16, 2024
@Chris-Hibbert Chris-Hibbert force-pushed the auctioneer-private-args-cth branch 2 times, most recently from 03f4000 to a289edc Compare January 16, 2024 21:43
@Chris-Hibbert Chris-Hibbert mentioned this pull request Feb 7, 2024
14 tasks
@Chris-Hibbert Chris-Hibbert force-pushed the auctioneer-private-args-cth branch 3 times, most recently from 8354228 to 95dc762 Compare March 27, 2024 21:31
@Chris-Hibbert Chris-Hibbert changed the title Move Auctioneer to VautFactory's private args Upgrade Auctions in A3P, and use new auctions and price feeds Mar 27, 2024
@Chris-Hibbert Chris-Hibbert changed the title Upgrade Auctions in A3P, and use new auctions and price feeds Upgrade VaultFactory in A3P, and use new auctions and price feeds Mar 27, 2024
@Chris-Hibbert Chris-Hibbert changed the base branch from master to 8740-newAuction March 27, 2024 22:38
@turadg turadg added the force:integration Force integration tests to run on PR label Mar 28, 2024
@Chris-Hibbert Chris-Hibbert force-pushed the auctioneer-private-args-cth branch 2 times, most recently from c905c65 to 293ead0 Compare April 1, 2024 23:34
Copy link

cloudflare-workers-and-pages bot commented Apr 12, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: a30f7be
Status:🚫  Build failed.

View logs

@Chris-Hibbert Chris-Hibbert changed the base branch from 8740-newAuction to master April 24, 2024 20:00
@Chris-Hibbert Chris-Hibbert changed the base branch from master to 8740-newAuction April 24, 2024 21:04
@Chris-Hibbert Chris-Hibbert force-pushed the 8740-newAuction branch 2 times, most recently from 3774694 to 2d5a66a Compare April 29, 2024 18:02
Base automatically changed from 8740-newAuction to master April 29, 2024 18:35
mergify bot added a commit that referenced this pull request Apr 29, 2024
refs: #8740
closes: #8918
refs: #8400

## Description

Add a new Auction instance in A3P, so #8757 can make use of it. Also
provides upgrade proposals which can be be applied to MainNet and other
chains.

### Security Considerations

N/A

### Scaling Considerations

This is largely in service of #8400, which reports that priceFeed vats
are accumulating garbage. This PR gives a new auction which can rely on
new priceFeeds. The existing auction is not upgradeable and its
pricefeeds can't be updated.

### Documentation Considerations

No user-visible changes to behavior.

### Testing Considerations

Tested in A3P

### Upgrade Considerations

Auctions are not upgradeable, so we have to replace them and update
their clients.
@mergify mergify bot closed this in #9283 May 6, 2024
@mergify mergify bot closed this in 24f7f32 May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment