mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-10 22:10:11 +00:00
This change aims to keep versions of mockery consistent across developer laptops. This change adds mockery to the `tools.go` file so that its version can be managed consistently in the `go.mod` file. Additionally, this change temporarily disables adding mockery's version number to generated files. There is an outstanding issue against the mockery project related to the version string behavior when running from `go get`. I have created a pull request to fix this issue in the mockery project. see: https://github.com/vektra/mockery/issues/397
29 lines
769 B
Go
29 lines
769 B
Go
// Code generated by mockery. DO NOT EDIT.
|
|
|
|
package mocks
|
|
|
|
import (
|
|
mock "github.com/stretchr/testify/mock"
|
|
state "github.com/tendermint/tendermint/state"
|
|
)
|
|
|
|
// ConsSyncReactor is an autogenerated mock type for the ConsSyncReactor type
|
|
type ConsSyncReactor struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// SetBlockSyncingMetrics provides a mock function with given fields: _a0
|
|
func (_m *ConsSyncReactor) SetBlockSyncingMetrics(_a0 float64) {
|
|
_m.Called(_a0)
|
|
}
|
|
|
|
// SetStateSyncingMetrics provides a mock function with given fields: _a0
|
|
func (_m *ConsSyncReactor) SetStateSyncingMetrics(_a0 float64) {
|
|
_m.Called(_a0)
|
|
}
|
|
|
|
// SwitchToConsensus provides a mock function with given fields: _a0, _a1
|
|
func (_m *ConsSyncReactor) SwitchToConsensus(_a0 state.State, _a1 bool) {
|
|
_m.Called(_a0, _a1)
|
|
}
|