Documentation
¶
Overview ¶
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Index ¶
- type MockBatchingKeeper
- type MockBatchingKeeperMockRecorder
- type MockPubKeyKeeper
- type MockPubKeyKeeperMockRecorder
- type MockSEDASigner
- type MockSEDASignerMockRecorder
- type MockStakingKeeper
- func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
- func (m *MockStakingKeeper) GetPubKeyByConsAddr(arg0 context.Context, arg1 types0.ConsAddress) (crypto.PublicKey, error)
- func (m *MockStakingKeeper) GetValidatorByConsAddr(ctx context.Context, consAddr types0.ConsAddress) (types1.Validator, error)
- type MockStakingKeeperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBatchingKeeper ¶
type MockBatchingKeeper struct {
// contains filtered or unexported fields
}
MockBatchingKeeper is a mock of BatchingKeeper interface.
func NewMockBatchingKeeper ¶
func NewMockBatchingKeeper(ctrl *gomock.Controller) *MockBatchingKeeper
NewMockBatchingKeeper creates a new mock instance.
func (*MockBatchingKeeper) EXPECT ¶
func (m *MockBatchingKeeper) EXPECT() *MockBatchingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBatchingKeeper) GetBatchForHeight ¶
func (m *MockBatchingKeeper) GetBatchForHeight(ctx context.Context, height int64) (types2.Batch, error)
GetBatchForHeight mocks base method.
func (*MockBatchingKeeper) SetBatchSignatures ¶
func (m *MockBatchingKeeper) SetBatchSignatures(ctx context.Context, batchNum uint64, sigs types2.BatchSignatures) error
SetBatchSignatures mocks base method.
type MockBatchingKeeperMockRecorder ¶
type MockBatchingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBatchingKeeperMockRecorder is the mock recorder for MockBatchingKeeper.
func (*MockBatchingKeeperMockRecorder) GetBatchForHeight ¶
func (mr *MockBatchingKeeperMockRecorder) GetBatchForHeight(ctx, height any) *gomock.Call
GetBatchForHeight indicates an expected call of GetBatchForHeight.
func (*MockBatchingKeeperMockRecorder) SetBatchSignatures ¶
func (mr *MockBatchingKeeperMockRecorder) SetBatchSignatures(ctx, batchNum, sigs any) *gomock.Call
SetBatchSignatures indicates an expected call of SetBatchSignatures.
type MockPubKeyKeeper ¶
type MockPubKeyKeeper struct {
// contains filtered or unexported fields
}
MockPubKeyKeeper is a mock of PubKeyKeeper interface.
func NewMockPubKeyKeeper ¶
func NewMockPubKeyKeeper(ctrl *gomock.Controller) *MockPubKeyKeeper
NewMockPubKeyKeeper creates a new mock instance.
func (*MockPubKeyKeeper) EXPECT ¶
func (m *MockPubKeyKeeper) EXPECT() *MockPubKeyKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPubKeyKeeper) GetValidatorKeyAtIndex ¶
func (m *MockPubKeyKeeper) GetValidatorKeyAtIndex(ctx context.Context, valAddr types0.ValAddress, index utils.SEDAKeyIndex) (types.PubKey, error)
GetValidatorKeyAtIndex mocks base method.
type MockPubKeyKeeperMockRecorder ¶
type MockPubKeyKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockPubKeyKeeperMockRecorder is the mock recorder for MockPubKeyKeeper.
func (*MockPubKeyKeeperMockRecorder) GetValidatorKeyAtIndex ¶
func (mr *MockPubKeyKeeperMockRecorder) GetValidatorKeyAtIndex(ctx, valAddr, index any) *gomock.Call
GetValidatorKeyAtIndex indicates an expected call of GetValidatorKeyAtIndex.
type MockSEDASigner ¶
type MockSEDASigner struct {
// contains filtered or unexported fields
}
MockSEDASigner is a mock of SEDASigner interface.
func NewMockSEDASigner ¶
func NewMockSEDASigner(ctrl *gomock.Controller) *MockSEDASigner
NewMockSEDASigner creates a new mock instance.
func (*MockSEDASigner) EXPECT ¶
func (m *MockSEDASigner) EXPECT() *MockSEDASignerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSEDASigner) Sign ¶
func (m *MockSEDASigner) Sign(input []byte, index utils.SEDAKeyIndex) ([]byte, error)
Sign mocks base method.
type MockSEDASignerMockRecorder ¶
type MockSEDASignerMockRecorder struct {
// contains filtered or unexported fields
}
MockSEDASignerMockRecorder is the mock recorder for MockSEDASigner.
type MockStakingKeeper ¶
type MockStakingKeeper struct {
// contains filtered or unexported fields
}
MockStakingKeeper is a mock of StakingKeeper interface.
func NewMockStakingKeeper ¶
func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper
NewMockStakingKeeper creates a new mock instance.
func (*MockStakingKeeper) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingKeeper) GetPubKeyByConsAddr ¶
func (m *MockStakingKeeper) GetPubKeyByConsAddr(arg0 context.Context, arg1 types0.ConsAddress) (crypto.PublicKey, error)
GetPubKeyByConsAddr mocks base method.
func (*MockStakingKeeper) GetValidatorByConsAddr ¶
func (m *MockStakingKeeper) GetValidatorByConsAddr(ctx context.Context, consAddr types0.ConsAddress) (types1.Validator, error)
GetValidatorByConsAddr mocks base method.
type MockStakingKeeperMockRecorder ¶
type MockStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.
func (*MockStakingKeeperMockRecorder) GetPubKeyByConsAddr ¶
func (mr *MockStakingKeeperMockRecorder) GetPubKeyByConsAddr(arg0, arg1 any) *gomock.Call
GetPubKeyByConsAddr indicates an expected call of GetPubKeyByConsAddr.
func (*MockStakingKeeperMockRecorder) GetValidatorByConsAddr ¶
func (mr *MockStakingKeeperMockRecorder) GetValidatorByConsAddr(ctx, consAddr any) *gomock.Call
GetValidatorByConsAddr indicates an expected call of GetValidatorByConsAddr.