mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Store EVM version in settings.
This commit is contained in:
parent
5ab4a1ae78
commit
85785710e6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user