-
Notifications
You must be signed in to change notification settings - Fork 23
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(cli): cannon diff
command
#1261
Conversation
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 56afd71. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
this command allows for comparing aspects of cannon state with things. for the time being, this PR focuses on comparing the cannon state contracts with the ones in a foundry project, highlighting any differences. notes: * its possible to filter contracts to compare and source files to compare using the provided options * exit code matches the nubmer of "differences" found, so only successful output is no diffs (usually what people are checkign for) * we could do something very similar to hardhat, but lets wait to see how the current impl works with stakeholders
Co-authored-by: Matías <mjlescano@users.noreply.github.com>
Closes https://linear.app/usecannon/issue/CAN-442/cannon-diff-command-for-validating-contracts-on-project-match-a
this command allows for comparing aspects of cannon state with things.
for the time being, this PR focuses on comparing the cannon state contracts with the ones in a foundry project, highlighting any differences.
notes: