aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-01-17 20:09:13 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-01-17 20:54:58 +0800
commit350c7e7e2c1bafbe8d543fc052aedad3e69ba5e1 (patch)
tree1b7c1e8439b60a2210dfa8695f173a23d02a1100 /libsolidity/interface/CompilerStack.cpp
parenta466f26c459c8df27b0b25e53b897461fdc8fd63 (diff)
downloaddexon-solidity-350c7e7e2c1bafbe8d543fc052aedad3e69ba5e1.tar.gz
dexon-solidity-350c7e7e2c1bafbe8d543fc052aedad3e69ba5e1.tar.zst
dexon-solidity-350c7e7e2c1bafbe8d543fc052aedad3e69ba5e1.zip
Store strict version number in metadata (exclude the platform)
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r--libsolidity/interface/CompilerStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp
index a31df584..08b21715 100644
--- a/libsolidity/interface/CompilerStack.cpp
+++ b/libsolidity/interface/CompilerStack.cpp
@@ -695,7 +695,7 @@ string CompilerStack::createOnChainMetadata(Contract const& _contract) const
Json::Value meta;
meta["version"] = 1;
meta["language"] = "Solidity";
- meta["compiler"]["version"] = VersionString;
+ meta["compiler"]["version"] = VersionStringStrict;
meta["sources"] = Json::objectValue;
for (auto const& s: m_sources)