We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6229697 + 5561ed0 commit f32d16bCopy full SHA for f32d16b
solc/wrapper.py
@@ -48,7 +48,8 @@ def solc_wrapper(solc_binary=None,
48
formal=None,
49
allow_paths=None,
50
standard_json=None,
51
- success_return_code=0):
+ success_return_code=0,
52
+ evm_version=None):
53
if solc_binary is None:
54
solc_binary = get_solc_binary_path()
55
@@ -149,6 +150,9 @@ def solc_wrapper(solc_binary=None,
149
150
# see Scanner class in Solidity source
151
stdin = force_bytes(stdin, 'utf8')
152
153
+ if evm_version:
154
+ command.extend(('--evm-version', evm_version))
155
+
156
proc = subprocess.Popen(command,
157
stdin=subprocess.PIPE,
158
stdout=subprocess.PIPE,
0 commit comments