Kian Paimani

Results 93 issues of Kian Paimani

The challenge at hand is t identify if `pallet-balances` is in a runtime or not. My elementary way of solving this problem is testing something like `api.query.balances !== undefined`. This...

<support>

Just thinking out loud: re-writing all of this HIGHLY risky logic every time seems very dangerous to me. Ideally, we would have a base proxy builder that constructs the default...

I6-refactor ๐Ÿงน
I8-enhancement ๐ŸŽ

Currently, all of the types generated via this macro are nested. For example, you have: ```rust type AllPallets = (System, (Balances, Babe)); ``` As far as I know, the main...

A0-pleasereview
B3-apinoteworthy
B7-runtimenoteworthy
C1-low ๐Ÿ“Œ
D5-nicetohaveaudit โš ๏ธ

This PR is itself pretty insubstantial, there is not real code change other than adding a fuzz-style test for nomination pools. Some notes about the approach: For now, I mainly...

A0-pleasereview
B0-silent
C1-low ๐Ÿ“Œ
D2-notlive ๐Ÿ’ค

# Overview The current signed phase of the election-provider-multi-phase pallet has a major flaw: There is a single transaction ([`submit`](https://paritytech.github.io/substrate/master/pallet_election_provider_multi_phase/pallet/enum.Call.html#variant.submit)), quite heavy, that submits both the _solution score_ and the...

I8-enhancement ๐ŸŽ
Q5-substantial

For numerous reasons, we might have nominators who don't end up in the exposure, because of resource limits of the offchain solution submitted to the chain. So the setting is:...

I8-enhancement ๐ŸŽ
P7-nicetohave
Z0-unconfirmed

Currently, pool ids only ever increase. While generally we suggest using a `MaxPools` limits, this allows one to spam the pool ids and consume a lot of them by creating...

I8-enhancement ๐ŸŽ

we should really just rename the `Call` generated by the construct_runtime! to `RuntimeCall`. _Originally posted by @kianenigma in https://github.com/paritytech/substrate/pull/8458#discussion_r602125898_ --- See confusions such as https://substrate.stackexchange.com/questions/3360/using-scheduler-pallet-to-schedule-contract-pallet-call

I6-refactor ๐Ÿงน
Z1-mentor
Q2-easy

We deployed this last year, and it is a great security addition, but we need a better way to update it. Currently I mostly do it manually, every quarter or...

U2-some_time_soon

Would be very helpful for testing if there was a way for `root` e.g. sudo in a dev-chain to create an `offence`. This would help you test all sorts of...

Z1-mentor
Q3-medium