mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 02:31:46 +00:00
committed by
Alexander Simmerl
parent
989a2f32b1
commit
724e264ff5
@ -1,6 +1,7 @@
|
||||
package evidence
|
||||
|
||||
import (
|
||||
"os"
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
@ -14,6 +15,13 @@ import (
|
||||
|
||||
var mockState = sm.State{}
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
types.RegisterMockEvidences(cdc)
|
||||
|
||||
code := m.Run()
|
||||
os.Exit(code)
|
||||
}
|
||||
|
||||
func initializeValidatorState(valAddr []byte, height int64) dbm.DB {
|
||||
stateDB := dbm.NewMemDB()
|
||||
|
||||
|
Reference in New Issue
Block a user