Skip to content

Commit

Permalink
feat: run supersim anvil nodes in automine
Browse files Browse the repository at this point in the history
  • Loading branch information
tremarkley committed Nov 15, 2024
1 parent d44032f commit 06724b8
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 06724b8

Please sign in to comment.