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

feat: add null upgrade of vaultFactoryGovernor to upgrade-vaults.js #9953

Merged
merged 5 commits into from
Aug 24, 2024

Conversation

Chris-Hibbert
Copy link
Contributor

refs: #5200

Description

Do a null upgrade of the vaultFactory governor contract in the coreEval that upgrades the vaultFactory contract.

Security Considerations

If the governor is correctly connected to the contract (tests in process), and can govern parameters and enable offer filters, then everything is connected as it was, and there are no new security issues.

Scaling Considerations

None.

Documentation Considerations

No user-visible changes.

Testing Considerations

Test governance of the vaultFactory thoroughly on a testnet.

Upgrade Considerations

It appears that contract governor may be upgradeable..

@Chris-Hibbert Chris-Hibbert added Governance Governance contract-upgrade Vaults VaultFactor (née Treasury) labels Aug 23, 2024
@Chris-Hibbert Chris-Hibbert self-assigned this Aug 23, 2024
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.

This much looks good, but I'd like to see the a3p test for param governance etc. that @turadg is working on added to it before merging to master.

@turadg turadg force-pushed the 5200-upgradeVMGovernor branch from cdb8a0c to 347c4c7 Compare August 23, 2024 22:50
Copy link

cloudflare-workers-and-pages bot commented Aug 23, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6010064
Status: ✅  Deploy successful!
Preview URL: https://7d0e0028.agoric-sdk.pages.dev
Branch Preview URL: https://5200-upgradevmgovernor.agoric-sdk.pages.dev

View logs

@turadg turadg added the force:integration Force integration tests to run on PR label Aug 23, 2024
START_FREQUENCY.toString(),
);

console.log('Ensure debt ceiling changes');
Copy link
Member

Choose a reason for hiding this comment

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

This tests that a vaultManager param can change. It doesn't test pausing offers. I don't have a theory for how this pausing offers could fail when this works.

@Chris-Hibbert Chris-Hibbert added the automerge:rebase Automatically rebase updates, then merge label Aug 23, 2024
@Chris-Hibbert Chris-Hibbert force-pushed the 5200-upgradeVMGovernor branch from 3abceff to 6010064 Compare August 23, 2024 23:40
@turadg turadg mentioned this pull request Aug 24, 2024
@mergify mergify bot merged commit 7296b47 into master Aug 24, 2024
80 checks passed
@mergify mergify bot deleted the 5200-upgradeVMGovernor branch August 24, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge contract-upgrade force:integration Force integration tests to run on PR Governance Governance Vaults VaultFactor (née Treasury)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants