-
Notifications
You must be signed in to change notification settings - Fork 208
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
vaultFactory contract not upgradable #8079
Comments
problem:
|
problem(s): timestamp / oracle price, invitation (undiagnosed)full timestamp / oracle price stacktraces
and
invitation stacktrace
this seems odd; it doesn't make a new invitation: const newInvitation = await directorParamManager.getInternalParamValue(
SHORTFALL_INVITATION_KEY,
); |
This was referenced Jul 21, 2023
3 tasks
Merged
#9283 demonstrates that vaults are upgradeable. |
mergify bot
added a commit
that referenced
this issue
May 6, 2024
closes: #8049 closes: #8740 closes: #8868 closes: #8918 closes: #8981 closes: #8079 refs: #8400 closes: #8735 closes: #7873 closes: #8726 closes: #7954 closes: #8757 closes: #8728 closes: #8789 ## 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 A3P tests that verify that vaultFactory has been upgraded, that a new Auctioneer is running and is receiving prices. Verify that when prices drop, assets are sold via the auction, the bidder gets the proceeds, and the vaults are liquidated or reconstituted appropriately. ### Upgrade Considerations Upgrade all the vats!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The vaultFactory contract in master fails upgrading the vaultFactory contract deployed to mainnet (simulated in docker upgrade-test scripts). There are multiple hurdles. (TO INCLUDE)
To Reproduce
Steps to reproduce the behavior:
packages/deployment/upgrade-tests
:make build run
bundle-source --cache-json /tmp packages/inter-protocol/src/vaultFactory/vaultFactory.js vaultFactory
and thendocker cp /tmp/bundle-vaultFactory.json $CONTAINERID:/tmp
where$CONTAINERID
is fromdocker ps
.mv upgrade-test-scripts xx-scripts; ln -s /workspace/upgrade-test-scripts
. ./upgrade-test-scripts/agoric-upgrade-11/mint-ist.sh
./upgrade-test-scripts/agoric-upgrade-11/auctioneer-upgrade-driver.sh
Expected behavior
vault factory upgrade does not produce errors; contract works after upgrade
Platform Environment
upgrade-test
docker stuffupgrade-test
docker stuffAdditional context
work on upgrading vault factory to connect to a different auctioneer: #8049
Screenshots
We have a more complete log file internally.
The text was updated successfully, but these errors were encountered: