Skip to content

Commit

Permalink
Merge pull request #268 from ethereum-optimism/harry/enable_automine
Browse files Browse the repository at this point in the history
feat: use `pending` tag for `debug_traceCall`
  • Loading branch information
tremarkley authored Nov 15, 2024
2 parents d44032f + 06724b8 commit dfd9355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anvil/anvil.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func (a *Anvil) SimulatedLogs(ctx context.Context, tx *types.Transaction) ([]typ

txArgs := txArgs{From: from, To: tx.To(), Gas: hexutil.Uint64(tx.Gas()), GasPrice: (*hexutil.Big)(tx.GasPrice()), Data: tx.Data(), Value: (*hexutil.Big)(tx.Value())}
result := callFrame{}
if err := a.rpcClient.CallContext(ctx, &result, "debug_traceCall", txArgs, "latest", logTracerParams); err != nil {
if err := a.rpcClient.CallContext(ctx, &result, "debug_traceCall", txArgs, "pending", logTracerParams); err != nil {
return nil, err
}

Expand Down

0 comments on commit dfd9355

Please sign in to comment.