Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Index ¶
- type MockBatchingKeeper
- func (m *MockBatchingKeeper) EXPECT() *MockBatchingKeeperMockRecorder
- func (m *MockBatchingKeeper) GetBatchForHeight(ctx context.Context, height int64) (types1.Batch, error)
- func (m *MockBatchingKeeper) GetValidatorTreeEntry(ctx context.Context, batchNum uint64, valAddr types.ValAddress) (types1.ValidatorTreeEntry, error)
- func (m *MockBatchingKeeper) SetBatchSigSecp256k1(ctx context.Context, batchNum uint64, valAddr types.ValAddress, ...) error
- type MockBatchingKeeperMockRecorder
- func (mr *MockBatchingKeeperMockRecorder) GetBatchForHeight(ctx, height any) *gomock.Call
- func (mr *MockBatchingKeeperMockRecorder) GetValidatorTreeEntry(ctx, batchNum, valAddr any) *gomock.Call
- func (mr *MockBatchingKeeperMockRecorder) SetBatchSigSecp256k1(ctx, batchNum, valAddr, signature any) *gomock.Call
- type MockPubKeyKeeper
- func (m *MockPubKeyKeeper) EXPECT() *MockPubKeyKeeperMockRecorder
- func (m *MockPubKeyKeeper) GetValidatorKeyAtIndex(ctx context.Context, validatorAddr types.ValAddress, index utils.SEDAKeyIndex) ([]byte, error)
- func (m *MockPubKeyKeeper) GetValidatorKeys(ctx context.Context, validatorAddr string) (types2.ValidatorPubKeys, error)
- type MockPubKeyKeeperMockRecorder
- type MockSEDASigner
- type MockSEDASignerMockRecorder
- type MockStakingKeeper
- func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
- func (m *MockStakingKeeper) GetPubKeyByConsAddr(arg0 context.Context, arg1 types.ConsAddress) (crypto.PublicKey, error)
- func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types.ValAddress) (types0.Validator, error)
- func (m *MockStakingKeeper) GetValidatorByConsAddr(ctx context.Context, consAddr types.ConsAddress) (types0.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) (types1.Batch, error)
GetBatchForHeight mocks base method.
func (*MockBatchingKeeper) GetValidatorTreeEntry ¶
func (m *MockBatchingKeeper) GetValidatorTreeEntry(ctx context.Context, batchNum uint64, valAddr types.ValAddress) (types1.ValidatorTreeEntry, error)
GetValidatorTreeEntry mocks base method.
func (*MockBatchingKeeper) SetBatchSigSecp256k1 ¶
func (m *MockBatchingKeeper) SetBatchSigSecp256k1(ctx context.Context, batchNum uint64, valAddr types.ValAddress, signature []byte) error
SetBatchSigSecp256k1 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) GetValidatorTreeEntry ¶
func (mr *MockBatchingKeeperMockRecorder) GetValidatorTreeEntry(ctx, batchNum, valAddr any) *gomock.Call
GetValidatorTreeEntry indicates an expected call of GetValidatorTreeEntry.
func (*MockBatchingKeeperMockRecorder) SetBatchSigSecp256k1 ¶
func (mr *MockBatchingKeeperMockRecorder) SetBatchSigSecp256k1(ctx, batchNum, valAddr, signature any) *gomock.Call
SetBatchSigSecp256k1 indicates an expected call of SetBatchSigSecp256k1.
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, validatorAddr types.ValAddress, index utils.SEDAKeyIndex) ([]byte, error)
GetValidatorKeyAtIndex mocks base method.
func (*MockPubKeyKeeper) GetValidatorKeys ¶
func (m *MockPubKeyKeeper) GetValidatorKeys(ctx context.Context, validatorAddr string) (types2.ValidatorPubKeys, error)
GetValidatorKeys 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, validatorAddr, index any) *gomock.Call
GetValidatorKeyAtIndex indicates an expected call of GetValidatorKeyAtIndex.
func (*MockPubKeyKeeperMockRecorder) GetValidatorKeys ¶
func (mr *MockPubKeyKeeperMockRecorder) GetValidatorKeys(ctx, validatorAddr any) *gomock.Call
GetValidatorKeys indicates an expected call of GetValidatorKeys.
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 types.ConsAddress) (crypto.PublicKey, error)
GetPubKeyByConsAddr mocks base method.
func (*MockStakingKeeper) GetValidator ¶
func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types.ValAddress) (types0.Validator, error)
GetValidator mocks base method.
func (*MockStakingKeeper) GetValidatorByConsAddr ¶
func (m *MockStakingKeeper) GetValidatorByConsAddr(ctx context.Context, consAddr types.ConsAddress) (types0.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) GetValidator ¶
func (mr *MockStakingKeeperMockRecorder) GetValidator(ctx, addr any) *gomock.Call
GetValidator indicates an expected call of GetValidator.
func (*MockStakingKeeperMockRecorder) GetValidatorByConsAddr ¶
func (mr *MockStakingKeeperMockRecorder) GetValidatorByConsAddr(ctx, consAddr any) *gomock.Call
GetValidatorByConsAddr indicates an expected call of GetValidatorByConsAddr.