Migrate pallet-indices to pallet! (#8465)

* tmp add upgrade file

* Migrate pallet-indices to `pallet!`

* Delete temp upgrade file

* Fix some migration errors

* Fix some warnings

* Add serde bound, explicit balance type

* Module -> Pallet
This commit is contained in:
Andrew Jones
2021-03-31 19:08:28 +01:00
committed by GitHub
parent d294e51214
commit 0e6481d01a
2 changed files with 126 additions and 86 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ use frame_system::RawOrigin;
use frame_benchmarking::{benchmarks, account, whitelisted_caller, impl_benchmark_test_suite};
use sp_runtime::traits::Bounded;
use crate::Module as Indices;
use crate::Pallet as Indices;
const SEED: u32 = 0;