Skip to content

Commit

Permalink
Merge pull request #612 from bnb-chain/develop
Browse files Browse the repository at this point in the history
sync: sync develop to master
  • Loading branch information
alexgao001 authored Apr 25, 2024
2 parents 964001c + 4354d2e commit 41eda3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/storage/keeper/cross_app_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ func (app *ExecutorApp) ExecuteSynPackage(ctx sdk.Context, appCtx *sdk.CrossChai
if err != nil {
app.sKeeper.Logger(ctx).Error("deserialize executor msg error", "msg bytes", hex.EncodeToString(msgBz), "error", err.Error())
return sdk.ExecuteResult{
Err: fmt.Errorf("deserialize executor msg error: %v", err),
Err: fmt.Errorf("deserialize executor msg error: %v, msg index: %d", err, i),
}
}

err = app.msgHandler(ctx, msg)
if err != nil {
app.sKeeper.Logger(ctx).Error("execute executor msg error", "index", i, "data", msgBz, "error", err.Error())
return sdk.ExecuteResult{
Err: fmt.Errorf("execute executor msg error: %v", err),
Err: fmt.Errorf("execute executor msg error: %v, msg index: %d", err, i),
}
}
}
Expand Down

0 comments on commit 41eda3b

Please sign in to comment.