-
Notifications
You must be signed in to change notification settings - Fork 526
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
Myriad Social Milestone 2 Deliverables Submission #1078
Conversation
Hey @gilangbh. Thanks for the delivery, but both the documentation doc and testing guide seem empty. Could you have a look? |
I'll have a look, give me a minute. |
@gilangbh, could you send some MYRIAr to 5DyWMh8kskJeHTTYsU4aWeqoNdtpMidikk4kBeGmhooqkP81 for testing? |
@agustinustheo will send you some soon |
Co-authored-by: Sebastian Müller <[email protected]>
Hey @semuelle happy new year. I've sent you 100,000 MYRIA. |
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 the tokens, @agustinustheo & @gilangbh. I was able to test everything on the testnet, including the tipping feature. I just have one request: according to deliverable 0c in the grant agreement, "Core functions will be fully covered by comprehensive unit tests to ensure functionality and robustness. In the guide, we will describe how to run these tests." Can you point me to these tests and how to run them?
Hi @semuelle we've added tests to the core functions of the app. Since the Myriad UI directly connects to the blockchain for all the features mentioned above, you can run the tests by running the tests here: https://github.com/myriadsocial/myriad-node-parachain?tab=readme-ov-file#guide-to-testing-the-project-using-docker All the features mentioned in the current milestone are tested, and it's all covered here: https://github.com/myriadsocial/myriad-node-parachain/blob/main/pallets/tipping/src/tests.rs We directly test the blockchain pallet instead of the Myriad UI, since testing the frontend application will be tedious because a slight change will result in the breaking of the test thus making it useless for us. So the scope of our testing is done on the blockchain. I've updated the Milestone 2 testing guide to include a section about the automated unit tests: https://github.com/myriadsocial/myriad-web/blob/main/docs/milestone-2-testing-guide.md#automated-tests |
@agustinustheo, thanks for the update. Unfortunately, both error[E0603]: enum `DispatchError` is private
--> pallets/tipping/src/tests.rs:2:55
|
2 | use frame_support::{assert_noop, assert_ok, dispatch::DispatchError};
| ^^^^^^^^^^^^^ private enum
| Could you verify that the current version compiles on your end and let me know what toolchain and Rust versions you are using? |
Okay, let me check. |
Hi @semuelle apologies it took a while, I updated a couple of things so the tests can run in the most recent nightly version 1.77.0-nightly. Here is the commit where I did that you can see the changes there. I've run the tests again, and here are the results:
Please review again at your latest convinience! |
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 the update, @agustinustheo. I can confirm that compilation and the tests are working now. Your milestone is hereby accepted. I would suggest to clean up the code a bit, as cargo
shows a lot of warnings still. See my evaluation notes here.
🪙 Please fill out the invoice form in order to initiate the payment process. Thank you! |
Thank you @semuelle ! |
Hey @gilangbh & @agustinustheo, the payment address on your invoice doesn't match the one in the grant agreement. Could you update either one to match the other? |
Hi, I will update the one in the grant agreement as soon as i get home. Cheers.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Sebastian Müller ***@***.***>
Sent: Friday, January 19, 2024 6:41:35 PM
To: w3f/Grant-Milestone-Delivery ***@***.***>
Cc: Gilang Bhagasakara ***@***.***>; Mention ***@***.***>
Subject: Re: [w3f/Grant-Milestone-Delivery] Myriad Social Milestone 2 Deliverables Submission (PR #1078)
Hey @gilangbh<https://github.com/gilangbh> & @agustinustheo<https://github.com/agustinustheo>, the payment address on your invoice doesn't match the one in the grant agreement. Could you update either one to match the other?
—
Reply to this email directly, view it on GitHub<#1078 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFAYCIFM423SVC6BUJYK2HTYPJLW7AVCNFSM6AAAAABAMGHS3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBQGI2TSNBZGI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
hi @gilangbh we sent the payment today |
Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#1795 < please fill this in with the PR number of your application.