diff options
author | Martin Holst Swende <martin@swende.se> | 2017-06-21 20:52:31 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-06-21 20:52:31 +0800 |
commit | 9a44e1035ed72eec121cf6fbe38761eea20e09c6 (patch) | |
tree | 17f5dbc5267d47bc88126bf23776c4a0b42fc348 /cmd/evm/main.go | |
parent | 9012863ad78bca17f768b83324be8a26ddb34657 (diff) | |
download | go-tangerine-9a44e1035ed72eec121cf6fbe38761eea20e09c6.tar go-tangerine-9a44e1035ed72eec121cf6fbe38761eea20e09c6.tar.gz go-tangerine-9a44e1035ed72eec121cf6fbe38761eea20e09c6.tar.bz2 go-tangerine-9a44e1035ed72eec121cf6fbe38761eea20e09c6.tar.lz go-tangerine-9a44e1035ed72eec121cf6fbe38761eea20e09c6.tar.xz go-tangerine-9a44e1035ed72eec121cf6fbe38761eea20e09c6.tar.zst go-tangerine-9a44e1035ed72eec121cf6fbe38761eea20e09c6.zip |
cmd/evm, core/vm: add --nomemory, --nostack to evm (#14617)
Diffstat (limited to 'cmd/evm/main.go')
-rw-r--r-- | cmd/evm/main.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go index 48a1b92cb..1892ae3d3 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -102,6 +102,14 @@ var ( Name: "sender", Usage: "The transaction origin", } + DisableMemoryFlag = cli.BoolFlag{ + Name: "nomemory", + Usage: "disable memory output", + } + DisableStackFlag = cli.BoolFlag{ + Name: "nostack", + Usage: "disable stack output", + } ) func init() { @@ -123,6 +131,8 @@ func init() { GenesisFlag, MachineFlag, SenderFlag, + DisableMemoryFlag, + DisableStackFlag, } app.Commands = []cli.Command{ compileCommand, |