-
Notifications
You must be signed in to change notification settings - Fork 5
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 Matchstick Tests #56
base: develop
Are you sure you want to change the base?
Conversation
…ameter to prevent build error
…aph into settleCall2
Added missing information about creating subgraph.yaml file before running the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Now just need to fix the issue running the tests. Are you doing it in this PR?
Yes sir! I'll let you know as soon as it's done. ;) |
Already fixed and ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is still missing, the tests are failing.
Just pulled the latest:
Even after running yarn codegen
the test fails:
If I try to build I get a similar error:
One more thing that I noticed, the same generateConfigs
command is used for all networks, although it's hardcoded to mainnet.
Wouldn't that be a problem for GC for example?
… tests just after cloning
yes, the error was there. I needed to use the gc config and run the codegen command before running the tests. I already had those files generated, that's why I didn't face that error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Got all tests running and passing locally 👍
This PR adds matchstick tests.
The documentation about this is included on a tests.md file and linked on the readme file.
As explained there are 3 types of tests: