Documentation
¶
Index ¶
- type ObserverAuthorityKeeper
- type ObserverLightclientKeeper
- type ObserverSlashingKeeper
- type ObserverStakingKeeper
- func (_m *ObserverStakingKeeper) GetDelegation(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress) (stakingtypes.Delegation, bool)
- func (_m *ObserverStakingKeeper) GetValidator(ctx types.Context, addr types.ValAddress) (stakingtypes.Validator, bool)
- func (_m *ObserverStakingKeeper) SetValidator(ctx types.Context, validator stakingtypes.Validator)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObserverAuthorityKeeper ¶
ObserverAuthorityKeeper is an autogenerated mock type for the ObserverAuthorityKeeper type
func NewObserverAuthorityKeeper ¶
func NewObserverAuthorityKeeper(t interface { mock.TestingT Cleanup(func()) }) *ObserverAuthorityKeeper
NewObserverAuthorityKeeper creates a new instance of ObserverAuthorityKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ObserverAuthorityKeeper) CheckAuthorization ¶
CheckAuthorization provides a mock function with given fields: ctx, msg
func (*ObserverAuthorityKeeper) GetAdditionalChainList ¶
func (_m *ObserverAuthorityKeeper) GetAdditionalChainList(ctx types.Context) []chains.Chain
GetAdditionalChainList provides a mock function with given fields: ctx
func (*ObserverAuthorityKeeper) SetPolicies ¶
func (_m *ObserverAuthorityKeeper) SetPolicies(ctx types.Context, policies authoritytypes.Policies)
SetPolicies provides a mock function with given fields: ctx, policies
type ObserverLightclientKeeper ¶
ObserverLightclientKeeper is an autogenerated mock type for the ObserverLightclientKeeper type
func NewObserverLightclientKeeper ¶
func NewObserverLightclientKeeper(t interface { mock.TestingT Cleanup(func()) }) *ObserverLightclientKeeper
NewObserverLightclientKeeper creates a new instance of ObserverLightclientKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ObserverLightclientKeeper) AddBlockHeader ¶
func (_m *ObserverLightclientKeeper) AddBlockHeader(ctx types.Context, chainID int64, height int64, blockHash []byte, header proofs.HeaderData, parentHash []byte)
AddBlockHeader provides a mock function with given fields: ctx, chainID, height, blockHash, header, parentHash
func (*ObserverLightclientKeeper) CheckNewBlockHeader ¶
func (_m *ObserverLightclientKeeper) CheckNewBlockHeader(ctx types.Context, chainID int64, blockHash []byte, height int64, header proofs.HeaderData) ([]byte, error)
CheckNewBlockHeader provides a mock function with given fields: ctx, chainID, blockHash, height, header
type ObserverSlashingKeeper ¶
ObserverSlashingKeeper is an autogenerated mock type for the ObserverSlashingKeeper type
func NewObserverSlashingKeeper ¶
func NewObserverSlashingKeeper(t interface { mock.TestingT Cleanup(func()) }) *ObserverSlashingKeeper
NewObserverSlashingKeeper creates a new instance of ObserverSlashingKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ObserverSlashingKeeper) IsTombstoned ¶
func (_m *ObserverSlashingKeeper) IsTombstoned(ctx types.Context, addr types.ConsAddress) bool
IsTombstoned provides a mock function with given fields: ctx, addr
func (*ObserverSlashingKeeper) SetValidatorSigningInfo ¶
func (_m *ObserverSlashingKeeper) SetValidatorSigningInfo(ctx types.Context, address types.ConsAddress, info slashingtypes.ValidatorSigningInfo)
SetValidatorSigningInfo provides a mock function with given fields: ctx, address, info
type ObserverStakingKeeper ¶
ObserverStakingKeeper is an autogenerated mock type for the ObserverStakingKeeper type
func NewObserverStakingKeeper ¶
func NewObserverStakingKeeper(t interface { mock.TestingT Cleanup(func()) }) *ObserverStakingKeeper
NewObserverStakingKeeper creates a new instance of ObserverStakingKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ObserverStakingKeeper) GetDelegation ¶
func (_m *ObserverStakingKeeper) GetDelegation(ctx types.Context, delAddr types.AccAddress, valAddr types.ValAddress) (stakingtypes.Delegation, bool)
GetDelegation provides a mock function with given fields: ctx, delAddr, valAddr
func (*ObserverStakingKeeper) GetValidator ¶
func (_m *ObserverStakingKeeper) GetValidator(ctx types.Context, addr types.ValAddress) (stakingtypes.Validator, bool)
GetValidator provides a mock function with given fields: ctx, addr
func (*ObserverStakingKeeper) SetValidator ¶
func (_m *ObserverStakingKeeper) SetValidator(ctx types.Context, validator stakingtypes.Validator)
SetValidator provides a mock function with given fields: ctx, validator