Now the old solc will use either exact given binary from user by setting solc_binary_path
Can compile and get compilation result. However, the structure of ast object is too different, the current parser can't handle it
For example the contract mapping_write.sol
File "/solc_json_parser/parser.py", line 140, in symbols_to_ids_from_ast_v7
syms = [c['ast']['attributes']['exportedSymbols'] for c in ast.values()]
File "/solc_json_parser/parser.py", line 140, in <listcomp>
syms = [c['ast']['attributes']['exportedSymbols'] for c in ast.values()]
KeyError: 'attributes'
Now the old solc will use either exact given binary from user by setting
solc_binary_path
Can compile and get compilation result. However, the structure of ast object is too different, the current parser can't handle it For example the contractmapping_write.sol
Error of the parser in this branch when running :