diff options
author | Paweł Bylica <chfast@gmail.com> | 2019-01-16 18:43:41 +0800 |
---|---|---|
committer | Guillaume Ballet <gballet@gmail.com> | 2019-01-16 18:43:41 +0800 |
commit | d37f987639c7a3a8af3a81989d5152a3fca11c97 (patch) | |
tree | b450ceb9e63bc1a34089d385aaf2f22a41a45080 /cmd/evm/main.go | |
parent | f50d66f2d8e31b5e9920f8f9fb51ff7a6b487631 (diff) | |
download | go-tangerine-d37f987639c7a3a8af3a81989d5152a3fca11c97.tar go-tangerine-d37f987639c7a3a8af3a81989d5152a3fca11c97.tar.gz go-tangerine-d37f987639c7a3a8af3a81989d5152a3fca11c97.tar.bz2 go-tangerine-d37f987639c7a3a8af3a81989d5152a3fca11c97.tar.lz go-tangerine-d37f987639c7a3a8af3a81989d5152a3fca11c97.tar.xz go-tangerine-d37f987639c7a3a8af3a81989d5152a3fca11c97.tar.zst go-tangerine-d37f987639c7a3a8af3a81989d5152a3fca11c97.zip |
cmd/evm: Add --vm.evm flag to support EVMC (#18457)
Diffstat (limited to 'cmd/evm/main.go')
-rw-r--r-- | cmd/evm/main.go | 6 |
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, |