-
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
Introduce v5 actors #6195
Introduce v5 actors #6195
Conversation
e8b6aba
to
a36f1e9
Compare
9bd2d47
to
a6e1845
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.
The code-gen makes this kind of thing a lot less stressful.
@@ -39,6 +39,8 @@ var UpgradeNorwegianHeight = abi.ChainEpoch(40) | |||
|
|||
var UpgradeActorsV4Height = abi.ChainEpoch(45) | |||
|
|||
var UpgradeHyperdriveHeight = abi.ChainEpoch(50) |
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.
ActorsV5? I mean, I know hyperdrive is nicer... but it's kind of inconsistent.
That or we can go back and name all the other heights. I'd actually prefer to do it that way.
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.
Yeah, I'll rename the old ones -- the inconsistency was bothering me too. I think we want to go with Hyperdrive for now (and names from this point on).
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.
UpgradeHyperspaceBypassHeight
? We can totally print some bad poetry at the time of the upgrade.
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.
Yikes is this upgrade supposed to destroy the earth?!? Idea: AlcubierreOverdrive
. Maybe we save that one for the upgrade instantiating aggregator nodes.
Test failures will be resolved by filecoin-project/specs-actors#1401 |
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.
LGTM
@@ -1053,7 +1057,7 @@ func upgradeActorsV3Common( | |||
// Perform the migration | |||
newHamtRoot, err := nv10.MigrateStateTree(ctx, store, stateRoot.Actors, epoch, config, migrationLogger{}, cache) | |||
if err != nil { | |||
return cid.Undef, xerrors.Errorf("upgrading to actors v2: %w", err) | |||
return cid.Undef, xerrors.Errorf("upgrading to actors v3: %w", err) |
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.
Nice find
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.
Haha, thanks!
399be24
to
7d97722
Compare
I think the failures are flaky at this point. I'm going to merge it into the staging branch for now, but we will need to gain confidence in this. |
Actor wrappers generated by codegen
make actors-gen
.