You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
637 B

  1. // Code generated by mockery v2.2.1. DO NOT EDIT.
  2. package mocks
  3. import (
  4. mock "github.com/stretchr/testify/mock"
  5. types "github.com/tendermint/tendermint/types"
  6. )
  7. // BlockStore is an autogenerated mock type for the BlockStore type
  8. type BlockStore struct {
  9. mock.Mock
  10. }
  11. // LoadBlockMeta provides a mock function with given fields: height
  12. func (_m *BlockStore) LoadBlockMeta(height int64) *types.BlockMeta {
  13. ret := _m.Called(height)
  14. var r0 *types.BlockMeta
  15. if rf, ok := ret.Get(0).(func(int64) *types.BlockMeta); ok {
  16. r0 = rf(height)
  17. } else {
  18. if ret.Get(0) != nil {
  19. r0 = ret.Get(0).(*types.BlockMeta)
  20. }
  21. }
  22. return r0
  23. }