Muharem Ismailov
|
11aabd352c
|
Kusama: approve/reject treasury prop by treasurer (#6354)
|
2022-12-01 12:22:37 +00:00 |
|
Gavin Wood
|
9a3cf4cd1f
|
Companion for #11649: Bound uses of Call (#5729)
* Fixes
* Clear out old weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Resolve merges
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Fix weight traits
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* polkadot runtime: Clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* rococo runtime: update pallet configs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Add preimage migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Add all migrations
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Democracy is not on Westend
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* [Migration] Refund stored multisig calls (#6075)
* Add Preimages to referenda config
Needed since Gov V2 just merged.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Update weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Add multisig migration to Westend+Rococo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Fix Executive syntax
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Bump Substrate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: parity-processbot <>
Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
|
2022-10-05 21:17:59 +00:00 |
|
Gavin Wood
|
5d2f81035f
|
Governance v2 (Kusama only) (#5205)
* First bits
* Create new origins
* Repot governance configs
* Tests for treasury spends
* Integrate treasury spend threshold origins
* Bump deps
* Add whitelist, configure treasury spend origins
* Add governance curves
* Enable curve's ceil to be configured
* Make compile
* Rest of new governance params
* Build fixes
* Fixes
* Fix warning
* Use new EnsureOrigin::try_successful_origin
* Some repotting
* Add files
* Ready for initial review
* Fixes
* Formatting
* Bump
* rename
* Derive MEL for Origin enum
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Add benchmarks
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
* Update Cargo.lock
* Update runtime/kusama/src/governance/origins.rs
Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
* allow root to demote and promote, fixing benchmarks
* fix whitelist origin benchmarks
* typo
* cargo update -p sp-io
* add second referenda instance to benchmarks
* allow root to act as a 9th dan in track
* feature flag it
* cargo update -p sp-io
* fix merge
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
* allow root to create auction
* Update mod.rs
* more origin fixes
* root isnt needed actually
* cargo update -p sp-io
* allow root to cancel slash
* initial stuff
* make copy data from kusama
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
* Update Cargo.lock
* commit new weight files
* more files
* use weight files
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
* Update Cargo.lock
* Update to latest master
* Formatting
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_ranked_collective
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_whitelist
* Rename Origin -> RuntimeOrigin
This was done in Substrate and is now needed here as well.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Tech Committee can promote to VI Dan
* Update runtime/kusama/src/governance/mod.rs
Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
* Formatting
* Update runtime/kusama/src/governance/fellowship.rs
Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
* Fixes
* Avoid updating extraneous deps
* Fix broken stuff
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
* Update runtime/kusama/src/governance/fellowship.rs
* Reorder EitherOf origins
Zero logic change to make the benchmarking work.
It uses the first successful origin which can only promote to rank 6.
By swapping the order we use Root which can always promote.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Revert param change and update doc
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
|
2022-10-03 18:33:46 +02:00 |
|
Sergej Sakac
|
937c4e76ae
|
Rename Origin (#6020)
* Rename Origin
* fmt
* fixes
* more fixes
* fix
* more fixing
* small fixes
* last touches
* update lockfile for {"substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: parity-processbot <>
|
2022-09-20 22:53:12 +00:00 |
|
Sergej Sakac
|
8ea6076fe5
|
Companion for #11981 (#5915)
* Companion for #11981
* more renaming
* fmt
* fixes
* add generic type
* Companion for #11831
* fix
* revert changes
* Delete rename-outer-enum.diff
* revert
* Update run_benches_for_runtime.sh
* rename type Call & type Event
* passing tests
* fmt
* small fixes
* commit
* fix
* fmt
* commit
* error fixes
* fix
* small fix in test
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* remove RuntimeCall from pallet_grandpa
* last fix
* commit
* rename
* merge fix
* update lockfile for {"substrate"}
* cargo +nightly fmt
* fix
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2022-09-12 23:03:47 +00:00 |
|
Shawn Tabrizi
|
1f0a1cc0e5
|
Governance 2 (Part 1, Non-Controversial Changes) (#5892)
* initial stuff
* make copy data from kusama
* Update runtime/kusama/src/governance/old.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update runtime/kusama/src/governance/mod.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
|
2022-08-16 20:33:09 +00:00 |
|