diff --git a/cosmos/runtime/miner/abci.go b/cosmos/runtime/miner/abci.go index 9b9dbf94f..4a6eb6b82 100644 --- a/cosmos/runtime/miner/abci.go +++ b/cosmos/runtime/miner/abci.go @@ -47,7 +47,14 @@ func (m *Miner) PrepareProposal( // We have to run the PreBlocker && BeginBlocker to get the chain into the state // it'll be in when the EVM transaction actually runs. - if _, err = m.app.PreBlocker(ctx, nil); err != nil { + if _, err = m.app.PreBlocker(ctx, &abci.RequestFinalizeBlock{ + Txs: req.Txs, + Time: req.Time, + Misbehavior: req.Misbehavior, + Height: req.Height, + NextValidatorsHash: req.NextValidatorsHash, + ProposerAddress: req.ProposerAddress, + }); err != nil { return nil, err } else if _, err = m.app.BeginBlocker(ctx); err != nil { return nil, err