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.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go
index a59cb1fb8..ebac2047a 100644
--- a/cmd/evm/main.go
+++ b/cmd/evm/main.go
@@ -110,6 +110,11 @@ var (
Name: "nostack",
Usage: "disable stack output",
}
+ EVMInterpreterFlag = cli.StringFlag{
+ Name: "vm.evm",
+ Usage: "External EVM configuration (default = built-in interpreter)",
+ Value: "",
+ }
)
func init() {
@@ -133,6 +138,7 @@ func init() {
ReceiverFlag,
DisableMemoryFlag,
DisableStackFlag,
+ EVMInterpreterFlag,
}
app.Commands = []cli.Command{
compileCommand,