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.

45 lines
993 B

  1. // Code generated by mockery v2.3.0. 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. // LoadBlockCommit provides a mock function with given fields: height
  12. func (_m *BlockStore) LoadBlockCommit(height int64) *types.Commit {
  13. ret := _m.Called(height)
  14. var r0 *types.Commit
  15. if rf, ok := ret.Get(0).(func(int64) *types.Commit); ok {
  16. r0 = rf(height)
  17. } else {
  18. if ret.Get(0) != nil {
  19. r0 = ret.Get(0).(*types.Commit)
  20. }
  21. }
  22. return r0
  23. }
  24. // LoadBlockMeta provides a mock function with given fields: height
  25. func (_m *BlockStore) LoadBlockMeta(height int64) *types.BlockMeta {
  26. ret := _m.Called(height)
  27. var r0 *types.BlockMeta
  28. if rf, ok := ret.Get(0).(func(int64) *types.BlockMeta); ok {
  29. r0 = rf(height)
  30. } else {
  31. if ret.Get(0) != nil {
  32. r0 = ret.Get(0).(*types.BlockMeta)
  33. }
  34. }
  35. return r0
  36. }