This commit is contained in:
Łukasz Magiera 2020-07-13 13:35:10 +02:00
parent 2e4ed57363
commit a778917806
3 changed files with 7 additions and 7 deletions

View File

@ -162,7 +162,7 @@ type FullNodeStruct struct {
StateVerifiedClientStatus func(context.Context, address.Address, types.TipSetKey) (*verifreg.DataCap, error) `perm:"read"` StateVerifiedClientStatus func(context.Context, address.Address, types.TipSetKey) (*verifreg.DataCap, error) `perm:"read"`
MsigGetAvailableBalance func(context.Context, address.Address, types.TipSetKey) (types.BigInt, error) `perm:"read"` MsigGetAvailableBalance func(context.Context, address.Address, types.TipSetKey) (types.BigInt, error) `perm:"read"`
MsigCreate func(context.Context, uint64, []address.Address, abi.ChainEpoch, types.BigInt, address.Address, types.BigInt) (cid.Cid, error) `perm:"sign"` MsigCreate func(context.Context, uint64, []address.Address, abi.ChainEpoch, types.BigInt, address.Address, types.BigInt) (cid.Cid, error) `perm:"sign"`
MsigPropose func(context.Context, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (cid.Cid, error) `perm:"sign"` MsigPropose func(context.Context, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (cid.Cid, error) `perm:"sign"`
MsigApprove func(context.Context, address.Address, uint64, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (cid.Cid, error) `perm:"sign"` MsigApprove func(context.Context, address.Address, uint64, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (cid.Cid, error) `perm:"sign"`
MsigCancel func(context.Context, address.Address, uint64, address.Address, types.BigInt, address.Address, uint64, []byte) (cid.Cid, error) `perm:"sign"` MsigCancel func(context.Context, address.Address, uint64, address.Address, types.BigInt, address.Address, uint64, []byte) (cid.Cid, error) `perm:"sign"`

View File

@ -23,11 +23,11 @@ func SetupStoragePowerActor(bs bstore.Blockstore) (*types.Actor, error) {
} }
sms := &power.State{ sms := &power.State{
TotalRawBytePower: big.NewInt(0), TotalRawBytePower: big.NewInt(0),
TotalBytesCommitted: big.NewInt(0), TotalBytesCommitted: big.NewInt(0),
TotalQualityAdjPower: big.NewInt(0), TotalQualityAdjPower: big.NewInt(0),
TotalQABytesCommitted: big.NewInt(0), TotalQABytesCommitted: big.NewInt(0),
TotalPledgeCollateral: big.NewInt(0), TotalPledgeCollateral: big.NewInt(0),
MinerCount: 0, MinerCount: 0,
MinerAboveMinPowerCount: 0, MinerAboveMinPowerCount: 0,
CronEventQueue: emptyhamt, CronEventQueue: emptyhamt,