v1.27.0-a #10
@ -1695,14 +1695,14 @@ func upgradeActorsV10Common(
|
|||||||
|
|
||||||
if stateRoot.Version != types.StateTreeVersion4 {
|
if stateRoot.Version != types.StateTreeVersion4 {
|
||||||
return cid.Undef, xerrors.Errorf(
|
return cid.Undef, xerrors.Errorf(
|
||||||
"expected state root version 4 for actors v9 upgrade, got %d",
|
"expected state root version 4 for actors v10 upgrade, got %d",
|
||||||
stateRoot.Version,
|
stateRoot.Version,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
manifest, ok := actors.GetManifest(actorstypes.Version10)
|
manifest, ok := actors.GetManifest(actorstypes.Version10)
|
||||||
if !ok {
|
if !ok {
|
||||||
return cid.Undef, xerrors.Errorf("no manifest CID for v9 upgrade")
|
return cid.Undef, xerrors.Errorf("no manifest CID for v10 upgrade")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform the migration
|
// Perform the migration
|
||||||
|
Loading…
Reference in New Issue
Block a user