-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
raw AST is missing from output (only shows ape-adjusted AST) #1590
Comments
hmm, it seems like there are many bugs in |
It does need some attention at the moment, however this specific issue should be easy to fix if you want to give it a shot @Aviksaikat Will help add Ape support to Slither |
I mentioned it on Telegram but I think the ASTs are also manipulated internally by Ape and that output is what's provided. At least for slither, we need the original output of vyper/ solc |
I will look into this as soon as the remove functionality implementation is done. Just bear with me. |
No worries! Thank you for working on all of this, we appreciate your contributions! |
Slither is going to have to be integrated directly with the ape-vyper and ape-solidity plugins |
Thus far, compiler info has only been needed for publishing and not local development, so it is included in the
|
We generally invoke commands like |
I think we can build in these as local links to the files in the If you just read and resolve the links (no dependency on Ape, just use Edit. @antazoey to be clearer in
|
Is ethpmtypes ok with links? We have to update there. But i like this plan! |
Related, pcamp and ast stuff should be links as well to keep the size down |
There is a method to resolve links in |
Good point, they can be additional local links within the |
since they are optional, we could exclude them only from the final build i suppose |
fixed in #1746 |
Should I open a separate issue for #1590 (comment) or is this also fixed? |
ape compile
does not contain compiler info
Environment information
ape
and plugin versions:$ ape --version 0.6.15 # I also tried 0.6.16.dev9+gabe4e96b $ ape plugins list Installed Plugins: solidity 0.6.7 hardhat 0.6.12 vyper 0.6.9
ape-config.yaml
(NOTE: do not post anything private like RPC urls or secrets!):$ cat ape-config.yaml name: yearn-v3 plugins: - name: solidity version: 0.6.7 - name: vyper version: 0.6.9 - name: hardhat version: 0.6.12 default_ecosystem: ethereum dependencies: - name: openzeppelin github: OpenZeppelin/openzeppelin-contracts version: 4.7.3 solidity: import_remapping: - "@openzeppelin/contracts=openzeppelin/v4.7.3" ethereum: local: default_provider: hardhat
What went wrong?
I am trying to parse the build manifest for ape support in https://github.com/crytic/crytic-compile, but the compiler info is missing
Reproduce with:
With python:
This field is missing https://github.com/ApeWorX/ethpm-types/blob/dffcb6b2fe17f858c95d07499aafe1d66e939dfa/ethpm_types/manifest.py#L124
How can it be fixed?
I think it may need to be added here
ape/src/ape/managers/project/types.py
Line 177 in abe4e96
The text was updated successfully, but these errors were encountered: