-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for actor upgrades (#1866)
This PR adds support for actor upgrades through a new `sdk::actor::upgrade_actor` syscall. This allows actors to upgrade to a new version while still keeping the same address, balance, etc. Instead of introducing a separate syscall to fetch `get_old_code_cid` this PR implements the alternative where we pass a upgrade metadata to the upgrade endpoint as proposed [here](filecoin-project/FIPs#396 (comment)). fixes #171
- Loading branch information
Showing
37 changed files
with
1,100 additions
and
321 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.