-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Implement FIP-0031 #8209
Implement FIP-0031 #8209
Conversation
resolves #8061 |
The test failures are because they try to run with the latest network version (set to v16 in this PR), which is currently unsupported by the FVM and the actors. We could:
|
Closes #8064 |
after feat/fvm is merged into master (tmr) then that branch would be closed. |
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.
Nothing unexpected here, obviously still need real code CIDs
@@ -55,6 +55,7 @@ require ( | |||
github.com/filecoin-project/specs-actors/v5 v5.0.4 | |||
github.com/filecoin-project/specs-actors/v6 v6.0.1 | |||
github.com/filecoin-project/specs-actors/v7 v7.0.0 | |||
github.com/filecoin-project/specs-actors/v8 v8.0.0-20220301040630-7465555c2e22 |
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.
Probably want a tag for master
@@ -63,6 +64,7 @@ func NewActorRegistry() *vm.ActorRegistry { | |||
inv.Register(vm.ActorsVersionPredicate(actors.Version5), exported5.BuiltinActors()...) | |||
inv.Register(vm.ActorsVersionPredicate(actors.Version6), exported6.BuiltinActors()...) | |||
inv.Register(vm.ActorsVersionPredicate(actors.Version7), exported7.BuiltinActors()...) | |||
inv.Register(vm.ActorsVersionPredicate(actors.Version8), exported8.BuiltinActors()...) |
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.
Do we want to register those?
@@ -133,6 +134,8 @@ func newAccountActor(ver actors.Version) *types.Actor { | |||
code = builtin6.AccountActorCodeID | |||
case actors.Version7: | |||
code = builtin7.AccountActorCodeID | |||
case actors.Version8: | |||
code = builtin8.AccountActorCodeID |
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.
We'll need to set those code CIDs to real code CIDs
Superseded by #8429. |
Merge strategy: Land #8293 in master, then land this in the appropriate branch (see @jennijuju note below).
This PR implements FIP-0031. The key changes are:
Fixes #8117.
Fixes #8061.