Documentation ¶
Index ¶
- type AttestTask
- type Attestator
- func (_m *Attestator) ConsensusQueue() types.ConsensusQueueType
- func (_m *Attestator) ProcessAllEvidence(ctx context.Context, task types.AttestTask, evidence []types.Evidence) (types.AttestResult, error)
- func (_m *Attestator) Type() interface{}
- func (_m *Attestator) ValidateEvidence(ctx context.Context, task types.AttestTask, evidence types.Evidence) error
- type QueuedSignedMessageI
- func (_m *QueuedSignedMessageI) AddSignData(_a0 *types.SignData)
- func (_m *QueuedSignedMessageI) GetId() uint64
- func (_m *QueuedSignedMessageI) GetMsg() *codectypes.Any
- func (_m *QueuedSignedMessageI) GetSignData() []*types.SignData
- func (_m *QueuedSignedMessageI) Nonce() []byte
- func (_m *QueuedSignedMessageI) ProtoMessage()
- func (_m *QueuedSignedMessageI) Reset()
- func (_m *QueuedSignedMessageI) SdkMsg() (cosmos_sdktypes.Msg, error)
- func (_m *QueuedSignedMessageI) String() string
- type ValsetKeeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttestTask ¶
AttestTask is an autogenerated mock type for the AttestTask type
func NewAttestTask ¶
func NewAttestTask(t testing.TB) *AttestTask
NewAttestTask creates a new instance of AttestTask. It also registers a cleanup function to assert the mocks expectations.
func (*AttestTask) Attest ¶
func (_m *AttestTask) Attest()
Attest provides a mock function with given fields:
type Attestator ¶
Attestator is an autogenerated mock type for the Attestator type
func NewAttestator ¶
func NewAttestator(t testing.TB) *Attestator
NewAttestator creates a new instance of Attestator. It also registers a cleanup function to assert the mocks expectations.
func (*Attestator) ConsensusQueue ¶
func (_m *Attestator) ConsensusQueue() types.ConsensusQueueType
ConsensusQueue provides a mock function with given fields:
func (*Attestator) ProcessAllEvidence ¶
func (_m *Attestator) ProcessAllEvidence(ctx context.Context, task types.AttestTask, evidence []types.Evidence) (types.AttestResult, error)
ProcessAllEvidence provides a mock function with given fields: ctx, task, evidence
func (*Attestator) Type ¶
func (_m *Attestator) Type() interface{}
Type provides a mock function with given fields:
func (*Attestator) ValidateEvidence ¶
func (_m *Attestator) ValidateEvidence(ctx context.Context, task types.AttestTask, evidence types.Evidence) error
ValidateEvidence provides a mock function with given fields: ctx, task, evidence
type QueuedSignedMessageI ¶
QueuedSignedMessageI is an autogenerated mock type for the QueuedSignedMessageI type
func NewQueuedSignedMessageI ¶
func NewQueuedSignedMessageI(t testing.TB) *QueuedSignedMessageI
NewQueuedSignedMessageI creates a new instance of QueuedSignedMessageI. It also registers a cleanup function to assert the mocks expectations.
func (*QueuedSignedMessageI) AddSignData ¶
func (_m *QueuedSignedMessageI) AddSignData(_a0 *types.SignData)
AddSignData provides a mock function with given fields: _a0
func (*QueuedSignedMessageI) GetId ¶
func (_m *QueuedSignedMessageI) GetId() uint64
GetId provides a mock function with given fields:
func (*QueuedSignedMessageI) GetMsg ¶ added in v1.9.1
func (_m *QueuedSignedMessageI) GetMsg() *codectypes.Any
GetMsg provides a mock function with given fields:
func (*QueuedSignedMessageI) GetSignData ¶
func (_m *QueuedSignedMessageI) GetSignData() []*types.SignData
GetSignData provides a mock function with given fields:
func (*QueuedSignedMessageI) Nonce ¶
func (_m *QueuedSignedMessageI) Nonce() []byte
Nonce provides a mock function with given fields:
func (*QueuedSignedMessageI) ProtoMessage ¶
func (_m *QueuedSignedMessageI) ProtoMessage()
ProtoMessage provides a mock function with given fields:
func (*QueuedSignedMessageI) Reset ¶
func (_m *QueuedSignedMessageI) Reset()
Reset provides a mock function with given fields:
func (*QueuedSignedMessageI) SdkMsg ¶
func (_m *QueuedSignedMessageI) SdkMsg() (cosmos_sdktypes.Msg, error)
SdkMsg provides a mock function with given fields:
func (*QueuedSignedMessageI) String ¶
func (_m *QueuedSignedMessageI) String() string
String provides a mock function with given fields:
type ValsetKeeper ¶
ValsetKeeper is an autogenerated mock type for the ValsetKeeper type
func NewValsetKeeper ¶
func NewValsetKeeper(t testing.TB) *ValsetKeeper
NewValsetKeeper creates a new instance of ValsetKeeper. It also registers a cleanup function to assert the mocks expectations.
func (*ValsetKeeper) GetCurrentSnapshot ¶
func (_m *ValsetKeeper) GetCurrentSnapshot(ctx types.Context) (*valsettypes.Snapshot, error)
GetCurrentSnapshot provides a mock function with given fields: ctx
func (*ValsetKeeper) GetSigningKey ¶
func (_m *ValsetKeeper) GetSigningKey(ctx types.Context, valAddr types.ValAddress) crypto.PubKey
GetSigningKey provides a mock function with given fields: ctx, valAddr