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

revert StabilityFee schema change #8084

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Conversation

turadg
Copy link
Member

@turadg turadg commented Jul 21, 2023

refs: #8079

Description

#7871 made an innocuous seeming string change. Each commit was called out as a BREAKING CHANGE, but we expected that was only to API consumers. We've since discovered that it broke compatibility with Mainnet ( #8079 ) because we don't yet have a facility for schema migrations. (see #7407 and #7337 )

The simple renaming affected three data tables, one of which has a stateShape schema validation that prevents loading. The other two we could limp along by always reading the two possible names, but we shouldn’t.

This restores a blocker to upgradability by reverting #7871. There may be others to be discovered so it doesn't yet close 8079.

Security Considerations

n/a

Scaling Considerations

n/a

Documentation Considerations

Testing Considerations

CI

Upgrade Considerations

This restores upgradability.

| LiquidationPadding | Ratio | |
| LiquidationMargin | Ratio | Yes |
| LiquidationPenalty | Ratio | Yes |
| MintFee | Ratio | Yes |
| LoanFee | Ratio | Yes |
Copy link
Contributor

Choose a reason for hiding this comment

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

This is still MintFee, same below on line 63

turadg added 3 commits July 24, 2023 15:14
…tUpdate, and compoundedInterest"

This reverts commit 21f9ae9.

fixup compoundedIntrest

fixup interestUpdate

fixup latestInterestUpdate
@turadg turadg force-pushed the 8079-fix-vaults-upgradability branch from 9173458 to c3a6912 Compare July 24, 2023 22:14
@turadg turadg enabled auto-merge July 24, 2023 22:14
@turadg turadg added this pull request to the merge queue Jul 25, 2023
Merged via the queue into master with commit ced08aa Jul 25, 2023
@turadg turadg deleted the 8079-fix-vaults-upgradability branch July 25, 2023 17:56
mhofman pushed a commit that referenced this pull request Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants