Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Update x/evm/keeper/grpc_query.go
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Kunze Küllmer <[email protected]>
  • Loading branch information
crypto-facs and fedekunze authored Sep 4, 2021
1 parent 7e8a53a commit 81e06f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/evm/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ func (k Keeper) TraceTx(c context.Context, req *types.QueryTraceTxRequest) (*typ
txContext := core.NewEVMTxContext(coreMessage)
// Constuct the JavaScript tracer to execute with
if tracer, err = tracers.New(req.TraceConfig.Tracer, txContext); err != nil {
return nil, err
return nil, status.Error(codes.Internal, err.Error())
}

// Handle timeouts and RPC cancellations
Expand Down

0 comments on commit 81e06f4

Please sign in to comment.