Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: show snekmate working #51

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat: show snekmate working #51

wants to merge 2 commits into from

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Sep 24, 2024

What I did

  • Hacks in snekmate dependency
  • Update ERC contract to import from snemkate.
  • Some other testing related stuff during debugging

this pr is intended to demo the bugfix but also may be a template for actually implementing the feature here.

Requires: ApeWorX/ape-vyper#132

How I did it

How to verify it

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

"dependencies": [
{
"pypi": "snekmate",
"config_override": {"base_path": "src", "contracts_folder": "snekmate"},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So one goal of mine is to get Ape able to detect this config from projects like snekmate.
I am not 100% sure on how to do that yet. For now, may have to hardcode it in the hosted-compiler

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great goal for us, but keep in mind that likely remix may have a set of whitelisted dependencies here w.r.t. snekmate (maybe not whitelist the version, but how the object is formed otherwise)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants