mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-05 22:48:36 +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{
|
Flags: slices.Concat([]cli.Flag{
|
||||||
DumpFlag,
|
DumpFlag,
|
||||||
HumanReadableFlag,
|
HumanReadableFlag,
|
||||||
NDJSONFlag,
|
|
||||||
RunFlag,
|
RunFlag,
|
||||||
WitnessCrossCheckFlag,
|
WitnessCrossCheckFlag,
|
||||||
FuzzFlag,
|
FuzzFlag,
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@ var engineTestCommand = &cli.Command{
|
||||||
Flags: slices.Concat([]cli.Flag{
|
Flags: slices.Concat([]cli.Flag{
|
||||||
DumpFlag,
|
DumpFlag,
|
||||||
HumanReadableFlag,
|
HumanReadableFlag,
|
||||||
NDJSONFlag,
|
|
||||||
RunFlag,
|
RunFlag,
|
||||||
FuzzFlag,
|
FuzzFlag,
|
||||||
WorkersFlag,
|
WorkersFlag,
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ var stateTestCommand = &cli.Command{
|
||||||
DumpFlag,
|
DumpFlag,
|
||||||
forkFlag,
|
forkFlag,
|
||||||
HumanReadableFlag,
|
HumanReadableFlag,
|
||||||
NDJSONFlag,
|
|
||||||
idxFlag,
|
idxFlag,
|
||||||
RunFlag,
|
RunFlag,
|
||||||
WorkersFlag,
|
WorkersFlag,
|
||||||
|
|
@ -77,9 +76,7 @@ func stateTestCmd(ctx *cli.Context) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if !ctx.Bool(NDJSONFlag.Name) {
|
report(ctx, results)
|
||||||
report(ctx, results)
|
|
||||||
}
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
// Otherwise, read filenames from stdin and execute back-to-back.
|
// Otherwise, read filenames from stdin and execute back-to-back.
|
||||||
|
|
@ -214,9 +211,6 @@ func runStateTest(ctx *cli.Context, fname string) ([]testResult, error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if ctx.Bool(NDJSONFlag.Name) {
|
|
||||||
reportNDJSON(*result)
|
|
||||||
}
|
|
||||||
results = append(results, *result)
|
results = append(results, *result)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue