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

Generate a solc_json output #140

Open
stas opened this issue Dec 21, 2024 · 2 comments
Open

Generate a solc_json output #140

stas opened this issue Dec 21, 2024 · 2 comments

Comments

@stas
Copy link

stas commented Dec 21, 2024

Overview

Provide a simple overview of what you wish to see added. Please include:

Trying to verify manually a deployed contract, but can't generate a vyper -f solc_json output.

Manually calling the vyper doesn't work because I have dependencies installed via ape pm.

Specification

Ideally we get the solc_json output as a JSON file with the contract name somewhere in the .build folder.

Copy link

linear bot commented Dec 21, 2024

@stas
Copy link
Author

stas commented Dec 21, 2024

Current work-around is to manually call the vyper with the dependency paths. Eg.

/root/.vvm/vyper-0.4.0 -f solc_json -o lp1.json --path=/root/.ape/packages/projects/pcaversaccio_snekmate/0_1_0/src/ --evm-version cancun contracts/LpSugar.vy

Full context here:
https://github.com/velodrome-finance/sugar/pull/102/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557

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

No branches or pull requests

1 participant