and actually hook up loading logic
This commit is contained in:
parent
be1f15052c
commit
95c57d0ce3
@ -57,6 +57,8 @@ func Load(store adt.Store, act *types.Actor) (st State, err error) {
|
|||||||
return load0(store, act.Head)
|
return load0(store, act.Head)
|
||||||
case builtin2.StorageMinerActorCodeID:
|
case builtin2.StorageMinerActorCodeID:
|
||||||
return load2(store, act.Head)
|
return load2(store, act.Head)
|
||||||
|
case builtin3.StorageMinerActorCodeID:
|
||||||
|
return load3(store, act.Head)
|
||||||
}
|
}
|
||||||
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,8 @@ func Load(store adt.Store, act *types.Actor) (State, error) {
|
|||||||
return load0(store, act.Head)
|
return load0(store, act.Head)
|
||||||
case builtin2.MultisigActorCodeID:
|
case builtin2.MultisigActorCodeID:
|
||||||
return load2(store, act.Head)
|
return load2(store, act.Head)
|
||||||
|
case builtin3.MultisigActorCodeID:
|
||||||
|
return load3(store, act.Head)
|
||||||
}
|
}
|
||||||
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,8 @@ func Load(store adt.Store, act *types.Actor) (State, error) {
|
|||||||
return load0(store, act.Head)
|
return load0(store, act.Head)
|
||||||
case builtin2.PaymentChannelActorCodeID:
|
case builtin2.PaymentChannelActorCodeID:
|
||||||
return load2(store, act.Head)
|
return load2(store, act.Head)
|
||||||
|
case builtin3.PaymentChannelActorCodeID:
|
||||||
|
return load3(store, act.Head)
|
||||||
}
|
}
|
||||||
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
||||||
}
|
}
|
||||||
|
@ -42,6 +42,8 @@ func Load(store adt.Store, act *types.Actor) (st State, err error) {
|
|||||||
return load0(store, act.Head)
|
return load0(store, act.Head)
|
||||||
case builtin2.StoragePowerActorCodeID:
|
case builtin2.StoragePowerActorCodeID:
|
||||||
return load2(store, act.Head)
|
return load2(store, act.Head)
|
||||||
|
case builtin3.StoragePowerActorCodeID:
|
||||||
|
return load3(store, act.Head)
|
||||||
}
|
}
|
||||||
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,8 @@ func Load(store adt.Store, act *types.Actor) (st State, err error) {
|
|||||||
return load0(store, act.Head)
|
return load0(store, act.Head)
|
||||||
case builtin2.RewardActorCodeID:
|
case builtin2.RewardActorCodeID:
|
||||||
return load2(store, act.Head)
|
return load2(store, act.Head)
|
||||||
|
case builtin3.RewardActorCodeID:
|
||||||
|
return load3(store, act.Head)
|
||||||
}
|
}
|
||||||
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,8 @@ func Load(store adt.Store, act *types.Actor) (State, error) {
|
|||||||
return load0(store, act.Head)
|
return load0(store, act.Head)
|
||||||
case builtin2.VerifiedRegistryActorCodeID:
|
case builtin2.VerifiedRegistryActorCodeID:
|
||||||
return load2(store, act.Head)
|
return load2(store, act.Head)
|
||||||
|
case builtin3.VerifiedRegistryActorCodeID:
|
||||||
|
return load3(store, act.Head)
|
||||||
}
|
}
|
||||||
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
return nil, xerrors.Errorf("unknown actor code %s", act.Code)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user