mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
cmd/evm: remove --ndjson flag (not needed for consume direct)
This commit is contained in:
parent
2ca9720702
commit
c8fdb1d04b
3 changed files with 1 additions and 9 deletions
|
|
@ -42,7 +42,6 @@ var blockTestCommand = &cli.Command{
|
|||
Flags: slices.Concat([]cli.Flag{
|
||||
DumpFlag,
|
||||
HumanReadableFlag,
|
||||
NDJSONFlag,
|
||||
RunFlag,
|
||||
WitnessCrossCheckFlag,
|
||||
FuzzFlag,
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ var engineTestCommand = &cli.Command{
|
|||
Flags: slices.Concat([]cli.Flag{
|
||||
DumpFlag,
|
||||
HumanReadableFlag,
|
||||
NDJSONFlag,
|
||||
RunFlag,
|
||||
FuzzFlag,
|
||||
WorkersFlag,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue