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

Implement FIP-0031 #8209

Closed
wants to merge 1 commit into from
Closed

Implement FIP-0031 #8209

wants to merge 1 commit into from

Conversation

arajasek
Copy link
Contributor

@arajasek arajasek commented Mar 1, 2022

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.

@jennijuju
Copy link
Member

resolves #8061

@arajasek arajasek marked this pull request as ready for review March 12, 2022 16:52
@arajasek arajasek requested a review from a team as a code owner March 12, 2022 16:52
@arajasek
Copy link
Contributor Author

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:

  • temporarily bump them to using nv15 (this would require undoing some codegen, which is undesirable)
  • make getting v8 actors and FVM v16 a blocker for this PR: this probably makes more sense in terms of ordering, but if we decide to do that, I would want to merge feat/fvm (the destination branch of this PR) into master now (and this can land later).

@arajasek
Copy link
Contributor Author

Closes #8064

@arajasek arajasek linked an issue Mar 12, 2022 that may be closed by this pull request
@arajasek arajasek changed the title WIP: Implement FIP-0031 Implement FIP-0031 Mar 12, 2022
@jennijuju
Copy link
Member

jennijuju commented Mar 15, 2022

after feat/fvm is merged into master (tmr) then that branch would be closed.
id suggest we then create a nv16 branch, base of release/v1.15.1 and land this PR there (after test are passing)

@jennijuju jennijuju marked this pull request as draft March 15, 2022 04:42
@arajasek arajasek marked this pull request as ready for review March 15, 2022 16:06
Base automatically changed from feat/fvm to master March 16, 2022 19:51
@jennijuju jennijuju marked this pull request as draft March 25, 2022 17:37
Copy link
Contributor

@magik6k magik6k left a 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
Copy link
Contributor

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()...)
Copy link
Contributor

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
Copy link
Contributor

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

@jennijuju jennijuju assigned vyzo and unassigned magik6k and arajasek Mar 30, 2022
@vyzo vyzo closed this Apr 18, 2022
@raulk raulk deleted the asr/fip-0031 branch April 18, 2022 16:37
@raulk
Copy link
Member

raulk commented Apr 18, 2022

Superseded by #8429.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
5 participants