Matteo Muraca

Results 9 issues of Matteo Muraca

In both StorageDoubleMap and StorageNMap is possible to delete or iterate on entries over a certain prefix, but there's no easy and optimized way of checking if at least one...

A0-pleasereview
B3-apinoteworthy
C1-low 📌
D5-nicetohaveaudit ⚠️

This PR adds support for the Polkadot-SDK monorepo by introducing the flag `--sdk` in both patch and update commands.

Closes paritytech/polkadot-sdk#167 - `Proposals` was removed - `ProposalOf` is now a `CountedStorageMap` to handle the `MaxProposals` bound - `ProposalOf` now stores an encoded `Proposal` in a `BoundedVec` that contains at...

resolves paritytech/polkadot-sdk#223 I added the deprecation message, removed every usage of `#[pallet::getter]` and refactored everything accordingly. Since a few getters for non-public maps were used in runtime or other situations,...

A0-please_review
C1-low
D3-trivial 🧸
D2-breaksapi
B1-note_worthy
F3-breaks_API
T1-runtime

https://github.com/substrate-developer-hub/substrate-node-template/blob/41ad4a6c9d712ac4b6e16e79a8b3837af8234f46/pallets/template/src/weights.rs#L26 `frame-weight-template.hbs` is used to generate the `weights.rs` file here, but you can clearly see it's missing from the file tree, as it is only contained in the SDK repository....

It would be useful to have a Create Project Fragment helper like the one in Eclipse: ![jsp-fragment-hook-liferay-aspiresoftserv2](https://user-images.githubusercontent.com/56828990/138433013-7e18e39e-bbbd-40f9-8c2a-9e668baa843f.png) Then select the host bundle, the version, and the files to copy inside...

companion for [substrate#14585](https://github.com/paritytech/substrate/pull/14585)

companion for [Substrate #13365](https://github.com/paritytech/substrate/pull/13365/) @kianenigma @shawntabrizi

This issue tracks the removal of `pallet::getter` in all pallets, as per #223. The preferred syntax is `Key::::get()`. This approach avoids a huge PR and lots of merge conflicts, a...

I4-refactor
T2-pallets