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

Write a coreEval to upgrade Vaults in Upgrade-15 #8981

Closed
Chris-Hibbert opened this issue Feb 24, 2024 · 0 comments · Fixed by #9283
Closed

Write a coreEval to upgrade Vaults in Upgrade-15 #8981

Chris-Hibbert opened this issue Feb 24, 2024 · 0 comments · Fixed by #9283
Assignees
Labels
auction enhancement New feature or request Vaults VaultFactor (née Treasury)

Comments

@Chris-Hibbert
Copy link
Contributor

What is the Problem Being Solved?

Vaults should be upgraded in Upgrade-15. This relies on new priceFeeds, and a new AuctionContract.

See #8740 for the overall plan for upgrading price feeds, of which this is a part.

Description of the Design

When Vaults are upgraded, they must be informed of the new priceAuthority and the new Auction.

Security Considerations

none

Scaling Considerations

This is in service of resolving some sustainability challenges caused by the old price feeds

Test/Upgrade Plan

Verify in a3p-integration that everything is happy afterwards.

@Chris-Hibbert Chris-Hibbert added enhancement New feature or request Vaults VaultFactor (née Treasury) auction labels Feb 24, 2024
@Chris-Hibbert Chris-Hibbert self-assigned this Feb 24, 2024
@mergify mergify bot closed this as completed in #9283 May 6, 2024
@mergify mergify bot closed this as completed in 24f7f32 May 6, 2024
mergify bot added a commit that referenced this issue Aug 13, 2024
_incidental_

## Description
Refactors the auction amount math out of the auction book and adds unit tests. I noticed an inconsistency so this adds an assertion to prevent that and a fix. Also a bunch of refactorings and docs to try to make this area of the code more clear.

Reviewers, review by commit is recommended.

### Security Considerations
The auction book now calls out to another module to do the math. Module from its own package though.

### Scaling Considerations
no change

### Documentation Considerations
not user facing

### Testing Considerations
regression test

### Upgrade Considerations

This won't go out until VaultFactory gets a new auctioneer. See,
- #8735
- #8981

@Chris-Hibbert is working on the CoreEval and its test to deploy this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auction enhancement New feature or request Vaults VaultFactor (née Treasury)
Projects
None yet
1 participant