diff options
author | chriseth <chris@ethereum.org> | 2018-02-22 06:45:08 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-03-02 00:19:34 +0800 |
commit | 85785710e6182a5abb68e5339f052b4a451d086e (patch) | |
tree | 9fa8775af04ed78a0f3aedb5e2f7aeee9e2e2860 /libsolidity/interface/CompilerStack.cpp | |
parent | 5ab4a1ae7819004415293bf72a86824beb43cd51 (diff) | |
download | dexon-solidity-85785710e6182a5abb68e5339f052b4a451d086e.tar.gz dexon-solidity-85785710e6182a5abb68e5339f052b4a451d086e.tar.zst dexon-solidity-85785710e6182a5abb68e5339f052b4a451d086e.zip |
Store EVM version in settings.
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r-- | libsolidity/interface/CompilerStack.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp index 7bc31c17..51dcf6f4 100644 --- a/libsolidity/interface/CompilerStack.cpp +++ b/libsolidity/interface/CompilerStack.cpp @@ -845,6 +845,7 @@ string CompilerStack::createMetadata(Contract const& _contract) const } meta["settings"]["optimizer"]["enabled"] = m_optimize; meta["settings"]["optimizer"]["runs"] = m_optimizeRuns; + meta["settings"]["evmVersion"] = m_evmVersion.name(); meta["settings"]["compilationTarget"][_contract.contract->sourceUnitName()] = _contract.contract->annotation().canonicalName; |