From 06724b8ccd72fc9f2507838c5cda97ef478fd029 Mon Sep 17 00:00:00 2001 From: tre Date: Thu, 14 Nov 2024 14:19:33 -0800 Subject: [PATCH] feat: run supersim anvil nodes in automine --- anvil/anvil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anvil/anvil.go b/anvil/anvil.go index 24208772..d17ebd21 100644 --- a/anvil/anvil.go +++ b/anvil/anvil.go @@ -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 }