Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVStoreWrapper ¶
KVStoreWrapper is an autogenerated mock type for the KVStoreWrapper type
func NewKVStoreWrapper ¶
func NewKVStoreWrapper[T proto.Message](t interface { mock.TestingT Cleanup(func()) }, ) *KVStoreWrapper[T]
NewKVStoreWrapper creates a new instance of KVStoreWrapper. 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.
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 ¶
StoreGetter is an autogenerated mock type for the StoreGetter type
func NewStoreGetter ¶
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 ¶
func (_m *StoreGetter) Store(ctx types.Context) storetypes.KVStore
Store provides a mock function with given fields: ctx