Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeeperUtilI ¶
type KeeperUtilI[T codec.ProtoMarshaler] struct { mock.Mock }
KeeperUtilI is an autogenerated mock type for the KeeperUtilI type
func NewKeeperUtilI ¶
func NewKeeperUtilI[T codec.ProtoMarshaler](t mockConstructorTestingTNewKeeperUtilI) *KeeperUtilI[T]
NewKeeperUtilI creates a new instance of KeeperUtilI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*KeeperUtilI[T]) Load ¶
func (_m *KeeperUtilI[T]) Load(store types.KVStore, pu keeper.ProtoUnmarshaler, key []byte) (T, error)
Load provides a mock function with given fields: store, pu, key
func (*KeeperUtilI[T]) Save ¶
func (_m *KeeperUtilI[T]) Save(store types.KVStore, pm keeper.ProtoMarshaler, key []byte, val codec.ProtoMarshaler) error
Save provides a mock function with given fields: store, pm, key, val
type StoreGetter ¶ added in v1.8.0
StoreGetter is an autogenerated mock type for the StoreGetter type
func NewStoreGetter ¶ added in v1.8.0
func NewStoreGetter(t mockConstructorTestingTNewStoreGetter) *StoreGetter
NewStoreGetter creates a new instance of StoreGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StoreGetter) Store ¶ added in v1.8.0
func (_m *StoreGetter) Store(ctx types.Context) storetypes.KVStore
Store provides a mock function with given fields: ctx