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

support changes to governed APIs #10822

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Chris-Hibbert
Copy link
Contributor

closes: #9990

Description

When a contract is upgraded, we'll read the governed APIs afresh.

Security Considerations

Nothing special. The point of governed APIs is that contracts can make access to calling specific APIs legible in the sense used by governance.

Scaling Considerations

Not an issue.

Documentation Considerations

If we had detailed documentation on governance, this would be worth adding to the docs.

Testing Considerations

Added a bootstrap test showing that a contract can be upgraded and the new APIs will be available after upgrade.

Upgrade Considerations

No existing contracts are using governed APIs. When they are added, the contract will use the latest version of the governance code, and upgrade will work.

Copy link

cloudflare-workers-and-pages bot commented Jan 9, 2025

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1dc3e9a
Status: ✅  Deploy successful!
Preview URL: https://e5c2adda.agoric-sdk.pages.dev
Branch Preview URL: https://9990-upgradeapis.agoric-sdk.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API governance captures governed APIs at initial creation, doesn't notice upgrades
1 participant