Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add get_version_map to ape-vyper plugin

See original GitHub issue


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


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


Include links to any open issues that must be resolved before this feature can be implemented.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

unparalleled-jscommented, Jul 1, 2022

@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.

unparalleled-jscommented, Jul 1, 2022

We should probably make get_version_map an API method if it isn’t already

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found