fix(OE): Remove usage of pointer in logs (#19198)
This commit is contained in:
parent
365528f872
commit
12aaa89363
@ -80,6 +80,7 @@ Every Module contains its own CHANGELOG.md. Please refer to the module you are i
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* (baseapp) [#19198](https://github.com/cosmos/cosmos-sdk/pull/19198) Remove usage of pointers in logs in all OE goroutines.
|
||||
* (baseapp) [#19058](https://github.com/cosmos/cosmos-sdk/pull/19058) Fix baseapp posthandler branch would fail if the `runMsgs` had returned an error.
|
||||
* (baseapp) [#18609](https://github.com/cosmos/cosmos-sdk/issues/18609) Fixed accounting in the block gas meter after BeginBlock and before DeliverTx, ensuring transaction processing always starts with the expected zeroed out block gas meter.
|
||||
* (baseapp) [#18727](https://github.com/cosmos/cosmos-sdk/pull/18727) Ensure that `BaseApp.Init` firstly returns any errors from a nil commit multistore instead of panicking on nil dereferencing and before sealing the app.
|
||||
|
||||
@ -106,10 +106,13 @@ func (oe *OptimisticExecution) Execute(req *abci.RequestProcessProposal) {
|
||||
go func() {
|
||||
start := time.Now()
|
||||
resp, err := oe.finalizeBlockFunc(ctx, oe.request)
|
||||
|
||||
oe.mtx.Lock()
|
||||
|
||||
executionTime := time.Since(start)
|
||||
oe.logger.Debug("OE finished", "duration", executionTime.String(), "height", req.Height, "hash", hex.EncodeToString(req.Hash))
|
||||
oe.logger.Debug("OE finished", "duration", executionTime.String(), "height", oe.request.Height, "hash", hex.EncodeToString(oe.request.Hash))
|
||||
oe.response, oe.err = resp, err
|
||||
|
||||
close(oe.stopCh)
|
||||
oe.mtx.Unlock()
|
||||
}()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user