cmd/evm: remove --ndjson flag (not needed for consume direct)

This commit is contained in:
spencer-tb 2026-04-05 21:10:22 +01:00
parent 2ca9720702
commit c8fdb1d04b
3 changed files with 1 additions and 9 deletions

View file

@ -42,7 +42,6 @@ var blockTestCommand = &cli.Command{
Flags: slices.Concat([]cli.Flag{
DumpFlag,
HumanReadableFlag,
NDJSONFlag,
RunFlag,
WitnessCrossCheckFlag,
FuzzFlag,

View file

@ -51,7 +51,6 @@ var engineTestCommand = &cli.Command{
Flags: slices.Concat([]cli.Flag{
DumpFlag,
HumanReadableFlag,
NDJSONFlag,
RunFlag,
FuzzFlag,
WorkersFlag,

View file

@ -56,7 +56,6 @@ var stateTestCommand = &cli.Command{
DumpFlag,
forkFlag,
HumanReadableFlag,
NDJSONFlag,
idxFlag,
RunFlag,
WorkersFlag,
@ -77,9 +76,7 @@ func stateTestCmd(ctx *cli.Context) error {
if err != nil {
return err
}
if !ctx.Bool(NDJSONFlag.Name) {
report(ctx, results)
}
report(ctx, results)
return nil
}
// Otherwise, read filenames from stdin and execute back-to-back.
@ -214,9 +211,6 @@ func runStateTest(ctx *cli.Context, fname string) ([]testResult, error) {
return
}
})
if ctx.Bool(NDJSONFlag.Name) {
reportNDJSON(*result)
}
results = append(results, *result)
}
}