-
Notifications
You must be signed in to change notification settings - Fork 13
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
Create starlay_finance_milestone_1-2.md #3
Conversation
Changed to GitHub permalinks
@Chidasan Hey, have you incorporated any of the feedback, specially around testing, into Milestone 2? |
Hi, @HCastano , we have solved e2e test problem and will remove |
Hi, @HCastano We have implemented the feedback received. The e2e test issue has been resolved as @wolfwarrier14 mentioned in the previous comment, and we have also removed the usage of ZERO_ADDRESS in our codebase. Let us know if there are any more queries or if there's anything else you would like us to address |
@Chidasan cool, I'll do another review this week then. Sorry couldn't do it this week, will do Monday/Tuesday |
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.
Hey, so I reviewed your second submission. I'm still concered with the testing situation.
Right now the tests don't pass locally for me:
yarn test:single tests/Pool.spec.ts
...
Test Suites: 1 failed, 1 total
Tests: 44 failed, 44 total
Snapshots: 0 total
Time: 5.827 s, estimated 9 s
Ran all test suites matching /tests\/Pool.spec.ts/i.
Jest did not exit one second after the test run has completed.
'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
and
yarn test:single tests/Manager.spec.ts
...
Test Suites: 1 failed, 1 total
Tests: 5 failed, 5 total
Snapshots: 0 total
Time: 2.003 s, estimated 3 s
Ran all test suites matching /tests\/Manager.spec.ts/i.
Jest did not exit one second after the test run has completed.
'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I also don't see any workflow on GHA which makes use of the integration tests. I'd
consider this to be critical to this submission. Your testing setup is not that
complicated, these integration tests should be run (and should pass) on every PR.
Here's a few other points from my review:
- It doesn't look like any of the documentation on the docs.starlay.finance website has
been updated recently- Almost all the pages I checked say "Updated a year ago"
- I'd expect some documentation around how the liquidation process works since that's
functionality that was added in this milestone
- In the README it still says you're using
[email protected]
- This should be updated in the
README
- This should be updated in the
- There are still missing RustDocs on publc members, please try and make sure that all
that everything is documented - There's code in the codebase that's commented out, I'd keep the codebase clean of that
- It would be nice to have an ARCHITECTURE.md file
- This would be quite helpful to the auditors
- Not strictly required fro this milestone
Hi, @HCastano |
@wolfwarrier14 I ran the two suites of tests from the submission document ( Before I try and run these locally again can you please send me link to a CI job in which the test suites pass? |
@wolfwarrier14 any updates here? |
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.
Thanks for adding the testing suite to the CI! It's gonna make everyone's life easier going forward 😉
Two small nits:
- There are some warnings in your E2E tests, I'd fix those instead of living with them
- Still using a very old Rust nightly, I'd update soon (although I realize this may be a problem stemming from OpenBrush usage)
Milestone looks good to me though 💪
Thank you for your approval, @HCastano. Thank your for your understanding. |
@DoubleOTheven please review! |
Looks good, guys. Nice progress |
The payment sent! https://polkadot.subsquare.io/treasury/child-bounties/19_461 |
No description provided.