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 authored and GitHub committed 2021-03-31 18:08:28 +00:00
1 parent d294e51214
commit 0e6481d01a
2 files changed
+126 -86

No files matched your search

+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;