Conversation
|
@0xCaso Hey Matteo, if you're available, M3 is ready for your perusal! Some nice improvements have been made which will greatly improve user experience. |
|
Hi @decentration great, and thanks for the delivery! Actually I have a bit of backlog, but for sure I can work on it early next week. |
|
sounds good @0xCaso look forward! |
0xCaso
left a comment
There was a problem hiding this comment.
I started the evaluation :)
In the meantime, could you fix this minor thing in the delivery doc?
0xCaso
left a comment
There was a problem hiding this comment.
I'm testing the pallet, and I followed the tutorial article and the loom video (which was really clear, thanks!).
Btw, I'm trying to execute proposals that will success (transfer x < supersig balance) and not (>).
In every case, I got the same output, but I've seen in the video that actually you changed this (you can see the screenshots below: proposal 0 was successful, proposal 2 wasn't).
I'm using substrate-supersig-template (branch v0.9.28-new) and apps (branch page-supersig-apps-new).
I've just noticed that the specified branch of substrate-supersig-template has not been updated recently. Could this be the issue?
|
hey @0xCaso, great stuff i'm glad it was clear! Re: your above issue:
This shouldn't be an issue because the changes are in the Having said that, if you didn't recompile, and the transaction was not a success, then you would see nothing instead of seeing There is a chance that the balance you've sent is like 500 / 1_000_000_000_000 instead of 500. I think this is the most likely issue. Are you using the docker for p.s. if you could also share the proposal details that would help understand the issue. But to conclude its very unlikely it would output a false |
|
@0xCaso Yes it looks like you are on an older version of The result should display the above whereas your result only shows So yes you will need to |
|
Thanks for the fast response! Yes, the problem was that I didn't do |
|
Also, I'm trying to run error[E0308]: mismatched types
--> src/tests/approve_call.rs:113:8
|
113 | Ok(Ok(()))
| -- ^^^^^^ expected struct `hidden_include::dispatch::PostDispatchInfo`, found enum `Result`
| |
| arguments to this enum variant are incorrect
|
= note: expected struct `hidden_include::dispatch::PostDispatchInfo`
found enum `Result<(), _>`
note: tuple variant defined here
--> /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/result.rs:508:5
error[E0308]: mismatched types
--> src/tests/approve_call.rs:181:8
|
181 | Ok(Ok(()))
| -- ^^^^^^ expected struct `hidden_include::dispatch::PostDispatchInfo`, found enum `Result`
| |
| arguments to this enum variant are incorrect
|
= note: expected struct `hidden_include::dispatch::PostDispatchInfo`
found enum `Result<(), _>`
note: tuple variant defined here
--> /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/result.rs:508:5
error[E0599]: no variant or associated item named `InvalidNumberOfMembers` found for enum `pallet::Error` in the current scope
--> src/tests/create_supersig.rs:136:19
|
136 | Error::<Test>::InvalidNumberOfMembers
| ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `pallet::Error<mock::Test>`
|
::: src/lib.rs:202:5
|
202 | pub enum Error<T> {
| ----------------- variant or associated item `InvalidNumberOfMembers` not found for this enum
error[E0599]: no variant or associated item named `InvalidNumberOfMembers` found for enum `pallet::Error` in the current scope
--> src/tests/leave_supersig.rs:93:19
|
93 | Error::<Test>::InvalidNumberOfMembers
| ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `pallet::Error<mock::Test>`
|
::: src/lib.rs:202:5
|
202 | pub enum Error<T> {
| ----------------- variant or associated item `InvalidNumberOfMembers` not found for this enum
error[E0599]: no variant or associated item named `InvalidNumberOfMembers` found for enum `pallet::Error` in the current scope
--> src/tests/remove_members.rs:112:19
|
112 | Error::<Test>::InvalidNumberOfMembers
| ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `pallet::Error<mock::Test>`
|
::: src/lib.rs:202:5
|
202 | pub enum Error<T> {
| ----------------- variant or associated item `InvalidNumberOfMembers` not found for this enum |
|
@0xCaso ah yes, the tests were updated in the later version (0.9.37), i've now pulled them into 0.9.28, just fetch and git pull and try again, and you should have working tests. |
|
Great stuff, i hope it wasn't too painful of a review for you @0xCaso. The changes have been made with the correct branch name. |
0xCaso
left a comment
There was a problem hiding this comment.
Thanks! And no, it was straightforward ;)
|
We noticed that this is the last milestone of your project. Congratulations on completing your grant! |
|
Thanks again @decentration for the contribution and congrats! I've forwarded internally the invoice, the payment should happen within 14 days. |
|
Thank you @0xCaso pleasure to interact with you : ) |
|
hi @decentration we transferred the payment today |
Hey Rouven, thanks and received 👍 |





Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#959 < please fill this in with the PR number of your application.