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

Testing of the machine readable language specification #3782

Open
jsproz opened this issue Feb 19, 2025 · 0 comments
Open

Testing of the machine readable language specification #3782

jsproz opened this issue Feb 19, 2025 · 0 comments
Assignees

Comments

@jsproz
Copy link
Contributor

jsproz commented Feb 19, 2025

Issue to be solved

The cadence-tool tool is capable of producing an output that is comparable with the Cadence interpreter's parser. This issue is for testing the specification against the 1600+ Cadence 1.0 file on MainNet.

Suggested Solution

The process needs to automatically produce both JSON outputs, filter the outputs, and compare them. It should report differences with enough information to reproduce the results manually.

  1. Add a simple command line tool to the Cadence parser that produces the necessary JSON output with no extra information.
  2. Create a script that generates both outputs, filters them using grep, compares them using diff, and produces a report.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant