Add compile-time checks that actors interfaces are correctly implemented
This commit is contained in:
parent
a95e34f742
commit
b355eb75eb
@ -6,6 +6,8 @@ import (
|
|||||||
"github.com/filecoin-project/specs-actors/actors/builtin/account"
|
"github.com/filecoin-project/specs-actors/actors/builtin/account"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
account.State
|
account.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -13,6 +13,8 @@ import (
|
|||||||
adt0 "github.com/filecoin-project/specs-actors/actors/util/adt"
|
adt0 "github.com/filecoin-project/specs-actors/actors/util/adt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
init_.State
|
init_.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -12,6 +12,8 @@ import (
|
|||||||
cbg "github.com/whyrusleeping/cbor-gen"
|
cbg "github.com/whyrusleeping/cbor-gen"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
market.State
|
market.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -17,6 +17,8 @@ import (
|
|||||||
miner0 "github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
miner0 "github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
miner0.State
|
miner0.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -6,6 +6,8 @@ import (
|
|||||||
"github.com/filecoin-project/specs-actors/actors/builtin/multisig"
|
"github.com/filecoin-project/specs-actors/actors/builtin/multisig"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
multisig.State
|
multisig.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -9,6 +9,8 @@ import (
|
|||||||
adt0 "github.com/filecoin-project/specs-actors/actors/util/adt"
|
adt0 "github.com/filecoin-project/specs-actors/actors/util/adt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
paych.State
|
paych.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -8,6 +8,8 @@ import (
|
|||||||
"github.com/filecoin-project/specs-actors/actors/util/adt"
|
"github.com/filecoin-project/specs-actors/actors/util/adt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
power0.State
|
power0.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -9,6 +9,8 @@ import (
|
|||||||
"github.com/filecoin-project/specs-actors/actors/util/smoothing"
|
"github.com/filecoin-project/specs-actors/actors/util/smoothing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
reward.State
|
reward.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
@ -11,6 +11,8 @@ import (
|
|||||||
"github.com/filecoin-project/lotus/chain/actors/adt"
|
"github.com/filecoin-project/lotus/chain/actors/adt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ State = (*state0)(nil)
|
||||||
|
|
||||||
type state0 struct {
|
type state0 struct {
|
||||||
verifreg0.State
|
verifreg0.State
|
||||||
store adt.Store
|
store adt.Store
|
||||||
|
Loading…
Reference in New Issue
Block a user