-
Notifications
You must be signed in to change notification settings - Fork 428
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
Remove Multisig
example contract
#1075
Conversation
You don't need to remove the whole example. You easy can use |
But I think we don't want people to use that either? Doesn't that explode the file sizes? |
|
@xgreenx so the other problem here is the use of |
I see. Yes, I think it should use |
@xgreenx So the main things as far as
We think that any other issues can be addressed in minor releases later. Out of curiosity, what issues do you deem as critical? I suspect #982, but anything else? |
Ported the multisig example. However, the off chain tests are failing with an error I don't comprehend. Maybe someone can assist me with debugging: #1078 |
Yes, #982 is critical because it doesn't allow to use of traits fully and no workaround exists. #1000 has a workaround, but it is related to #809 and I think that resolving it can change the API, so why it is also is critical. #900 requires additional follow-up change which affects selectors in trait. Did you clean up all stuff related to that? #906 |
On the surface this seems like something that we can add after the 3.0 release without breaking anything for users, but I don't have a lot of insight into this tbh.
Again, on the surface this looks like the API could be backwards compatible, but don't quote me on this.
I'm gonna defer to @cmichi here since he's been chatting with you in that issue
So a bunch of stuff was removed in #1036, but I think there might still be some more to clean up. Btw, we probably shouldn't be having this discussion here. @cmichi can you enable "Discussions" for the repo so we can move this conversation there? |
Closing in favour of #1078. |
This PR removes the
Multisig
example contract in preparation of the (temporary) removalof the
ink_storage::collections
crate.This example is the only one we have which makes use of the
ink_storage::{Vec, Stash}
data structures, which at the moment don't play nice with the non-caching data structures
which we want smart contract developers to use (see #1070 for a little bit of context).
This is a good example though, so once we re-work the
collections
we should bring itback.