Update specs-actors to v0.7.0; More correct genesis sector import

This commit is contained in:
Łukasz Magiera
2020-06-26 15:08:12 +02:00
parent 8f585713fa
commit a6d1323eba
9 changed files with 187 additions and 88 deletions
+1 -1
View File
@@ -753,7 +753,7 @@ func (a *StateAPI) StateMinerInitialPledgeCollateral(ctx context.Context, maddr
return types.EmptyInt, err
}
params, err := actors.SerializeParams(&power.OnSectorProveCommitParams{
params, err := actors.SerializeParams(&power.Sea{
Weight: power.SectorStorageWeightDesc{
SectorSize: ssize,
Duration: precommit.Info.Expiration - ts.Height(), // NB: not exactly accurate, but should always lead us to *over* estimate, not under