From 827fa165c1d99937d0ac8d8047a4940d76ca084a Mon Sep 17 00:00:00 2001 From: Karl Bartel Date: Wed, 28 Aug 2024 15:17:24 +0200 Subject: [PATCH] Include tracerConfig in created tracing test When creating prestate tracer tests in diff mode, the diff mode flag has to be included in the resulting test JSON. This change makes sure the flag is included in the JSON when it is passed to makeTest. --- eth/tracers/internal/tracetest/makeTest.js | 1 + 1 file changed, 1 insertion(+) diff --git a/eth/tracers/internal/tracetest/makeTest.js b/eth/tracers/internal/tracetest/makeTest.js index 3ad7a5df73..7a50748930 100644 --- a/eth/tracers/internal/tracetest/makeTest.js +++ b/eth/tracers/internal/tracetest/makeTest.js @@ -49,5 +49,6 @@ var makeTest = function(tx, traceConfig) { context: context, input: eth.getRawTransaction(tx), result: result, + tracerConfig: traceConfig.tracerConfig, }, null, 2)); }