Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutableState ¶ added in v0.14.0
MutableState is an autogenerated mock type for the MutableState type
func NewMutableState ¶ added in v0.26.1
func NewMutableState(t mockConstructorTestingTNewMutableState) *MutableState
NewMutableState creates a new instance of MutableState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MutableState) AtBlockID ¶ added in v0.14.0
func (_m *MutableState) AtBlockID(blockID flow.Identifier) cluster.Snapshot
AtBlockID provides a mock function with given fields: blockID
func (*MutableState) Extend ¶ added in v0.14.0
func (_m *MutableState) Extend(candidate *modelcluster.Block) error
Extend provides a mock function with given fields: candidate
func (*MutableState) Final ¶ added in v0.14.0
func (_m *MutableState) Final() cluster.Snapshot
Final provides a mock function with given fields:
func (*MutableState) Params ¶ added in v0.14.0
func (_m *MutableState) Params() cluster.Params
Params provides a mock function with given fields:
type Params ¶ added in v0.9.6
Params is an autogenerated mock type for the Params type
type Snapshot ¶
Snapshot is an autogenerated mock type for the Snapshot type
func NewSnapshot ¶ added in v0.26.1
func NewSnapshot(t mockConstructorTestingTNewSnapshot) *Snapshot
NewSnapshot creates a new instance of Snapshot. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Snapshot) Collection ¶
func (_m *Snapshot) Collection() (*flow.Collection, error)
Collection provides a mock function with given fields:
type State ¶
State is an autogenerated mock type for the State type
func NewState ¶ added in v0.26.1
func NewState(t mockConstructorTestingTNewState) *State
NewState creates a new instance of State. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*State) AtBlockID ¶
func (_m *State) AtBlockID(blockID flow.Identifier) cluster.Snapshot
AtBlockID provides a mock function with given fields: blockID