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

method in ZCF for contracts to know their upgrade state #8324

Open
turadg opened this issue Sep 12, 2023 · 0 comments
Open

method in ZCF for contracts to know their upgrade state #8324

turadg opened this issue Sep 12, 2023 · 0 comments
Labels
enhancement New feature or request needs-design

Comments

@turadg
Copy link
Member

turadg commented Sep 12, 2023

What is the Problem Being Solved?

It’s a little error prone that contracts have to look in their baggage for a thing to know whether they’re upgrading.

Description of the Design

Some method on the ZCF that a contract start fn can call to learn which incarnation it's in. Maybe initial or upgrading, or some incarnation number.

It would have to be threaded through from Zoe. Neither is currently tracking that state. In order to get a definitive answer rather than an ad hoc indication, Zoe would want to get an answer from Swingset, so needs needs-design.

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

@turadg turadg added enhancement New feature or request needs-design labels Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-design
Projects
None yet
Development

No branches or pull requests

1 participant