Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Migrate pallet-collective to the new pallet attribute macro #9115

Merged
41 commits merged into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
27bf26f
Migrate pallet-collective to the new pallet attribute macro
koushiro Jun 15, 2021
447f06e
Add migrations
koushiro Jun 16, 2021
10228f3
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Jun 24, 2021
09a239a
some nits
koushiro Jun 24, 2021
accb729
fix some indent
koushiro Jun 24, 2021
80875d6
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Jul 21, 2021
d5fec24
Fix
koushiro Jul 21, 2021
d703f39
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Jul 22, 2021
40cff0a
Fix
koushiro Jul 22, 2021
807542a
fmt
gui1117 Jul 30, 2021
4d1cee6
Merge remote-tracking branch 'origin/master' into 9115
gui1117 Jul 30, 2021
9f52370
Merge remote-tracking branch 'origin/master' into 9115
gui1117 Aug 2, 2021
83562f7
fix migration
gui1117 Aug 2, 2021
058d6e9
Merge remote-tracking branch 'origin/master' into 9115
gui1117 Aug 2, 2021
9ee83d7
fix migration
gui1117 Aug 3, 2021
551bb13
fmt
gui1117 Aug 3, 2021
cb8c19b
finally fix migration
gui1117 Aug 3, 2021
8dd47ad
keep the storages public as they were
gui1117 Aug 3, 2021
71d7105
Some nits
koushiro Aug 13, 2021
ad9d6ed
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Aug 13, 2021
76ca7cb
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Aug 18, 2021
e9dd917
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Aug 20, 2021
a655730
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Aug 30, 2021
3f1734d
Fix migration
koushiro Aug 30, 2021
1e43329
Fix migration and Add test
koushiro Sep 7, 2021
abb73c9
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Sep 7, 2021
85d7b4e
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Sep 10, 2021
cc7c49d
Some nits
koushiro Sep 10, 2021
bb83041
improve test
koushiro Sep 10, 2021
d4421cd
improve test
koushiro Sep 10, 2021
e3fac0e
Revert the changes of membership
koushiro Sep 10, 2021
0d6164d
Some nits
koushiro Sep 10, 2021
9a6de24
Fix test
koushiro Sep 10, 2021
fffdbfa
Fix test
koushiro Sep 10, 2021
56ba84c
Some nits
koushiro Sep 10, 2021
6f069b1
don't assert that there is something at the old prefix in the pre-mig…
koushiro Sep 10, 2021
eee5b98
Merge remote-tracking branch 'upstream/master' into migrate-pallet-co…
koushiro Sep 10, 2021
31a7f94
Merge remote-tracking branch 'origin/master' into 9115
gui1117 Sep 13, 2021
225e718
cargo fmt
gui1117 Sep 13, 2021
b0930ad
Merge remote-tracking branch 'origin/master' into 9115
gui1117 Sep 14, 2021
068a59e
Merge remote-tracking branch 'origin/master' into 9115
gui1117 Sep 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions frame/collective/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [
"derive",
] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
log = { version = "0.4.14", default-features = false }

sp-core = { version = "4.0.0-dev", default-features = false, path = "../../primitives/core" }
sp-std = { version = "4.0.0-dev", default-features = false, path = "../../primitives/std" }
sp-io = { version = "4.0.0-dev", default-features = false, path = "../../primitives/io" }
sp-runtime = { version = "4.0.0-dev", default-features = false, path = "../../primitives/runtime" }
sp-std = { version = "4.0.0-dev", default-features = false, path = "../../primitives/std" }

frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../benchmarking", optional = true }
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
log = { version = "0.4.14", default-features = false }

[dev-dependencies]
hex-literal = "0.3.1"
Expand All @@ -32,17 +32,19 @@ hex-literal = "0.3.1"
default = ["std"]
std = [
"codec/std",
"log/std",
"sp-core/std",
"sp-std/std",
"sp-io/std",
"frame-support/std",
"sp-runtime/std",
"sp-std/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"log/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
Loading