Skip to content
Commit 902739f9 authored by Qinxuan Chen's avatar Qinxuan Chen Committed by GitHub
Browse files

Migrate `pallet-collective` to the new pallet attribute macro (#9115)



* Migrate pallet-collective to the new pallet attribute macro

Signed-off-by: default avatarkoushiro <[email protected]>

* Add migrations

Signed-off-by: default avatarkoushiro <[email protected]>

* some nits

Signed-off-by: default avatarkoushiro <[email protected]>

* fix some indent

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix

Signed-off-by: default avatarkoushiro <[email protected]>

* fmt

* fix migration

* fix migration

* fmt

* finally fix migration

* keep the storages public as they were

* Some nits

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix migration

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix migration and Add test

Signed-off-by: default avatarkoushiro <[email protected]>

* Some nits

Signed-off-by: default avatarkoushiro <[email protected]>

* improve test

Signed-off-by: default avatarkoushiro <[email protected]>

* improve test

Signed-off-by: default avatarkoushiro <[email protected]>

* Revert the changes of membership

Signed-off-by: default avatarkoushiro <[email protected]>

* Some nits

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix test

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix test

Signed-off-by: default avatarkoushiro <[email protected]>

* Some nits

Signed-off-by: default avatarkoushiro <[email protected]>

* don't assert that there is something at the old prefix in the pre-migrate

Signed-off-by: default avatarkoushiro <[email protected]>

* cargo fmt

Co-authored-by: default avatarthiolliere <[email protected]>
parent e4a8d600
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment