Reward state interface only needs cbor.Marshaler
This commit is contained in:
parent
ed4bf9b8fe
commit
e27fc03f55
@ -29,7 +29,7 @@ func Load(store adt.Store, act *types.Actor) (st State, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type State interface {
|
type State interface {
|
||||||
cbor.Er
|
cbor.Marshaler
|
||||||
|
|
||||||
ThisEpochBaselinePower() (abi.StoragePower, error)
|
ThisEpochBaselinePower() (abi.StoragePower, error)
|
||||||
ThisEpochReward() (abi.StoragePower, error)
|
ThisEpochReward() (abi.StoragePower, error)
|
||||||
|
Loading…
Reference in New Issue
Block a user