add get_version_map to ape-vyper plugin
See original GitHub issueOverview
cls.compiler_manager.registered_compilers['.vy'].get_version_map(source_paths)
doesn’t work on vyper because vyper plugin doesn’t have get_version_map()
- What you are trying to do get version map from vyper
- Why Ape’s current functionality is inadequate to address your goal doesn’t have version map for vyper
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.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sabotagebeats
get_version_map
is more of an implementation detail in the Solidity plugin for other features, that is why its not inape-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 toCompilerAPI
.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.
We should probably make
get_version_map
an API method if it isn’t already