aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/evm/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/evm/main.go')
-rw-r--r--cmd/evm/main.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go
index e85d31d03..48a1b92cb 100644
--- a/cmd/evm/main.go
+++ b/cmd/evm/main.go
@@ -90,6 +90,18 @@ var (
Name: "nogasmetering",
Usage: "disable gas metering",
}
+ GenesisFlag = cli.StringFlag{
+ Name: "prestate",
+ Usage: "JSON file with prestate (genesis) config",
+ }
+ MachineFlag = cli.BoolFlag{
+ Name: "json",
+ Usage: "output trace logs in machine readable format (json)",
+ }
+ SenderFlag = cli.StringFlag{
+ Name: "sender",
+ Usage: "The transaction origin",
+ }
)
func init() {
@@ -108,6 +120,9 @@ func init() {
MemProfileFlag,
CPUProfileFlag,
StatDumpFlag,
+ GenesisFlag,
+ MachineFlag,
+ SenderFlag,
}
app.Commands = []cli.Command{
compileCommand,