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.

28 lines
769 B

  1. // Code generated by mockery. DO NOT EDIT.
  2. package mocks
  3. import (
  4. mock "github.com/stretchr/testify/mock"
  5. state "github.com/tendermint/tendermint/state"
  6. )
  7. // ConsSyncReactor is an autogenerated mock type for the ConsSyncReactor type
  8. type ConsSyncReactor struct {
  9. mock.Mock
  10. }
  11. // SetBlockSyncingMetrics provides a mock function with given fields: _a0
  12. func (_m *ConsSyncReactor) SetBlockSyncingMetrics(_a0 float64) {
  13. _m.Called(_a0)
  14. }
  15. // SetStateSyncingMetrics provides a mock function with given fields: _a0
  16. func (_m *ConsSyncReactor) SetStateSyncingMetrics(_a0 float64) {
  17. _m.Called(_a0)
  18. }
  19. // SwitchToConsensus provides a mock function with given fields: _a0, _a1
  20. func (_m *ConsSyncReactor) SwitchToConsensus(_a0 state.State, _a1 bool) {
  21. _m.Called(_a0, _a1)
  22. }