diff --git a/eth/tracers/internal/tracetest/README.md b/eth/tracers/internal/tracetest/README.md index 8c3d5d275f..cd1be91592 100644 --- a/eth/tracers/internal/tracetest/README.md +++ b/eth/tracers/internal/tracetest/README.md @@ -7,4 +7,12 @@ In the Geth console do: let tx = '0x...' loadScript('makeTest.js') makeTest(tx, { tracer: 'callTracer' }) -``` \ No newline at end of file +``` + +## Updating the existing call tracer test cases +In case a change is introduced to the output/format of the call tracer, you may use the following invocation to update the expected output with the current output: +```bash +UPDATE_TESTS=1 go test ./eth/tracers/internal/tracetest +``` + +This will blindly "accept" the current trace response as the correct one, so manual inspection of the updated outputs is advised to ensure they are as expected.