Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
galxy25 committed Nov 28, 2023
1 parent f5eaf3a commit 3632253
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/evm/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,8 @@ func (k Keeper) TraceTx(c context.Context, req *types.QueryTraceTxRequest) (*typ
txConfig.TxHash = ethTx.Hash()
txConfig.TxIndex = uint(i)
// reset gas meter for each transaction
ctx = ctx.WithGasMeter(ethermint.NewInfiniteGasMeterWithLimit(msg.Gas()))
panic("levi")
ctx = ctx.WithGasMeter(ethermint.NewInfiniteGasMeterWithLimit(uint64(61134)))
rsp, err := k.ApplyMessageWithConfig(ctx, msg, types.NewNoOpTracer(), true, cfg, txConfig)
if err != nil {
continue
Expand Down

0 comments on commit 3632253

Please sign in to comment.