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

Added --foundry flag to seer evm generate #13

Merged
merged 6 commits into from
Feb 17, 2024
Merged

Added --foundry flag to seer evm generate #13

merged 6 commits into from
Feb 17, 2024

Conversation

zomglings
Copy link
Contributor

When a user passes this argument, the ABI and bytecode for the code generate are automatically populated from the Foundry build artifacts at the location that this argument points to.

Example:

seer evm generate ... --foundry ~/moonstream-to/fullcount.xyz/out/Fullcount.sol/Fullcount.json ...

This PR also has seer evm generate add a header comment that explains how the code was generated, and with which version of seer.

Resolves #10

Also "seer evm generate" now puts a header comment at the top of the
code it generates, explaining how it was generated.
Ran into an issue with this and overloaded functions on a contract,
which aliases solve.
Copy link
Contributor

@Andrei-Dolgolev Andrei-Dolgolev left a comment

Choose a reason for hiding this comment

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

Lgtm

@zomglings zomglings merged commit 2e5a4eb into main Feb 17, 2024
1 check passed
@zomglings zomglings deleted the evm-foundry branch February 17, 2024 16:44
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.

--foundry argument to seer evm generate which autopopulates --abi and --bytecode
2 participants