Expose tracks as a constant. (#12273)

* Expose tracks as a constant.

* Formatting
This commit is contained in:
Gavin Wood
2022-09-15 18:59:06 +01:00
committed by GitHub
parent a4ebb6d31c
commit c7e3ba09ab
3 changed files with 38 additions and 6 deletions
+1
View File
@@ -828,6 +828,7 @@ impl pallet_referenda::TracksInfo<Balance, BlockNumber> for TracksInfo {
}
}
}
pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber);
impl pallet_referenda::Config for Runtime {
type WeightInfo = pallet_referenda::weights::SubstrateWeight<Self>;