From 94ac89085914efe5a8c5822c30d2e475c0d5c84a Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Thu, 3 Nov 2016 19:51:22 -0400 Subject: [PATCH] send BeginBlock --- state/execution.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/state/execution.go b/state/execution.go index 088c693e2..3c2cb90c8 100644 --- a/state/execution.go +++ b/state/execution.go @@ -89,7 +89,12 @@ func (s *State) execBlockOnProxyApp(eventCache types.Fireable, proxyAppConn prox } proxyAppConn.SetResponseCallback(proxyCb) - // TODO: BeginBlock + // Begin block + err := proxyAppConn.BeginBlockSync(uint64(block.Height)) + if err != nil { + log.Warn("Error in proxyAppConn.BeginBlock", "error", err) + return err + } // Run txs of block for _, tx := range block.Txs {