diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index 63b64cd987bb..698ed874617f 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -680,6 +680,7 @@ func (app *BaseApp) getContextForTx(mode execMode, txBytes []byte) sdk.Context { if mode == execModeSimulate { ctx, _ = ctx.CacheContext() + ctx = ctx.WithExecMode(sdk.ExecMode(execModeSimulate)) } return ctx