Closed sabotagebeats closed 2 years ago
We should probably make get_version_map
an API method if it isn't already
We should probably make
get_version_map
an API method if it isn't already
get_version_map
works on solidity but it throws an error it doesn't exist in vyper
@sabotagebeats get_version_map
is more of an implementation detail in the Solidity plugin for other features, that is why its not in ape-vyper
. It is not part of the Compiler API so it is not expected to be implemented. However, you need this functionality, so there is an argument to add it to CompilerAPI
.
Otherwise, from a plugin perspective, all you need to do is create a JSON file in the build directory; it does not matter how you do it. It may look different from compiler to compiler.
Sprint 3 Feedback: Still in research and design
Not needed!
Overview
cls.compiler_manager.registered_compilers['.vy'].get_version_map(source_paths)
doesn't work on vyper because vyper plugin doesn't haveget_version_map()
Specification
Describe the syntax and semantics of how you would like to see this feature implemented. The more detailed the better!
Remember, your feature is much more likely to be included if it does not involve any breaking changes.
should be in the plugin
Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.