Add app_state from genesis file in InitChain message

This commit is contained in:
Ethan Frey
2018-02-21 19:36:57 +01:00
committed by Ethan Buchman
parent 59872bf335
commit fff0c6cd8e
5 changed files with 29 additions and 10 deletions

View File

@ -362,7 +362,7 @@ func testHandshakeReplay(t *testing.T, nBlocks int, mode uint) {
}
// now start the app using the handshake - it should sync
handshaker := NewHandshaker(stateDB, state, store)
handshaker := NewHandshaker(stateDB, state, store, nil)
proxyApp := proxy.NewAppConns(clientCreator2, handshaker)
if err := proxyApp.Start(); err != nil {
t.Fatalf("Error starting proxy app connections: %v", err)