3b7a8c75bb
Adding try_state hook for Tips pallet ( #1871 )
...
Part of https://github.com/paritytech/polkadot-sdk/issues/239 .
Invariant
1. The number of entries in `Tips` should be equal to `Reasons`.
2. If `OpenTip.finders_fee` is true, then `OpenTip.deposit` should be
greater than zero.
3. Reasons exists for each Tip[`OpenTip.reason`], implying equal length
of storage.
polkadot address: 12zsKEDVcHpKEWb99iFt3xrTCQQXZMu477nJQsTBBrof5k2h
---------
Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2024-01-20 10:51:25 +01:00
Doordashcon and command-bot
9dd18bbd92
Remove deprecated old weight items ( #14706 )
...
* remove old weights frame-support
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: command-bot <>
2023-08-09 09:41:11 +00:00
Doordashcon and parity-processbot
ff64dddea8
Substrate Companion ( #2514 )
...
* pallet-sudo-weightinfo
* revert
* s
* runtime-benchmarks
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-11 16:50:46 +00:00
Doordashcon and parity-processbot
df7c5b3ecc
Substrate Companion ( #7118 )
...
* sudo benchmarks
* cargo fmt
* sub weights
* Update Cargo.lock
* NC.l
* undo
* cargo fmt
* update sudo weights
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-11 16:13:29 +00:00
4795c29e9c
Benchmark pallet sudo ( #13880 )
...
* set_key
* v2
* update runtime
* cargo fmt
* remove commenting
* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_sudo
* impl weights
* sudo & sudo_as
* where
* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_sudo
* update weights
* cargo fmt
* Update Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-05-11 13:28:46 +00:00
35a89957ca
permissionless bond_extra in nomination pools ( #12608 )
...
* create enum
* logic check
* add benchmarks
* -enum
* update
* bond extra other
* update
* update
* update
* cargo fmt
* Permissioned
* update
* cargo fmt
* update
* update index
* doc update
Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com >
* doc update
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* cargo fmt
* bond_extra auto compound
* bond_extra_other
* Apply suggestions from code review
* Fixes from kian
* updates docs & test
* Update frame/nomination-pools/src/lib.rs
* Update frame/nomination-pools/src/lib.rs
* Update frame/nomination-pools/src/lib.rs
* Update frame/nomination-pools/src/lib.rs
* Update frame/nomination-pools/src/lib.rs
* Update frame/nomination-pools/src/tests.rs
* Update frame/nomination-pools/src/lib.rs
* Update frame/nomination-pools/src/tests.rs
* Update frame/nomination-pools/src/tests.rs
* Update frame/nomination-pools/src/tests.rs
* Update frame/nomination-pools/src/tests.rs
* Update frame/nomination-pools/src/tests.rs
* Update frame/nomination-pools/src/lib.rs
* Update frame/nomination-pools/src/tests.rs
* fixes + fmt
* expand ClaimPermissions + add benchmarks
* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nomination_pools
* tidy up claim payout benches
* fix
* + test: claim_payout_other_works
* comments, rename to set_claim_permission
* fix comment
* remove ClaimPermission on leave pool
* fix test
* ".git/.scripts/commands/fmt/fmt.sh"
* + test for ClaimPermissions::remove()
* impl can_bond_extra & can_claim_payout
---------
Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Ross Bulat <ross@parity.io >
2023-02-22 12:17:11 +00:00
Doordashcon
a29624ab83
nomination-pools: allow pool-ids to be reused ( #12407 )
...
* initial
* logic check
* do_create
* cargo fmt
* fixes
* ensure_signed
* update
* cargo fmt
* remove unused import
2022-10-29 14:57:16 +00:00
Doordashcon and Oliver Tale-Yazdi
d46f6f0d34
Replace T::AccountId with <T::Lookup as StaticLookup>::Source ( #11670 )
...
* initial
* update
* update
* update
* cargo fmt
* update
* update benchmarks
* AccountIdLookupOf<T>
* cargo fmt
* fix conflits
* cargo fmt
* update
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-18 09:30:46 +00:00
Doordashcon and Shawn Tabrizi
7d2ecc8995
make pallet-tips & pallet-bounties instantiable ( #11473 )
...
* make pallet-tips & pallet-bounties instantiable
* update test
* add default instance
* update
* cargo fmt
* update
* update
* update
* update
* fix merge
* fix tests
* bounties benchmarking instantiable
* fix benchmarks
* make tips benchmarks instantible
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-23 04:18:40 +00:00