-
Notifications
You must be signed in to change notification settings - Fork 201
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
repair ZCF to unblock contract upgrade #9254
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like what we discussed.
@gibson042 , I presume it's OK to duplicate rather than cherry-pick 73e0bb8 from #9250
Should the target branch be dev-upgrade-15? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes from app.go
are missing. The 2 commits from #9250 should be a simple cherry pick, with the one changing app.go
requiring minor conflict resolution
24d6ba5
to
7511e7f
Compare
attempting to cherry-pick gets
How would you recommend I copy that change and maintain the history? (I presume that's why a cherry pick would be preferred to a new commit) |
7511e7f
to
5b39a30
Compare
A cherry-pick does not keep the history any more than a new commit. I forgot about the move. I had split the commit to make the cherry pick easier, but that didn't help. You could indicate in the commit message what original commit was picked, but that only helps humans. |
427b5dd
to
5ba9dad
Compare
Presumably that or something related. I'm waiting for a signal from @gibson042 that it's ready, at which point, I'll rebase this to it. |
5b39a30
to
f447c44
Compare
But that help is valuable! A reference to 72c7574 may very well reduce future release work. |
I think the important part of that is to note that the change to Zoe in that commit hasn't been merged to the chain yet. It should be included before the next time we're going to upgrade Zoe, or the next time we're going to upgrade multiple contracts. |
This fix is cherry-picked from #8911 for upgrade 15
5ba9dad
to
7debf1d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I defer to RG / MH
closes: #9246
Description
#8911 fixes an issue with ZCF on the master branch. That issue effectively blocks contract upgrade. This ports that fix to the release branch, and adds a proposal that tells Zoe to use the new ZCF.
Security Considerations
Zoe and ZCF and the ability to upgrade contracts are crucial.
Scaling Considerations
N/A
Documentation Considerations
N/A
Testing Considerations
After installing the fix, we will test contract upgrades in a3p and the dev chains. The fix itself is tested in #8911.
Upgrade Considerations
It's all about upgrade.